Ironic Cisco UCSM interfaces. Provides Management interface operations of servers managed by Cisco UCSM using PyUcs Sdk.
NoneBases: ironic.drivers.base.ManagementInterface
UcsManagement.get_boot_device(task, helper=None)[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. |
UcsManagement.get_properties()[source]¶Return the properties of the interface.
| Returns: | dictionary of <property name>:<property description> entries. |
|---|
UcsManagement.get_sensors_data(task)[source]¶Get sensors data.
Not implemented by this driver. :param task: a TaskManager instance.
UcsManagement.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. |
UcsManagement.set_boot_device(task, device, persistent=False, helper=None)[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. |
UcsManagement.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.