heat.engine.clients.os.manila module

heat.engine.clients.os.manila module

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

Bases: heat.engine.clients.client_plugin.ClientPlugin

SHARE = 'share'
exceptions_module = <module 'manilaclient.exceptions' from '/home/zuul/.venv/local/lib/python2.7/site-packages/manilaclient/exceptions.pyc'>
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 = ['share']
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'
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.