ironic.drivers.modules.ucs.management
Module¶Ironic Cisco UCSM interfaces. Provides Management interface operations of servers managed by Cisco UCSM using PyUcs Sdk.
ironic.drivers.modules.ucs.management.
UcsManagement
[source]¶Bases: ironic.drivers.base.ManagementInterface
get_boot_device
(task, *args, **kwargs)[source]¶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
(task)[source]¶Get sensors data.
Not implemented by this driver. :param task: a TaskManager instance.
get_supported_boot_devices
(task)[source]¶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_boot_device
(task, *args, **kwargs)[source]¶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. |
validate
(task)[source]¶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 |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.