ironic.drivers.modules.redfish.utils.
SessionCache
(driver_info)[source]¶Bases: object
Cache of HTTP sessions credentials
AUTH_CLASSES
= {'auto': <class 'sushy.auth.SessionOrBasicAuth'>, 'basic': <class 'sushy.auth.BasicAuth'>, 'session': <class 'sushy.auth.SessionAuth'>}¶ironic.drivers.modules.redfish.utils.
get_system
(node)[source]¶Get a Redfish System that represents a node.
node – an Ironic node object
RedfishConnectionError when it fails to connect to Redfish
RedfishError if the System is not registered in Redfish
ironic.drivers.modules.redfish.utils.
get_update_service
(node)[source]¶Get a node’s update service.
node – an Ironic node object
RedfishConnectionError when it fails to connect to Redfish
RedfishError when the UpdateService is not registered in Redfish
ironic.drivers.modules.redfish.utils.
parse_driver_info
(node)[source]¶Parse the information required for Ironic to connect to Redfish.
node – an Ironic node object
dictionary of parameters
InvalidParameterValue on malformed parameter(s)
MissingParameterValue on missing parameter(s)
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.