The heat.engine.hot.template Module

class heat.engine.hot.template.HOTemplate20130523(template, template_id=None, files=None, env=None)[source]

Bases: heat.engine.template_common.CommonTemplate

A Heat Orchestration Template format stack template.

DESCRIPTION = 'description'
MAPPINGS = '__undefined__'
OUTPUTS = 'outputs'
OUTPUT_DESCRIPTION = 'description'
OUTPUT_KEYS = ('description', 'value')
OUTPUT_VALUE = 'value'
PARAMETERS = 'parameters'
PARAMETER_GROUPS = 'parameter_groups'
RESOURCES = 'resources'
RES_DELETION_POLICY = 'deletion_policy'
RES_DEPENDS_ON = 'depends_on'
RES_DESCRIPTION = 'description'
RES_METADATA = 'metadata'
RES_PROPERTIES = 'properties'
RES_TYPE = 'type'
RES_UPDATE_POLICY = 'update_policy'
SECTIONS = ('heat_template_version', 'description', 'parameter_groups', 'parameters', 'resources', 'outputs', '__undefined__')
SECTIONS_NO_DIRECT_ACCESS = set(['heat_template_version', 'parameters'])
VERSION = 'heat_template_version'
add_resource(definition, name=None)[source]
deletion_policies = {'Retain': 'Retain', 'Delete': 'Delete', 'Snapshot': 'Snapshot'}
functions = {'str_replace': <class 'heat.engine.hot.functions.Replace'>, 'Fn::ResourceFacade': <class 'heat.engine.cfn.functions.ResourceFacade'>, 'Fn::MemberListToMap': <class 'heat.engine.cfn.functions.MemberListToMap'>, 'get_param': <class 'heat.engine.hot.functions.GetParam'>, 'get_attr': <class 'heat.engine.hot.functions.GetAttThenSelect'>, 'Fn::Split': <class 'heat.engine.cfn.functions.Split'>, 'Fn::Join': <class 'heat.engine.cfn.functions.Join'>, 'get_file': <class 'heat.engine.hot.functions.GetFile'>, 'Fn::Replace': <class 'heat.engine.cfn.functions.Replace'>, 'Fn::Select': <class 'heat.engine.cfn.functions.Select'>, 'Fn::Base64': <class 'heat.engine.cfn.functions.Base64'>, 'resource_facade': <class 'heat.engine.hot.functions.ResourceFacade'>, 'list_join': <class 'heat.engine.hot.functions.Join'>, 'get_resource': <class 'heat.engine.hot.functions.GetResource'>, 'Fn::GetAZs': <class 'heat.engine.cfn.functions.GetAZs'>, 'Ref': <function Ref at 0x7f41a4d20c08>}
get_section_name(section)[source]
param_schemata(param_defaults=None)[source]
parameters(stack_identifier, user_params, param_defaults=None)[source]
resource_definitions(stack)[source]
validate_section(section, sub_section, data, allowed_keys)[source]
class heat.engine.hot.template.HOTemplate20141016(template, template_id=None, files=None, env=None)[source]

Bases: heat.engine.hot.template.HOTemplate20130523

functions = {'str_replace': <class 'heat.engine.hot.functions.Replace'>, 'Fn::ResourceFacade': <class 'heat.engine.hot.functions.Removed'>, 'Fn::MemberListToMap': <class 'heat.engine.hot.functions.Removed'>, 'get_param': <class 'heat.engine.hot.functions.GetParam'>, 'get_attr': <class 'heat.engine.hot.functions.GetAtt'>, 'Fn::Split': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Join': <class 'heat.engine.hot.functions.Removed'>, 'get_file': <class 'heat.engine.hot.functions.GetFile'>, 'Fn::Replace': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Select': <class 'heat.engine.cfn.functions.Select'>, 'Fn::Base64': <class 'heat.engine.hot.functions.Removed'>, 'resource_facade': <class 'heat.engine.hot.functions.ResourceFacade'>, 'list_join': <class 'heat.engine.hot.functions.Join'>, 'get_resource': <class 'heat.engine.hot.functions.GetResource'>, 'Fn::GetAZs': <class 'heat.engine.hot.functions.Removed'>, 'Ref': <class 'heat.engine.hot.functions.Removed'>}
class heat.engine.hot.template.HOTemplate20150430(template, template_id=None, files=None, env=None)[source]

