1 heat_template_version: 2015-04-30
4 Software Config to drive os-net-config for a simple bridge configured
5 with a static IP address for the ctlplane network.
10 description: IP address/subnet on the ctlplane network
14 description: IP address/subnet on the external network
18 description: IP address/subnet on the internal API network
22 description: IP address/subnet on the storage network
26 description: IP address/subnet on the storage mgmt network
30 description: IP address/subnet on the tenant network
34 description: IP address/subnet on the management network
36 ControlPlaneSubnetCidr: # Override this via parameter_defaults
38 description: The subnet CIDR of the control plane network.
40 ControlPlaneDefaultRoute: # Override this via parameter_defaults
41 description: The default route of the control plane network.
43 DnsServers: # Override this via parameter_defaults
45 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
46 type: comma_delimited_list
47 EC2MetadataIp: # Override this via parameter_defaults
48 description: The IP address of the EC2 metadata server.
53 type: OS::Heat::StructuredConfig
55 group: os-apply-config
61 name: {get_input: bridge_name}
66 name: {get_input: interface_name}
67 # force the MAC address of the bridge to this interface
71 # would like to do the following, but can't b/c of:
72 # https://bugs.launchpad.net/heat/+bug/1344284
76 # - - {get_input: bridge_name}
78 # So, just hardcode to br-ex:0 for now, br-ex is hardcoded in
79 # controller.yaml anyway.
86 - - {get_param: ControlPlaneIp}
87 - {get_param: ControlPlaneSubnetCidr}
90 ip_netmask: 169.254.169.254/32
91 next_hop: {get_param: EC2MetadataIp}
94 next_hop: {get_param: ControlPlaneDefaultRoute}
98 description: The OsNetConfigImpl resource.
99 value: {get_resource: OsNetConfigImpl}