Comment 2 for bug 2054836

Revision history for this message
Paul Jonason (pjonason) wrote :

The proposed code finds the ID of the local Redfish Manager, then finds the collection of Manager EthernetInterfaces, and returns the IP address of the likely active Manager interface (that is, it will reject interfaces having an IP address of 0.0.0.0, 16.1.15.1, or anything starting with 169.254).

The ID of the local Manager was broken out into its own method so it can populate the node_id field in the Redfish power driver.

Also, I found a few bmcs return 201 on Session creation, so I included that in an array of acceptable return codes.