/openbmc/phosphor-psu-code-mgmt/vendor-example/ |
H A D | get_version.cpp | 5f3584d43415a3d8c937f045596154462a02ca09 Tue Aug 27 03:28:53 CDT 2019 Lei YU <mine260309@gmail.com> Get PSU version from vendor specific tool
The code was getting the version from PSU inventory object. This commit changes the behavior to use a vendor-specific tool to get the version directly, where the tool is expected to be configured during build time.
Add an example get_version app that shows the expected behavior of the tool: * It accepts an argument of PSU inventory object; * It outputs the version to stdout.
Tested: 1. Put and configure to use the example get_version on witherspoon, verify that PSU software objects are created with the version returned by the exmaple tool. 2. With the Witherspoon specific tool in https://gerrit.openbmc-project.xyz/c/openbmc/witherspoon-pfault-analysis/+/24811, verify the version is correctly got from the PSU inventory path and the software objects are created.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5195cb6fc8998a76b09abcfe0b107364cb180c01
|
H A D | meson.build | 5f3584d43415a3d8c937f045596154462a02ca09 Tue Aug 27 03:28:53 CDT 2019 Lei YU <mine260309@gmail.com> Get PSU version from vendor specific tool
The code was getting the version from PSU inventory object. This commit changes the behavior to use a vendor-specific tool to get the version directly, where the tool is expected to be configured during build time.
Add an example get_version app that shows the expected behavior of the tool: * It accepts an argument of PSU inventory object; * It outputs the version to stdout.
Tested: 1. Put and configure to use the example get_version on witherspoon, verify that PSU software objects are created with the version returned by the exmaple tool. 2. With the Witherspoon specific tool in https://gerrit.openbmc-project.xyz/c/openbmc/witherspoon-pfault-analysis/+/24811, verify the version is correctly got from the PSU inventory path and the software objects are created.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5195cb6fc8998a76b09abcfe0b107364cb180c01
|
/openbmc/phosphor-psu-code-mgmt/test/ |
H A D | mocked_utils.hpp | diff 5f3584d43415a3d8c937f045596154462a02ca09 Tue Aug 27 03:28:53 CDT 2019 Lei YU <mine260309@gmail.com> Get PSU version from vendor specific tool
The code was getting the version from PSU inventory object. This commit changes the behavior to use a vendor-specific tool to get the version directly, where the tool is expected to be configured during build time.
Add an example get_version app that shows the expected behavior of the tool: * It accepts an argument of PSU inventory object; * It outputs the version to stdout.
Tested: 1. Put and configure to use the example get_version on witherspoon, verify that PSU software objects are created with the version returned by the exmaple tool. 2. With the Witherspoon specific tool in https://gerrit.openbmc-project.xyz/c/openbmc/witherspoon-pfault-analysis/+/24811, verify the version is correctly got from the PSU inventory path and the software objects are created.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5195cb6fc8998a76b09abcfe0b107364cb180c01
|
H A D | test_item_updater.cpp | diff 5f3584d43415a3d8c937f045596154462a02ca09 Tue Aug 27 03:28:53 CDT 2019 Lei YU <mine260309@gmail.com> Get PSU version from vendor specific tool
The code was getting the version from PSU inventory object. This commit changes the behavior to use a vendor-specific tool to get the version directly, where the tool is expected to be configured during build time.
Add an example get_version app that shows the expected behavior of the tool: * It accepts an argument of PSU inventory object; * It outputs the version to stdout.
Tested: 1. Put and configure to use the example get_version on witherspoon, verify that PSU software objects are created with the version returned by the exmaple tool. 2. With the Witherspoon specific tool in https://gerrit.openbmc-project.xyz/c/openbmc/witherspoon-pfault-analysis/+/24811, verify the version is correctly got from the PSU inventory path and the software objects are created.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5195cb6fc8998a76b09abcfe0b107364cb180c01
|
/openbmc/phosphor-psu-code-mgmt/ |
H A D | meson.build | diff 5f3584d43415a3d8c937f045596154462a02ca09 Tue Aug 27 03:28:53 CDT 2019 Lei YU <mine260309@gmail.com> Get PSU version from vendor specific tool
The code was getting the version from PSU inventory object. This commit changes the behavior to use a vendor-specific tool to get the version directly, where the tool is expected to be configured during build time.
Add an example get_version app that shows the expected behavior of the tool: * It accepts an argument of PSU inventory object; * It outputs the version to stdout.
Tested: 1. Put and configure to use the example get_version on witherspoon, verify that PSU software objects are created with the version returned by the exmaple tool. 2. With the Witherspoon specific tool in https://gerrit.openbmc-project.xyz/c/openbmc/witherspoon-pfault-analysis/+/24811, verify the version is correctly got from the PSU inventory path and the software objects are created.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5195cb6fc8998a76b09abcfe0b107364cb180c01
|
/openbmc/phosphor-psu-code-mgmt/src/ |
H A D | utils.hpp | diff 5f3584d43415a3d8c937f045596154462a02ca09 Tue Aug 27 03:28:53 CDT 2019 Lei YU <mine260309@gmail.com> Get PSU version from vendor specific tool
The code was getting the version from PSU inventory object. This commit changes the behavior to use a vendor-specific tool to get the version directly, where the tool is expected to be configured during build time.
Add an example get_version app that shows the expected behavior of the tool: * It accepts an argument of PSU inventory object; * It outputs the version to stdout.
Tested: 1. Put and configure to use the example get_version on witherspoon, verify that PSU software objects are created with the version returned by the exmaple tool. 2. With the Witherspoon specific tool in https://gerrit.openbmc-project.xyz/c/openbmc/witherspoon-pfault-analysis/+/24811, verify the version is correctly got from the PSU inventory path and the software objects are created.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5195cb6fc8998a76b09abcfe0b107364cb180c01
|
H A D | utils.cpp | diff 5f3584d43415a3d8c937f045596154462a02ca09 Tue Aug 27 03:28:53 CDT 2019 Lei YU <mine260309@gmail.com> Get PSU version from vendor specific tool
The code was getting the version from PSU inventory object. This commit changes the behavior to use a vendor-specific tool to get the version directly, where the tool is expected to be configured during build time.
Add an example get_version app that shows the expected behavior of the tool: * It accepts an argument of PSU inventory object; * It outputs the version to stdout.
Tested: 1. Put and configure to use the example get_version on witherspoon, verify that PSU software objects are created with the version returned by the exmaple tool. 2. With the Witherspoon specific tool in https://gerrit.openbmc-project.xyz/c/openbmc/witherspoon-pfault-analysis/+/24811, verify the version is correctly got from the PSU inventory path and the software objects are created.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5195cb6fc8998a76b09abcfe0b107364cb180c01
|
H A D | item_updater.cpp | diff 5f3584d43415a3d8c937f045596154462a02ca09 Tue Aug 27 03:28:53 CDT 2019 Lei YU <mine260309@gmail.com> Get PSU version from vendor specific tool
The code was getting the version from PSU inventory object. This commit changes the behavior to use a vendor-specific tool to get the version directly, where the tool is expected to be configured during build time.
Add an example get_version app that shows the expected behavior of the tool: * It accepts an argument of PSU inventory object; * It outputs the version to stdout.
Tested: 1. Put and configure to use the example get_version on witherspoon, verify that PSU software objects are created with the version returned by the exmaple tool. 2. With the Witherspoon specific tool in https://gerrit.openbmc-project.xyz/c/openbmc/witherspoon-pfault-analysis/+/24811, verify the version is correctly got from the PSU inventory path and the software objects are created.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I5195cb6fc8998a76b09abcfe0b107364cb180c01
|