1 heat_template_version: pike
3 Software Config to drive os-net-config with 2 bonded nics on a bridge with VLANs attached for the controller role with IPv6
4 on the External network. The IPv6 default route is on the External network, and the IPv4 default route is on the Control
9 description: IP address/subnet on the ctlplane network
13 description: IP address/subnet on the external network
17 description: IP address/subnet on the internal API network
21 description: IP address/subnet on the storage network
25 description: IP address/subnet on the storage mgmt network
29 description: IP address/subnet on the tenant network
31 ManagementIpSubnet: # Only populated when including environments/network-management.yaml
33 description: IP address/subnet on the management network
35 BondInterfaceOvsOptions:
36 default: bond_mode=active-backup
37 description: 'The ovs_options or bonding_options string for the bond
38 interface. Set things like lacp=active and/or bond_mode=balance-slb
39 for OVS bonds or like mode=4 for Linux bonds using this option.'
42 - allowed_pattern: ^((?!balance.tcp).)*$
43 description: 'The balance-tcp bond mode is known to cause packet loss and
44 should not be used in BondInterfaceOvsOptions.'
45 ExternalNetworkVlanID:
47 description: Vlan ID for the external network traffic.
49 InternalApiNetworkVlanID:
51 description: Vlan ID for the internal_api network traffic.
55 description: Vlan ID for the storage network traffic.
57 StorageMgmtNetworkVlanID:
59 description: Vlan ID for the storage mgmt network traffic.
63 description: Vlan ID for the tenant network traffic.
65 ManagementNetworkVlanID:
67 description: Vlan ID for the management network traffic.
69 ControlPlaneSubnetCidr: # Override this via parameter_defaults
71 description: The subnet CIDR of the control plane network.
73 ControlPlaneDefaultRoute: # Override this via parameter_defaults
74 description: The default route of the control plane network.
76 ExternalInterfaceDefaultRoute:
78 description: default route for the external network
80 ManagementInterfaceDefaultRoute: # Commented out by default in this template
82 description: The default route of the management network.
84 DnsServers: # Override this via parameter_defaults
86 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
87 type: comma_delimited_list
88 EC2MetadataIp: # Override this via parameter_defaults
89 description: The IP address of the EC2 metadata server.
93 type: OS::Heat::SoftwareConfig
99 get_file: ../../scripts/run-os-net-config.sh
110 - - get_param: ControlPlaneIp
111 - get_param: ControlPlaneSubnetCidr
113 - ip_netmask: 169.254.169.254/32
115 get_param: EC2MetadataIp
118 get_param: ControlPlaneDefaultRoute
122 get_param: DnsServers
127 get_param: BondInterfaceOvsOptions
137 get_param: ExternalNetworkVlanID
140 get_param: ExternalIpSubnet
144 get_param: ExternalInterfaceDefaultRoute
148 get_param: InternalApiNetworkVlanID
151 get_param: InternalApiIpSubnet
155 get_param: StorageNetworkVlanID
158 get_param: StorageIpSubnet
162 get_param: StorageMgmtNetworkVlanID
165 get_param: StorageMgmtIpSubnet
169 get_param: TenantNetworkVlanID
172 get_param: TenantIpSubnet
173 # Uncomment when including environments/network-management.yaml
174 # If setting default route on the Management interface, comment
175 # out the default route on the External interface. This will
176 # make the External API unreachable from remote subnets.
180 # vlan_id: {get_param: ManagementNetworkVlanID}
183 # ip_netmask: {get_param: ManagementIpSubnet}
187 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
190 description: The OsNetConfigImpl resource.
192 get_resource: OsNetConfigImpl