ironic.drivers.modules.irmc.raid module

Irmc RAID specific methods

class ironic.drivers.modules.irmc.raid.IRMCRAID(*args, **kwargs)[source]

Bases: RAIDInterface

create_configuration(task, create_root_volume=True, create_nonroot_volumes=True)[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 RAID configuration is in progress asynchronously.

Raises:

MissingParameterValue, if node.target_raid_config is missing or empty.

Raises:

IRMCOperationError on an error from scciclient

delete_configuration(task)[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 complete.

get_properties()[source]

Return the properties of the interface.