Add motherboard properties to inventory checking
We already have Chassis/motherboard serialNumber in the
inventory code. Now adding Manufacturer and PartNumber.
Resolves openbmc/openbmc-test-automation#1915
Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
Change-Id: I0deb157125b49468a044c861ed01556af4338213
diff --git a/redfish/systems/test_systems_inventory.robot b/redfish/systems/test_systems_inventory.robot
index aca0ec7..dbbc833 100755
--- a/redfish/systems/test_systems_inventory.robot
+++ b/redfish/systems/test_systems_inventory.robot
@@ -127,6 +127,24 @@
Rprint Vars serial_number
+Verify Motherboard Manufacturer Field Value Populated
+ [Documentation] Check that the Motherboard manufacturer is non-blank.
+ [Tags] Verify_Motherboard_Manufacturer_Field_Value_Populated
+
+ ${motherboard_manufacturer}= Redfish.Get Attribute
+ ... ${REDFISH_CHASSIS_URI}motherboard Manufacturer
+ Valid Value motherboard_manufacturer
+
+
+Verify Motherboard Partnumber Field Value Populated
+ [Documentation] Check that the Motherboard partnumber is non-blank.
+ [Tags] Verify_Motherboard_Partnumber_Field_Value_Populated
+
+ ${motherboard_part_number}= Redfish.Get Attribute
+ ... ${REDFISH_CHASSIS_URI}motherboard PartNumber
+ Valid Value motherboard_part_number
+
+
Check GPU States When Power On
[Documentation] Check the State of each of the GPUs
... in the system. A system may have 0-6 GPUs.