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.EntityNotFound'>, <class 'heat.common.exception.PhysicalResourceNameAmbiguity'>)¶
-
-
class
heat.engine.clients.os.sahara.
PluginConstraint
[source]¶ Bases:
heat.engine.constraints.BaseCustomConstraint
-
expected_exceptions
= (<class 'heat.common.exception.EntityNotFound'>,)¶
-
-
class
heat.engine.clients.os.sahara.
SaharaClientPlugin
(context)[source]¶ Bases:
heat.engine.clients.client_plugin.ClientPlugin
-
DATA_PROCESSING
= 'data-processing'¶
-
exceptions_module
= <module 'saharaclient.api.base' from '/usr/lib/python2.7/dist-packages/saharaclient/api/base.pyc'>¶
-
get_image_id
(image_identifier)[source]¶ Return the 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.EntityNotFound, exception.PhysicalResourceNameAmbiguity
-
get_image_id_by_name
(image_identifier)[source]¶ Return the ID for the specified image name.
Parameters: image_identifier – image name Returns: the id of the requested :image_identifier: Raises: exception.EntityNotFound, exception.PhysicalResourceNameAmbiguity
-
get_plugin_id
(plugin_name)[source]¶ Get the id for the specified plugin name.
Parameters: plugin_name – the name of the plugin to find Returns: the id of :plugin: Raises: exception.EntityNotFound
-
service_types
= ['data-processing']¶
-