The ironic.drivers.modules.drac.raid Module

The ironic.drivers.modules.drac.raid Module

DRAC RAID specific methods

class ironic.drivers.modules.drac.raid.DracRAID[source]

Bases: ironic.drivers.base.RAIDInterface

create_configuration(*args, **kwargs)[source]

Create the RAID configuration.

This method creates the RAID configuration on the given node.

Parameters:
  • task – a TaskManager instance containing the node to act on.
  • create_root_volume – If True, a root volume is created during RAID configuration. Otherwise, no root volume is created. Default is True.
  • create_nonroot_volumes – If True, non-root volumes are created. If False, no non-root volumes are created. Default is True.
Returns:

states.CLEANWAIT if creation is in progress asynchronously or None if it is completed.

Raises:

MissingParameterValue, if node.target_raid_config is missing or empty.

Raises:

DracOperationError on an error from python-dracclient.

delete_configuration(*args, **kwargs)[source]

Delete the RAID configuration.

Parameters:task – a TaskManager instance containing the node to act on.
Returns:states.CLEANWAIT if deletion is in progress asynchronously or None if it is completed.
Raises:DracOperationError on an error from python-dracclient.
get_logical_disks(*args, **kwargs)[source]

Get the RAID configuration of the node.

Parameters:task – a TaskManager instance containing the node to act on.
Returns:A dictionary of properties.
Raises:DracOperationError on an error from python-dracclient.
get_properties()[source]

Return the properties of the interface.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.