Home
last modified time | relevance | path

Searched hist:c8d6cc61 (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsection.hppc8d6cc61 Wed Aug 19 09:47:19 CDT 2020 Harisuddin Mohamed Isa <harisuddin@gmail.com> PEL: SRC Details Python parser support

This change enables the calling of python3 parsers for SRC details.
Modules will be searched under the namespace "srcparsers" from python3
sys.path directories (including the current directory).

Example:

/usr/lib/python3.8/site-packages/srcparsers/bsrc/bsrc.py

or

./srcparsers/bsrc/bsrc.py

where

b = Creator Subsystem ID for Hostboot in ASCII lowercase

The parsers will need to provide a function called "parseSRCToJson" with
input parameters:

1. (str) ASCII string (Hex Word 1)
2. (str) Hex Word 2
3. (str) Hex Word 3
4. (str) Hex Word 4
5. (str) Hex Word 5
6. (str) Hex Word 6
7. (str) Hex Word 7
8. (str) Hex Word 8
9. (str) Hex Word 9

The return value must be a valid JSON string.

Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com>
Change-Id: I2cb0248e5ee2803869eab28d3232b414e2d743af
H A Dsrc.hppc8d6cc61 Wed Aug 19 09:47:19 CDT 2020 Harisuddin Mohamed Isa <harisuddin@gmail.com> PEL: SRC Details Python parser support

This change enables the calling of python3 parsers for SRC details.
Modules will be searched under the namespace "srcparsers" from python3
sys.path directories (including the current directory).

Example:

/usr/lib/python3.8/site-packages/srcparsers/bsrc/bsrc.py

or

./srcparsers/bsrc/bsrc.py

where

b = Creator Subsystem ID for Hostboot in ASCII lowercase

The parsers will need to provide a function called "parseSRCToJson" with
input parameters:

1. (str) ASCII string (Hex Word 1)
2. (str) Hex Word 2
3. (str) Hex Word 3
4. (str) Hex Word 4
5. (str) Hex Word 5
6. (str) Hex Word 6
7. (str) Hex Word 7
8. (str) Hex Word 8
9. (str) Hex Word 9

The return value must be a valid JSON string.

Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com>
Change-Id: I2cb0248e5ee2803869eab28d3232b414e2d743af
H A Dsrc.cppc8d6cc61 Wed Aug 19 09:47:19 CDT 2020 Harisuddin Mohamed Isa <harisuddin@gmail.com> PEL: SRC Details Python parser support

This change enables the calling of python3 parsers for SRC details.
Modules will be searched under the namespace "srcparsers" from python3
sys.path directories (including the current directory).

Example:

/usr/lib/python3.8/site-packages/srcparsers/bsrc/bsrc.py

or

./srcparsers/bsrc/bsrc.py

where

b = Creator Subsystem ID for Hostboot in ASCII lowercase

The parsers will need to provide a function called "parseSRCToJson" with
input parameters:

1. (str) ASCII string (Hex Word 1)
2. (str) Hex Word 2
3. (str) Hex Word 3
4. (str) Hex Word 4
5. (str) Hex Word 5
6. (str) Hex Word 6
7. (str) Hex Word 7
8. (str) Hex Word 8
9. (str) Hex Word 9

The return value must be a valid JSON string.

Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com>
Change-Id: I2cb0248e5ee2803869eab28d3232b414e2d743af
H A Dpel.cppc8d6cc61 Wed Aug 19 09:47:19 CDT 2020 Harisuddin Mohamed Isa <harisuddin@gmail.com> PEL: SRC Details Python parser support

This change enables the calling of python3 parsers for SRC details.
Modules will be searched under the namespace "srcparsers" from python3
sys.path directories (including the current directory).

Example:

/usr/lib/python3.8/site-packages/srcparsers/bsrc/bsrc.py

or

./srcparsers/bsrc/bsrc.py

where

b = Creator Subsystem ID for Hostboot in ASCII lowercase

The parsers will need to provide a function called "parseSRCToJson" with
input parameters:

1. (str) ASCII string (Hex Word 1)
2. (str) Hex Word 2
3. (str) Hex Word 3
4. (str) Hex Word 4
5. (str) Hex Word 5
6. (str) Hex Word 6
7. (str) Hex Word 7
8. (str) Hex Word 8
9. (str) Hex Word 9

The return value must be a valid JSON string.

Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com>
Change-Id: I2cb0248e5ee2803869eab28d3232b414e2d743af
/openbmc/phosphor-logging/extensions/openpower-pels/tools/
H A Dpeltool.cppc8d6cc61 Wed Aug 19 09:47:19 CDT 2020 Harisuddin Mohamed Isa <harisuddin@gmail.com> PEL: SRC Details Python parser support

This change enables the calling of python3 parsers for SRC details.
Modules will be searched under the namespace "srcparsers" from python3
sys.path directories (including the current directory).

Example:

/usr/lib/python3.8/site-packages/srcparsers/bsrc/bsrc.py

or

./srcparsers/bsrc/bsrc.py

where

b = Creator Subsystem ID for Hostboot in ASCII lowercase

The parsers will need to provide a function called "parseSRCToJson" with
input parameters:

1. (str) ASCII string (Hex Word 1)
2. (str) Hex Word 2
3. (str) Hex Word 3
4. (str) Hex Word 4
5. (str) Hex Word 5
6. (str) Hex Word 6
7. (str) Hex Word 7
8. (str) Hex Word 8
9. (str) Hex Word 9

The return value must be a valid JSON string.

Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com>
Change-Id: I2cb0248e5ee2803869eab28d3232b414e2d743af