The heat.engine.clients.os.cinder ModuleΒΆ

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

Bases: heat.engine.clients.client_plugin.ClientPlugin

exceptions_module = <module 'cinderclient.exceptions' from '/usr/lib/python2.7/dist-packages/cinderclient/exceptions.pyc'>
get_volume(volume)[source]
get_volume_api_version()[source]

Returns the most recent API version.

get_volume_snapshot(snapshot)[source]
get_volume_type(volume_type)[source]
is_conflict(ex)[source]
is_not_found(ex)[source]
is_over_limit(ex)[source]
class heat.engine.clients.os.cinder.VolumeConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

expected_exceptions = (<class 'heat.common.exception.VolumeNotFound'>,)
validate_with_client(client, volume)[source]
class heat.engine.clients.os.cinder.VolumeSnapshotConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

expected_exceptions = (<class 'heat.common.exception.VolumeSnapshotNotFound'>,)
validate_with_client(client, snapshot)[source]
class heat.engine.clients.os.cinder.VolumeTypeConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

expected_exceptions = (<class 'heat.common.exception.VolumeTypeNotFound'>,)
validate_with_client(client, volume_type)[source]