Ironic Cisco UCSM interfaces. Provides Management interface operations of servers managed by Cisco UCSM using PyUcs Sdk.
Bases: ironic.drivers.base.ManagementInterface
Get the current boot device for the task’s node.
Provides the current boot device of the node.
Parameters: |
|
||||
---|---|---|---|---|---|
Returns: | a dictionary containing:
|
||||
Raises: | MissingParameterValue if a required UCS parameter is missing. |
||||
Raises: | UcsOperationError on error from UCS client, while setting the boot device. |
Get sensors data.
Not implemented by this driver. :param task: a TaskManager instance.
Get a list of the supported boot devices.
Parameters: | task – a task from TaskManager. |
---|---|
Returns: | A list with the supported boot devices defined in ironic.common.boot_devices. |
Set the boot device for the task’s node.
Set the boot device to use on next reboot of the node.
Parameters: |
|
---|---|
Raises: | MissingParameterValue if required CiscoDriver parameters are missing. |
Raises: | UcsOperationError on error from UCS client. setting the boot device. |
Check that ‘driver_info’ contains UCSM login credentials.
Validates whether the ‘driver_info’ property of the supplied task’s node contains the required credentials information.
Parameters: | task – a task from TaskManager. |
---|---|
Raises: | MissingParameterValue if a required parameter is missing |