The heat.engine.hot.parameters ModuleΒΆ

class heat.engine.hot.parameters.HOTParamSchema(data_type, description=None, default=None, schema=None, constraints=, []hidden=False, context=None, label=None)[source]

Bases: heat.engine.parameters.Schema

HOT parameter schema.

CONSTRAINTS = 'constraints'
DEFAULT = 'default'
DESCRIPTION = 'description'
HIDDEN = 'hidden'
KEYS = ('type', 'description', 'default', 'schema', 'constraints', 'hidden', 'label')
LABEL = 'label'
LIST = 'comma_delimited_list'
MAP = 'json'
NUMBER = 'number'
PARAMETER_KEYS = ('type', 'description', 'default', 'schema', 'constraints', 'hidden', 'label')
SCHEMA = 'schema'
STRING = 'string'
TYPE = 'type'
TYPES = ('string', 'number', 'comma_delimited_list', 'json')
classmethod from_dict(schema_dict)[source]

Return a Parameter Schema object from a legacy schema dictionary.

class heat.engine.hot.parameters.HOTParameters(stack_identifier, tmpl, user_params={}, validate_value=True, context=None)[source]

Bases: heat.engine.parameters.Parameters

PARAM_REGION = 'OS::region'
PARAM_STACK_ID = 'OS::stack_id'
PARAM_STACK_NAME = 'OS::stack_name'
PSEUDO_PARAMETERS = ('OS::stack_id', 'OS::stack_name', 'OS::region')
set_stack_id(stack_identifier)[source]

Set the StackId pseudo parameter value

Previous topic

The heat.engine.hot.functions Module

Next topic

The heat.engine.hot.template Module

This Page