In the code below, server is object, obtained from the Intersight gem - it belongs to class IntersightClient::ComputePhysicalSummary.
On the Intersight side, server's attribute equipment_chassis was removed, making value server.equipment_chassis.moid equal to nil and consequently, making physical_chassis equal to nil so there was no relationship between servers and chassis.
Instead, I parsed server's parent value and obtained parent's moid (unique ID for Intersight objects).
This PR fixes server-chasses relationship.
In the code below, server is object, obtained from the Intersight gem - it belongs to class
IntersightClient::ComputePhysicalSummary
.On the Intersight side, server's attribute
equipment_chassis
was removed, making valueserver.equipment_chassis.moid
equal tonil
and consequently, makingphysical_chassis
equal tonil
so there was no relationship between servers and chassis.Instead, I parsed server's
parent
value and obtained parent'smoid
(unique ID for Intersight objects).