heat.engine.clients.os.manila module

class heat.engine.clients.os.manila.ManilaClientPlugin(context)[source]

Bases: heat.engine.clients.client_plugin.ClientPlugin

SHARE = 'sharev2'
exceptions_module = <module 'manilaclient.exceptions' from '/home/zuul/src/opendev.org/openstack/heat/.tox/docs/lib/python3.8/site-packages/manilaclient/exceptions.py'>
get_security_service(service_identity)[source]
get_share_network(share_network_identity)[source]
get_share_snapshot(snapshot_identity)[source]
get_share_type(share_type_identity)[source]
is_conflict(ex)[source]

Returns True if the exception is a conflict.

is_not_found(ex)[source]

Returns True if the exception is a not-found.

is_over_limit(ex)[source]

Returns True if the exception is an over-limit.

service_types = ['sharev2']
class heat.engine.clients.os.manila.ManilaShareBaseConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

expected_exceptions = (<class 'heat.common.exception.EntityNotFound'>, <class 'manilaclient.common.apiclient.exceptions.NoUniqueMatch'>)
resource_client_name = 'manila'
class heat.engine.clients.os.manila.ManilaShareNetworkConstraint[source]

Bases: heat.engine.clients.os.manila.ManilaShareBaseConstraint

resource_getter_name = 'get_share_network'
class heat.engine.clients.os.manila.ManilaShareSnapshotConstraint[source]

Bases: heat.engine.clients.os.manila.ManilaShareBaseConstraint

resource_getter_name = 'get_share_snapshot'
class heat.engine.clients.os.manila.ManilaShareTypeConstraint[source]

Bases: heat.engine.clients.os.manila.ManilaShareBaseConstraint

resource_getter_name = 'get_share_type'