The heat.engine.hot.parameters ModuleΒΆ

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

Bases: heat.engine.parameters.Schema

HOT parameter schema.

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

Return a Parameter Schema object from a legacy schema dictionary.

Parameters:param_name (str) – name of the parameter owning the schema; used for more verbose logging
class heat.engine.hot.parameters.HOTParameters(stack_identifier, tmpl, user_params=None)[source]

Bases: heat.engine.parameters.Parameters

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

Set the StackId pseudo parameter value

Previous topic

The heat.engine.hot.template Module

Next topic

The heat.engine.hot Module

This Page