Home
last modified time | relevance | path

Searched hist:a340eed8 (Results 1 – 4 of 4) sorted by relevance

/openbmc/pldm/pldmtool/
H A Dpldm_platform_cmd.hppa340eed8 Tue Feb 14 03:32:47 CST 2023 Pavithra Barithaya <pavithra.b@ibm.com> Pldmtool change to fetch pdrs based on TerminusID

This commit adds a new option "-n" to getPDR in the pldmtool using
which we can retrieve the PDRs based on the terminus ID.

Tested:
./pldmtool platform getpdr -h
get platform descriptor records
Usage: ./pldmtool platform GetPDR [OPTIONS]

Options:
-h,--help Print this help message and exit
-m,--mctp_eid UINT MCTP endpoint ID
-v,--verbose
[Option Group: Required Option]
Retrieve individual PDR, all PDRs, PDRs of a requested type or retrieve all PDRs of the requested terminusID
[Exactly 1 of the following options is required]
Options:
-d,--data UINT retrieve individual PDRs from a PDR Repository
eg: The recordHandle value for the PDR to be retrieved and 0 means get first PDR in the repository.
-t,--type TEXT retrieve all PDRs of the requested type
supported types:
[terminusLocator, stateSensor, numericEffecter, stateEffecter, EntityAssociation, fruRecord, ... ]
-i,--terminusID UINT retrieve all PDRs of the requested terminusID
supported IDs:
[1, 2, 208...]
-a,--all retrieve all PDRs from a PDR repository

Example 1:
./pldmtool platform getpdr -i 0
[]

Example 2:
./pldmtool platform getpdr -i 2
Copied the output here:
https://gist.github.com/Pavithrab7/4218104bc7e58951ff91fe5b49e562b0

Change-Id: I8b78818abbbbb3678e180d2bd1f38017454fd0d3
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
H A Dpldmtool.cppa340eed8 Tue Feb 14 03:32:47 CST 2023 Pavithra Barithaya <pavithra.b@ibm.com> Pldmtool change to fetch pdrs based on TerminusID

This commit adds a new option "-n" to getPDR in the pldmtool using
which we can retrieve the PDRs based on the terminus ID.

Tested:
./pldmtool platform getpdr -h
get platform descriptor records
Usage: ./pldmtool platform GetPDR [OPTIONS]

Options:
-h,--help Print this help message and exit
-m,--mctp_eid UINT MCTP endpoint ID
-v,--verbose
[Option Group: Required Option]
Retrieve individual PDR, all PDRs, PDRs of a requested type or retrieve all PDRs of the requested terminusID
[Exactly 1 of the following options is required]
Options:
-d,--data UINT retrieve individual PDRs from a PDR Repository
eg: The recordHandle value for the PDR to be retrieved and 0 means get first PDR in the repository.
-t,--type TEXT retrieve all PDRs of the requested type
supported types:
[terminusLocator, stateSensor, numericEffecter, stateEffecter, EntityAssociation, fruRecord, ... ]
-i,--terminusID UINT retrieve all PDRs of the requested terminusID
supported IDs:
[1, 2, 208...]
-a,--all retrieve all PDRs from a PDR repository

Example 1:
./pldmtool platform getpdr -i 0
[]

Example 2:
./pldmtool platform getpdr -i 2
Copied the output here:
https://gist.github.com/Pavithrab7/4218104bc7e58951ff91fe5b49e562b0

Change-Id: I8b78818abbbbb3678e180d2bd1f38017454fd0d3
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
H A Dpldm_cmd_helper.hppa340eed8 Tue Feb 14 03:32:47 CST 2023 Pavithra Barithaya <pavithra.b@ibm.com> Pldmtool change to fetch pdrs based on TerminusID

This commit adds a new option "-n" to getPDR in the pldmtool using
which we can retrieve the PDRs based on the terminus ID.

Tested:
./pldmtool platform getpdr -h
get platform descriptor records
Usage: ./pldmtool platform GetPDR [OPTIONS]

Options:
-h,--help Print this help message and exit
-m,--mctp_eid UINT MCTP endpoint ID
-v,--verbose
[Option Group: Required Option]
Retrieve individual PDR, all PDRs, PDRs of a requested type or retrieve all PDRs of the requested terminusID
[Exactly 1 of the following options is required]
Options:
-d,--data UINT retrieve individual PDRs from a PDR Repository
eg: The recordHandle value for the PDR to be retrieved and 0 means get first PDR in the repository.
-t,--type TEXT retrieve all PDRs of the requested type
supported types:
[terminusLocator, stateSensor, numericEffecter, stateEffecter, EntityAssociation, fruRecord, ... ]
-i,--terminusID UINT retrieve all PDRs of the requested terminusID
supported IDs:
[1, 2, 208...]
-a,--all retrieve all PDRs from a PDR repository

Example 1:
./pldmtool platform getpdr -i 0
[]

Example 2:
./pldmtool platform getpdr -i 2
Copied the output here:
https://gist.github.com/Pavithrab7/4218104bc7e58951ff91fe5b49e562b0

Change-Id: I8b78818abbbbb3678e180d2bd1f38017454fd0d3
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
H A Dpldm_platform_cmd.cppa340eed8 Tue Feb 14 03:32:47 CST 2023 Pavithra Barithaya <pavithra.b@ibm.com> Pldmtool change to fetch pdrs based on TerminusID

This commit adds a new option "-n" to getPDR in the pldmtool using
which we can retrieve the PDRs based on the terminus ID.

Tested:
./pldmtool platform getpdr -h
get platform descriptor records
Usage: ./pldmtool platform GetPDR [OPTIONS]

Options:
-h,--help Print this help message and exit
-m,--mctp_eid UINT MCTP endpoint ID
-v,--verbose
[Option Group: Required Option]
Retrieve individual PDR, all PDRs, PDRs of a requested type or retrieve all PDRs of the requested terminusID
[Exactly 1 of the following options is required]
Options:
-d,--data UINT retrieve individual PDRs from a PDR Repository
eg: The recordHandle value for the PDR to be retrieved and 0 means get first PDR in the repository.
-t,--type TEXT retrieve all PDRs of the requested type
supported types:
[terminusLocator, stateSensor, numericEffecter, stateEffecter, EntityAssociation, fruRecord, ... ]
-i,--terminusID UINT retrieve all PDRs of the requested terminusID
supported IDs:
[1, 2, 208...]
-a,--all retrieve all PDRs from a PDR repository

Example 1:
./pldmtool platform getpdr -i 0
[]

Example 2:
./pldmtool platform getpdr -i 2
Copied the output here:
https://gist.github.com/Pavithrab7/4218104bc7e58951ff91fe5b49e562b0

Change-Id: I8b78818abbbbb3678e180d2bd1f38017454fd0d3
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>