The heat.engine.clients.os.sahara Module

class heat.engine.clients.os.sahara.ImageConstraint[source]

Bases: heat.engine.clients.os.sahara.SaharaBaseConstraint

expected_exceptions = (<class 'heat.common.exception.EntityNotFound'>, <class 'heat.common.exception.PhysicalResourceNameAmbiguity'>)
resource_getter_name = 'get_image_id'
class heat.engine.clients.os.sahara.PluginConstraint[source]

Bases: heat.engine.clients.os.sahara.SaharaBaseConstraint

resource_getter_name = 'get_plugin_id'
class heat.engine.clients.os.sahara.SaharaBaseConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

resource_client_name = 'sahara'
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 '/home/jenkins/workspace/heat-docs-unified-ubuntu-xenial/.tox/venv/local/lib/python2.7/site-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
is_conflict(ex)[source]
is_not_found(ex)[source]
is_not_registered(ex)[source]
is_over_limit(ex)[source]
service_types = ['data-processing']
validate_hadoop_version(plugin_name, hadoop_version)[source]

Previous topic

The heat.engine.clients.os.nova Module

Next topic

The heat.engine.clients.os.senlin Module

Project Source

This Page