heat.engine.resources.wait_condition module

heat.engine.resources.wait_condition module

class heat.engine.resources.wait_condition.BaseWaitConditionHandle(name, definition, stack)[source]

Bases: heat.engine.resources.signal_responder.SignalResponder

Base WaitConditionHandle resource.

The main point of this class is to : - have no dependencies (so the instance can reference it) - create credentials to allow for signalling from the instance. - handle signals from the instance, validate and store result

STATUS_FAILURE = 'FAILURE'
STATUS_SUCCESS = 'SUCCESS'
WAIT_STATUSES = ('FAILURE', 'SUCCESS')
get_status()[source]

Return a list of the Status values for the handle signals.

get_status_reason(status)[source]

Return a list of reasons associated with a particular status.

handle_create()[source]
handle_signal(details=None)[source]
normalise_signal_data(signal_data, latest_metadata)[source]
properties_schema = {}
exception heat.engine.resources.wait_condition.WaitConditionFailure(wait_condition, handle)[source]

Bases: heat.common.exception.Error

exception heat.engine.resources.wait_condition.WaitConditionTimeout(wait_condition, handle)[source]

Bases: heat.common.exception.Error

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.