1 heat_template_version: 2015-04-30
4 Software Config to drive os-net-config with 2 bonded nics on a bridge
5 with VLANs attached for the controller role.
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
32 ManagementIpSubnet: # Only populated when including environments/network-management.yaml
34 description: IP address/subnet on the management network
36 BondInterfaceOvsOptions:
37 default: 'bond_mode=active-backup'
38 description: The ovs_options string for the bond interface. Set things like
39 lacp=active and/or bond_mode=balance-slb using this option.
42 - allowed_pattern: "^((?!balance.tcp).)*$"
44 The balance-tcp bond mode is known to cause packet loss and
45 should not be used in BondInterfaceOvsOptions.
46 ExternalNetworkVlanID:
48 description: Vlan ID for the external network traffic.
50 InternalApiNetworkVlanID:
52 description: Vlan ID for the internal_api network traffic.
56 description: Vlan ID for the storage network traffic.
58 StorageMgmtNetworkVlanID:
60 description: Vlan ID for the storage mgmt network traffic.
64 description: Vlan ID for the tenant network traffic.
66 ManagementNetworkVlanID:
68 description: Vlan ID for the management network traffic.
70 ControlPlaneDefaultRoute: # Override this via parameter_defaults
71 description: The default route of the control plane network.
73 ExternalInterfaceDefaultRoute:
75 description: default route for the external network
77 ManagementInterfaceDefaultRoute: # Commented out by default in this template
79 description: The default route of the management network.
81 ControlPlaneSubnetCidr: # Override this via parameter_defaults
83 description: The subnet CIDR of the control plane network.
85 DnsServers: # Override this via parameter_defaults
87 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
88 type: comma_delimited_list
89 EC2MetadataIp: # Override this via parameter_defaults
90 description: The IP address of the EC2 metadata server.
95 type: OS::Heat::StructuredConfig
97 group: os-apply-config
110 - - {get_param: ControlPlaneIp}
111 - {get_param: ControlPlaneSubnetCidr}
114 ip_netmask: 169.254.169.254/32
115 next_hop: {get_param: EC2MetadataIp}
118 name: {get_input: bridge_name}
119 dns_servers: {get_param: DnsServers}
124 ovs_options: {get_param: BondInterfaceOvsOptions}
136 vlan_id: {get_param: ExternalNetworkVlanID}
139 ip_netmask: {get_param: ExternalIpSubnet}
143 next_hop: {get_param: ExternalInterfaceDefaultRoute}
147 vlan_id: {get_param: InternalApiNetworkVlanID}
150 ip_netmask: {get_param: InternalApiIpSubnet}
154 vlan_id: {get_param: StorageNetworkVlanID}
157 ip_netmask: {get_param: StorageIpSubnet}
161 vlan_id: {get_param: StorageMgmtNetworkVlanID}
164 ip_netmask: {get_param: StorageMgmtIpSubnet}
168 vlan_id: {get_param: TenantNetworkVlanID}
171 ip_netmask: {get_param: TenantIpSubnet}
172 # Uncomment when including environments/network-management.yaml
173 # If setting default route on the Management interface, comment
174 # out the default route on the External interface. This will
175 # make the External API unreachable from remote subnets.
179 # vlan_id: {get_param: ManagementNetworkVlanID}
182 # ip_netmask: {get_param: ManagementIpSubnet}
186 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
190 description: The OsNetConfigImpl resource.
191 value: {get_resource: OsNetConfigImpl}