The heat.scaling.template ModuleΒΆ

heat.scaling.template.make_template(resource_definitions, version=('heat_template_version', '2013-05-23'), child_env=None)[source]

Return a Template object containing the given resource definitions.

By default, the template will be in the HOT format. A different format can be specified by passing a (version_type, version_string) tuple matching any of the available template format plugins.

heat.scaling.template.resource_templates(old_resources, resource_definition, num_resources, num_replace)[source]

Create the template for the nested stack of existing and new instances For rolling update, if launch configuration is different, the instance definition should come from the existing instance instead of using the new launch configuration.

Previous topic

The heat.scaling Module

This Page