The heat.engine.resources.loadbalancer Module

class heat.engine.resources.loadbalancer.LoadBalancer(name, json_snippet, stack)[source]

Bases: heat.engine.stack_resource.StackResource

FnGetAtt(key)[source]

We don’t really support any of these yet.

FnGetRefId()[source]
handle_create()[source]
handle_delete()[source]
handle_update(json_snippet)[source]
healthcheck_schema = {'HealthyThreshold': {'Required': True, 'Type': 'Number'}, 'Interval': {'Required': True, 'Type': 'Number'}, 'Target': {'Required': True, 'Type': 'String'}, 'Timeout': {'Required': True, 'Type': 'Number'}, 'UnhealthyThreshold': {'Required': True, 'Type': 'Number'}}
listeners_schema = {'InstancePort': {'Required': True, 'Type': 'Number'}, 'SSLCertificateId': {'Implemented': False, 'Type': 'String'}, 'LoadBalancerPort': {'Required': True, 'Type': 'Number'}, 'Protocol': {'Required': True, 'Type': 'String', 'AllowedValues': ['TCP', 'HTTP']}, 'PolicyNames': {'Implemented': False, 'Type': 'List'}}
properties_schema = {'AppCookieStickinessPolicy': {'Implemented': False, 'Type': 'String'}, 'Instances': {'Type': 'List'}, 'Listeners': {'Type': 'List', 'Schema': {'Type': 'Map', 'Schema': {'InstancePort': {'Required': True, 'Type': 'Number'}, 'SSLCertificateId': {'Implemented': False, 'Type': 'String'}, 'LoadBalancerPort': {'Required': True, 'Type': 'Number'}, 'Protocol': {'Required': True, 'Type': 'String', 'AllowedValues': ['TCP', 'HTTP']}, 'PolicyNames': {'Implemented': False, 'Type': 'List'}}}}, 'SecurityGroups': {'Implemented': False, 'Type': 'String'}, 'Subnets': {'Implemented': False, 'Type': 'List'}, 'HealthCheck': {'Type': 'Map', 'Schema': {'HealthyThreshold': {'Required': True, 'Type': 'Number'}, 'Interval': {'Required': True, 'Type': 'Number'}, 'Target': {'Required': True, 'Type': 'String'}, 'Timeout': {'Required': True, 'Type': 'Number'}, 'UnhealthyThreshold': {'Required': True, 'Type': 'Number'}}}, 'LBCookieStickinessPolicy': {'Implemented': False, 'Type': 'String'}, 'AvailabilityZones': {'Required': True, 'Type': 'List'}}
reload(inst_list)[source]

re-generate the Metadata save it to the db. rely on the cfn-hup to reconfigure HAProxy

validate()[source]

Validate any of the provided params

heat.engine.resources.loadbalancer.resource_mapping()[source]

This Page