Common functionalities shared between different DRAC modules.
ironic.drivers.modules.drac.common.
get_drac_client
(node)[source]¶Returns a DRACClient object from python-dracclient library.
Parameters: | node – an ironic node object. |
---|---|
Returns: | a DRACClient object. |
Raises: | InvalidParameterValue if mandatory information is missing on the node or on invalid input. |
ironic.drivers.modules.drac.common.
parse_driver_info
(node)[source]¶Parse a node’s driver_info values.
Parses the driver_info of the node, reads default values and returns a dict containing the combination of both.
Parameters: | node – an ironic node object. |
---|---|
Returns: | a dict containing information from driver_info and default values. |
Raises: | InvalidParameterValue if some mandatory information is missing on the node or on invalid inputs. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.