The heat.engine.clients.os.sahara
ModuleΒΆ
-
class
heat.engine.clients.os.sahara.
ImageConstraint
[source] Bases:
heat.engine.constraints.BaseCustomConstraint
-
expected_exceptions
= (<class 'heat.common.exception.ImageNotFound'>, <class 'heat.common.exception.PhysicalResourceNameAmbiguity'>)
-
validate_with_client
(client, value)[source]
-
-
class
heat.engine.clients.os.sahara.
SaharaClientPlugin
(context)[source] Bases:
heat.engine.clients.client_plugin.ClientPlugin
-
exceptions_module
= <module 'saharaclient.api.base' from '/usr/lib/python2.7/dist-packages/saharaclient/api/base.pyc'>
-
get_image_id
(image_identifier)[source] Return an id for the specified image name or identifier.
Parameters: image_identifier – image name or a UUID-like identifier Returns: the id of the requested :image_identifier: Raises: exception.ImageNotFound, exception.PhysicalResourceNameAmbiguity
-
get_image_id_by_name
(image_identifier)[source] Return an id for the specified image name.
Parameters: image_identifier – image name Returns: the id of the requested :image_identifier: Raises: exception.ImageNotFound, exception.PhysicalResourceNameAmbiguity
-
is_conflict
(ex)[source]
-
is_not_found
(ex)[source]
-
is_not_registered
(ex)[source]
-
is_over_limit
(ex)[source]
-