Searched hist:"4 e0402cb" (Results 1 – 7 of 7) sorted by relevance
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | mock_vpd.hpp | 4e0402cb Fri Feb 05 00:08:33 CST 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add VPD service The regulators application needs to obtain VPD (Vital Product Data) keyword values. Sometimes regulator configuration and monitoring varies depending on hardware type or version. VPD keyword values can provide this information about the hardware. Add a new class to obtain hardware VPD from the D-Bus xyz.openbmc_project.Inventory.Decorator.Asset interface. Also define an abstract base class and a mock implementation to enable use of gmock in test cases related to VPD. Tested: * Verified VPD values were successfully obtained from D-Bus. * Verified VPD values were cached. * Tested where object path was invalid. * Tested where keyword was invalid. * Verified cached VPD values were cleared when machine powered on. * For the complete test plan, see https://gist.github.com/smccarney/519a54353361e28b1d25f5783c15f471 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: Id08e8bca8db6421d46669c495e8a9432e45a1fd6
|
H A D | mock_services.hpp | 4e0402cb Fri Feb 05 00:08:33 CST 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add VPD service The regulators application needs to obtain VPD (Vital Product Data) keyword values. Sometimes regulator configuration and monitoring varies depending on hardware type or version. VPD keyword values can provide this information about the hardware. Add a new class to obtain hardware VPD from the D-Bus xyz.openbmc_project.Inventory.Decorator.Asset interface. Also define an abstract base class and a mock implementation to enable use of gmock in test cases related to VPD. Tested: * Verified VPD values were successfully obtained from D-Bus. * Verified VPD values were cached. * Tested where object path was invalid. * Tested where keyword was invalid. * Verified cached VPD values were cleared when machine powered on. * For the complete test plan, see https://gist.github.com/smccarney/519a54353361e28b1d25f5783c15f471 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: Id08e8bca8db6421d46669c495e8a9432e45a1fd6
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | vpd.cpp | 4e0402cb Fri Feb 05 00:08:33 CST 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add VPD service The regulators application needs to obtain VPD (Vital Product Data) keyword values. Sometimes regulator configuration and monitoring varies depending on hardware type or version. VPD keyword values can provide this information about the hardware. Add a new class to obtain hardware VPD from the D-Bus xyz.openbmc_project.Inventory.Decorator.Asset interface. Also define an abstract base class and a mock implementation to enable use of gmock in test cases related to VPD. Tested: * Verified VPD values were successfully obtained from D-Bus. * Verified VPD values were cached. * Tested where object path was invalid. * Tested where keyword was invalid. * Verified cached VPD values were cleared when machine powered on. * For the complete test plan, see https://gist.github.com/smccarney/519a54353361e28b1d25f5783c15f471 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: Id08e8bca8db6421d46669c495e8a9432e45a1fd6
|
H A D | vpd.hpp | 4e0402cb Fri Feb 05 00:08:33 CST 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add VPD service The regulators application needs to obtain VPD (Vital Product Data) keyword values. Sometimes regulator configuration and monitoring varies depending on hardware type or version. VPD keyword values can provide this information about the hardware. Add a new class to obtain hardware VPD from the D-Bus xyz.openbmc_project.Inventory.Decorator.Asset interface. Also define an abstract base class and a mock implementation to enable use of gmock in test cases related to VPD. Tested: * Verified VPD values were successfully obtained from D-Bus. * Verified VPD values were cached. * Tested where object path was invalid. * Tested where keyword was invalid. * Verified cached VPD values were cleared when machine powered on. * For the complete test plan, see https://gist.github.com/smccarney/519a54353361e28b1d25f5783c15f471 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: Id08e8bca8db6421d46669c495e8a9432e45a1fd6
|
H A D | services.hpp | 4e0402cb Fri Feb 05 00:08:33 CST 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add VPD service The regulators application needs to obtain VPD (Vital Product Data) keyword values. Sometimes regulator configuration and monitoring varies depending on hardware type or version. VPD keyword values can provide this information about the hardware. Add a new class to obtain hardware VPD from the D-Bus xyz.openbmc_project.Inventory.Decorator.Asset interface. Also define an abstract base class and a mock implementation to enable use of gmock in test cases related to VPD. Tested: * Verified VPD values were successfully obtained from D-Bus. * Verified VPD values were cached. * Tested where object path was invalid. * Tested where keyword was invalid. * Verified cached VPD values were cleared when machine powered on. * For the complete test plan, see https://gist.github.com/smccarney/519a54353361e28b1d25f5783c15f471 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: Id08e8bca8db6421d46669c495e8a9432e45a1fd6
|
H A D | manager.cpp | 4e0402cb Fri Feb 05 00:08:33 CST 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add VPD service The regulators application needs to obtain VPD (Vital Product Data) keyword values. Sometimes regulator configuration and monitoring varies depending on hardware type or version. VPD keyword values can provide this information about the hardware. Add a new class to obtain hardware VPD from the D-Bus xyz.openbmc_project.Inventory.Decorator.Asset interface. Also define an abstract base class and a mock implementation to enable use of gmock in test cases related to VPD. Tested: * Verified VPD values were successfully obtained from D-Bus. * Verified VPD values were cached. * Tested where object path was invalid. * Tested where keyword was invalid. * Verified cached VPD values were cleared when machine powered on. * For the complete test plan, see https://gist.github.com/smccarney/519a54353361e28b1d25f5783c15f471 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: Id08e8bca8db6421d46669c495e8a9432e45a1fd6
|
H A D | meson.build | 4e0402cb Fri Feb 05 00:08:33 CST 2021 Shawn McCarney <shawnmm@us.ibm.com> regulators: Add VPD service The regulators application needs to obtain VPD (Vital Product Data) keyword values. Sometimes regulator configuration and monitoring varies depending on hardware type or version. VPD keyword values can provide this information about the hardware. Add a new class to obtain hardware VPD from the D-Bus xyz.openbmc_project.Inventory.Decorator.Asset interface. Also define an abstract base class and a mock implementation to enable use of gmock in test cases related to VPD. Tested: * Verified VPD values were successfully obtained from D-Bus. * Verified VPD values were cached. * Tested where object path was invalid. * Tested where keyword was invalid. * Verified cached VPD values were cleared when machine powered on. * For the complete test plan, see https://gist.github.com/smccarney/519a54353361e28b1d25f5783c15f471 Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: Id08e8bca8db6421d46669c495e8a9432e45a1fd6
|