heat.engine.clients.os.manila module

heat.engine.clients.os.manila module

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

Bases: ClientPlugin

SHARE = 'sharev2'
exceptions_module = <module 'manilaclient.exceptions' from '/usr/lib/python3/dist-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: 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: ManilaShareBaseConstraint

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

Bases: ManilaShareBaseConstraint

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

Bases: 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.