Skip to content

Instantly share code, notes, and snippets.

@smccarney
Last active May 8, 2019 14:18
Show Gist options
  • Save smccarney/f5b4783d8cf41a486ceff9b941b1ba9a to your computer and use it in GitHub Desktop.
Save smccarney/f5b4783d8cf41a486ceff9b941b1ba9a to your computer and use it in GitHub Desktop.
Test Plan for removal of BMCWEB_ENABLE_REDFISH_ONE_CHASSIS
Test Plan for Removal of BMCWEB_ENABLE_REDFISH_ONE_CHASSIS
----------------------------------------------------------
x Run Redfish Validator
x Verify no new errors
x Old bmcweb
x err.Resource.UUID: 1
* From Systems/system
* warningPresent: 21
* Mostly empty VPD and missing @odata.type in PowerSupply objects
x failProp: 1
* From Systems/system
* warnTrailingSlashLink: 86
x 1 failProp errors in /redfish/v1/Systems/system
x New bmcweb
x err.Resource.UUID: 1
* From Systems/system
x warningPresent: 9
* Mostly empty VPD and missing @odata.type in PowerSupply objects
x failProp: 1
* From Systems/system
* warnTrailingSlashLink: 86
x 1 failProp errors in /redfish/v1/Systems/system
x Verify it is valid for a chassis to not have any VPD (e.g. PartNumber)
x Verify it is valid for a chassis to have no sensors
x redfish-core/lib/chassis.hpp
x /redfish/v1/Chassis
x Verify Members collection
x Verify chassis names
x Verify chassis URIs
x Verify @odata.count
x Witherspoon-specific tests
x Verify all 4 chassis returned
x chassis
x motherboard
x PSU 0
x PSU 1
x /redfish/v1/Chassis/{chassisName}
x Test where chassisName is valid
x Test where has VPD
x PartNumber
x SerialNumber
x Manufacturer
x Model
x Test where does not have VPD
x Test where has sensors
x Test where does not have sensors
x Verify output is same as old code with BMCWEB_ENABLE_REDFISH_ONE_CHASSIS defined
x Test where chassisName is not valid
x redfish-core/lib/managers.hpp
x Verify "Links"->"ManagerForChassis" property no longer set
x Verify "Links"->"ManagerForChassis@odata.count" property no longer set
x redfish-core/lib/power.hpp
x Test where chassisName is valid
x Verify all power sensors returned
x Verify all voltage sensors returned
x Verify no other sensor types returned
x Test where chassisName is not valid
x Verify correct error is returned
x redfish-core/lib/sensors.hpp
x Test where chassisName is valid
x Test on chassis with sensors
x Verify all sensors of correct type are returned
x Verify no other sensor types returned
x Verify output is identical to old code with BMCWEB_ENABLE_REDFISH_ONE_CHASSIS defined
x Power
x Thermal
x Test on chassis with no sensors (no sensors association)
x Test where chassisName is not valid
x Verify correct error is returned
x Witherspoon-specific tests
x Verify all top level sensors listed under chassis except PSU sensors
x Verify motherboard chassis has VPD
x Verify PSU0 chassis
x Has VPD
x Has one PowerSupply with power sensor
x Has two Voltages with voltage sensors
x Verify PSU1 chassis
x Has VPD
x Has one PowerSupply with power sensor
x Has two Voltages with voltage sensors
x redfish-core/lib/systems.hpp
x Verify "Links"->"Chassis" property no longer set
x redfish-core/lib/thermal.hpp
x Test where chassisName is valid
x Verify all fan sensors returned
x Verify all temperature sensors returned
x Verify no other sensor types returned
x Test where chassisName is not valid
x Verify correct error is returned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment