freezer.engine.osbrick.volume_actions module

class freezer.engine.osbrick.volume_actions.BeginDetach(volumes_client, volume_id)

Bases: freezer.engine.osbrick.volume_actions.VolumeDetachAction

reserve()
class freezer.engine.osbrick.volume_actions.ConnectVolume(volumes_client, volume_id)

Bases: freezer.engine.osbrick.volume_actions.VolumeAction

connect(brick_connector, connection_data, mountpoint, mode, hostname)
class freezer.engine.osbrick.volume_actions.DetachVolume(volumes_client, volume_id)

Bases: freezer.engine.osbrick.volume_actions.VolumeDetachAction

detach(brick_client, attachment_uuid, multipath, enforce_multipath)
class freezer.engine.osbrick.volume_actions.DisconnectVolume(volumes_client, volume_id)

Bases: freezer.engine.osbrick.volume_actions.VolumeDetachAction

disconnect(brick_connector, connection_data, device_info)
class freezer.engine.osbrick.volume_actions.InitializeConnection(volumes_client, volume_id)

Bases: freezer.engine.osbrick.volume_actions.VolumeAction

initialize(brick_client, multipath, enforce_multipath)
class freezer.engine.osbrick.volume_actions.InitializeConnectionForDetach(volumes_client, volume_id)

Bases: freezer.engine.osbrick.volume_actions.InitializeConnection, freezer.engine.osbrick.volume_actions.VolumeDetachAction

class freezer.engine.osbrick.volume_actions.Reserve(volumes_client, volume_id)

Bases: freezer.engine.osbrick.volume_actions.VolumeAction

reserve()
class freezer.engine.osbrick.volume_actions.VerifyProtocol(volumes_client, volume_id)

Bases: freezer.engine.osbrick.volume_actions.VolumeAction

SUPPORTED_PROCOTOLS = ['ISCSI', 'RBD']
verify(protocol)
class freezer.engine.osbrick.volume_actions.VolumeAction(volumes_client, volume_id)

Bases: object

class freezer.engine.osbrick.volume_actions.VolumeDetachAction(volumes_client, volume_id)

Bases: freezer.engine.osbrick.volume_actions.VolumeAction