Bases: heat.engine.hot.template.HOTemplate20141016

functions = {'repeat': <class 'heat.engine.hot.functions.Repeat'>, 'str_replace': <class 'heat.engine.hot.functions.Replace'>, 'Fn::ResourceFacade': <class 'heat.engine.hot.functions.Removed'>, 'Fn::MemberListToMap': <class 'heat.engine.hot.functions.Removed'>, 'get_param': <class 'heat.engine.hot.functions.GetParam'>, 'get_attr': <class 'heat.engine.hot.functions.GetAtt'>, 'Fn::Split': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Join': <class 'heat.engine.hot.functions.Removed'>, 'get_file': <class 'heat.engine.hot.functions.GetFile'>, 'Fn::GetAZs': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Replace': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Select': <class 'heat.engine.cfn.functions.Select'>, 'Fn::Base64': <class 'heat.engine.hot.functions.Removed'>, 'resource_facade': <class 'heat.engine.hot.functions.ResourceFacade'>, 'list_join': <class 'heat.engine.hot.functions.Join'>, 'get_resource': <class 'heat.engine.hot.functions.GetResource'>, 'digest': <class 'heat.engine.hot.functions.Digest'>, 'Ref': <class 'heat.engine.hot.functions.Removed'>}
class heat.engine.hot.template.HOTemplate20151015(template, template_id=None, files=None, env=None)[source]

Bases: heat.engine.hot.template.HOTemplate20150430

functions = {'repeat': <class 'heat.engine.hot.functions.Repeat'>, 'str_replace': <class 'heat.engine.hot.functions.ReplaceJson'>, 'Fn::ResourceFacade': <class 'heat.engine.hot.functions.Removed'>, 'Fn::MemberListToMap': <class 'heat.engine.hot.functions.Removed'>, 'get_param': <class 'heat.engine.hot.functions.GetParam'>, 'get_attr': <class 'heat.engine.hot.functions.GetAttAllAttributes'>, 'Fn::Split': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Join': <class 'heat.engine.hot.functions.Removed'>, 'get_file': <class 'heat.engine.hot.functions.GetFile'>, 'Fn::GetAZs': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Replace': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Select': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Base64': <class 'heat.engine.hot.functions.Removed'>, 'resource_facade': <class 'heat.engine.hot.functions.ResourceFacade'>, 'list_join': <class 'heat.engine.hot.functions.JoinMultiple'>, 'str_split': <class 'heat.engine.hot.functions.StrSplit'>, 'get_resource': <class 'heat.engine.hot.functions.GetResource'>, 'digest': <class 'heat.engine.hot.functions.Digest'>, 'Ref': <class 'heat.engine.hot.functions.Removed'>}
class heat.engine.hot.template.HOTemplate20160408(template, template_id=None, files=None, env=None)[source]

Bases: heat.engine.hot.template.HOTemplate20151015

functions = {'repeat': <class 'heat.engine.hot.functions.Repeat'>, 'str_replace': <class 'heat.engine.hot.functions.ReplaceJson'>, 'map_merge': <class 'heat.engine.hot.functions.MapMerge'>, 'Fn::MemberListToMap': <class 'heat.engine.hot.functions.Removed'>, 'get_param': <class 'heat.engine.hot.functions.GetParam'>, 'get_attr': <class 'heat.engine.hot.functions.GetAttAllAttributes'>, 'Fn::Split': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Join': <class 'heat.engine.hot.functions.Removed'>, 'get_file': <class 'heat.engine.hot.functions.GetFile'>, 'Fn::GetAZs': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Replace': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Select': <class 'heat.engine.hot.functions.Removed'>, 'Fn::ResourceFacade': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Base64': <class 'heat.engine.hot.functions.Removed'>, 'resource_facade': <class 'heat.engine.hot.functions.ResourceFacade'>, 'list_join': <class 'heat.engine.hot.functions.JoinMultiple'>, 'str_split': <class 'heat.engine.hot.functions.StrSplit'>, 'get_resource': <class 'heat.engine.hot.functions.GetResource'>, 'digest': <class 'heat.engine.hot.functions.Digest'>, 'Ref': <class 'heat.engine.hot.functions.Removed'>}
class heat.engine.hot.template.HOTemplate20161014(tmpl, template_id=None, files=None, env=None)[source]

Bases: heat.engine.hot.template.HOTemplate20160408

CONDITIONS = 'conditions'
OUTPUT_CONDITION = 'condition'
OUTPUT_KEYS = ('description', 'value', 'condition')
RES_CONDITION = 'condition'
RES_EXTERNAL_ID = 'external_id'
SECTIONS = ('heat_template_version', 'description', 'parameter_groups', 'parameters', 'resources', 'outputs', '__undefined__', 'conditions')
SECTIONS_NO_DIRECT_ACCESS = set(['heat_template_version', 'parameters', 'conditions'])
condition_functions = {'get_param': <class 'heat.engine.hot.functions.GetParam'>, 'not': <class 'heat.engine.hot.functions.Not'>, 'or': <class 'heat.engine.hot.functions.Or'>, 'equals': <class 'heat.engine.hot.functions.Equals'>, 'and': <class 'heat.engine.hot.functions.And'>}
deletion_policies = {'Delete': 'Delete', 'Retain': 'Retain', 'Snapshot': 'Snapshot', 'snapshot': 'Snapshot', 'delete': 'Delete', 'retain': 'Retain'}
functions = {'yaql': <class 'heat.engine.hot.functions.Yaql'>, 'Fn::Join': <class 'heat.engine.hot.functions.Removed'>, 'get_file': <class 'heat.engine.hot.functions.GetFile'>, 'Ref': <class 'heat.engine.hot.functions.Removed'>, 'repeat': <class 'heat.engine.hot.functions.RepeatWithMap'>, 'Fn::Select': <class 'heat.engine.hot.functions.Removed'>, 'resource_facade': <class 'heat.engine.hot.functions.ResourceFacade'>, 'get_resource': <class 'heat.engine.hot.functions.GetResource'>, 'str_replace': <class 'heat.engine.hot.functions.ReplaceJson'>, 'get_param': <class 'heat.engine.hot.functions.GetParam'>, 'Fn::Replace': <class 'heat.engine.hot.functions.Removed'>, 'list_join': <class 'heat.engine.hot.functions.JoinMultiple'>, 'str_split': <class 'heat.engine.hot.functions.StrSplit'>, 'Fn::GetAZs': <class 'heat.engine.hot.functions.Removed'>, 'Fn::ResourceFacade': <class 'heat.engine.hot.functions.Removed'>, 'map_merge': <class 'heat.engine.hot.functions.MapMerge'>, 'Fn::Split': <class 'heat.engine.hot.functions.Removed'>, 'map_replace': <class 'heat.engine.hot.functions.MapReplace'>, 'Fn::MemberListToMap': <class 'heat.engine.hot.functions.Removed'>, 'Fn::Base64': <class 'heat.engine.hot.functions.Removed'>, 'get_attr': <class 'heat.engine.hot.functions.GetAttAllAttributes'>, 'if': <class 'heat.engine.hot.functions.If'>, 'digest': <class 'heat.engine.hot.functions.Digest'>}

Previous topic

The heat.engine.hot.parameters Module

Next topic

The heat.engine.lifecycle_plugin Module

Project Source

This Page