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}
63 dns_servers: {get_param: DnsServers}
69 - - {get_param: ControlPlaneIp}
70 - {get_param: ControlPlaneSubnetCidr}
73 ip_netmask: 169.254.169.254/32
74 next_hop: {get_param: EC2MetadataIp}
77 next_hop: {get_param: ControlPlaneDefaultRoute}
81 name: {get_input: interface_name}
82 # force the MAC address of the bridge to this interface
87 description: The OsNetConfigImpl resource.
88 value: {get_resource: OsNetConfigImpl}