The heat.engine.clients.os.glance Module

class heat.engine.clients.os.glance.GlanceClientPlugin(context)[source]

Bases: heat.engine.clients.client_plugin.ClientPlugin

IMAGE = 'image'
exceptions_module = <module 'glanceclient.exc' from '/home/jenkins/workspace/heat-docs-ubuntu-xenial/.tox/venv/local/lib/python2.7/site-packages/glanceclient/exc.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
is_conflict(ex)[source]
is_not_found(ex)[source]
is_over_limit(ex)[source]
service_types = ['image']
class heat.engine.clients.os.glance.ImageConstraint[source]

Bases: heat.engine.constraints.BaseCustomConstraint

expected_exceptions = (<class 'heat.common.exception.EntityNotFound'>,)
validate_with_client(client, value)[source]

Previous topic

The heat.engine.clients.os.designate Module

Next topic

The heat.engine.clients.os.heat_plugin Module

Project Source

This Page