The heat.engine.clients.os.cinder Module

class heat.engine.clients.os.cinder.BaseCinderConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

resource_client_name = 'cinder'
class heat.engine.clients.os.cinder.CinderClientPlugin(context)[source]

Bases: heat.engine.clients.client_plugin.ClientPlugin

VOLUME_V2 = 'volumev2'
VOLUME_V3 = 'volumev3'
check_attach_volume_complete(vol_id)[source]
check_detach_volume_complete(vol_id)[source]
exceptions_module = <module 'cinderclient.exceptions' from '/home/jenkins/workspace/heat-docs-ubuntu-xenial/.tox/venv/local/lib/python2.7/site-packages/cinderclient/exceptions.pyc'>
get_qos_specs(qos_specs)[source]
get_volume(volume)[source]
get_volume_api_version()[source]

Returns the most recent API version.

get_volume_backup(backup)[source]
get_volume_snapshot(snapshot)[source]
get_volume_type(volume_type)[source]
has_extension(alias)[source]

Check if specific extension is present.

is_conflict(ex)[source]
is_not_found(ex)[source]
is_over_limit(ex)[source]
service_types = ['volumev2', 'volumev3']
class heat.engine.clients.os.cinder.QoSSpecsConstraint[source]

Bases: heat.engine.clients.os.cinder.BaseCinderConstraint

expected_exceptions = (<class 'cinderclient.exceptions.NotFound'>,)
resource_getter_name = 'get_qos_specs'
class heat.engine.clients.os.cinder.VolumeBackupConstraint[source]

Bases: heat.engine.clients.os.cinder.BaseCinderConstraint

resource_getter_name = 'get_volume_backup'
class heat.engine.clients.os.cinder.VolumeConstraint[source]

Bases: heat.engine.clients.os.cinder.BaseCinderConstraint

resource_getter_name = 'get_volume'
class heat.engine.clients.os.cinder.VolumeSnapshotConstraint[source]

Bases: heat.engine.clients.os.cinder.BaseCinderConstraint

resource_getter_name = 'get_volume_snapshot'
class heat.engine.clients.os.cinder.VolumeTypeConstraint[source]

Bases: heat.engine.clients.os.cinder.BaseCinderConstraint

resource_getter_name = 'get_volume_type'