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 with IPv6 on the External
6 network. The IPv6 default route is on the External network, and the
7 IPv4 default route is on the Control Plane.
12 description: IP address/subnet on the ctlplane network
16 description: IP address/subnet on the external network
20 description: IP address/subnet on the internal API network
24 description: IP address/subnet on the storage network
28 description: IP address/subnet on the storage mgmt network
32 description: IP address/subnet on the tenant network
34 ManagementIpSubnet: # Only populated when including environments/network-management.yaml
36 description: IP address/subnet on the management network
38 BondInterfaceOvsOptions:
39 default: 'bond_mode=active-backup'
40 description: The ovs_options string for the bond interface. Set things like
41 lacp=active and/or bond_mode=balance-slb using this option.
44 - allowed_pattern: "^((?!balance.tcp).)*$"
46 The balance-tcp bond mode is known to cause packet loss and
47 should not be used in BondInterfaceOvsOptions.
48 ExternalNetworkVlanID:
50 description: Vlan ID for the external network traffic.
52 InternalApiNetworkVlanID:
54 description: Vlan ID for the internal_api network traffic.
58 description: Vlan ID for the storage network traffic.
60 StorageMgmtNetworkVlanID:
62 description: Vlan ID for the storage mgmt network traffic.
66 description: Vlan ID for the tenant network traffic.
68 ManagementNetworkVlanID:
70 description: Vlan ID for the management network traffic.
72 ControlPlaneSubnetCidr: # Override this via parameter_defaults
74 description: The subnet CIDR of the control plane network.
76 ControlPlaneDefaultRoute: # Override this via parameter_defaults
77 description: The default route of the control plane network.
79 ExternalInterfaceDefaultRoute:
81 description: default route for the external network
83 ManagementInterfaceDefaultRoute: # Commented out by default in this template
85 description: The default route of the management network.
87 DnsServers: # Override this via parameter_defaults
89 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
90 type: comma_delimited_list
91 EC2MetadataIp: # Override this via parameter_defaults
92 description: The IP address of the EC2 metadata server.
97 type: OS::Heat::StructuredConfig
99 group: os-apply-config
112 - - {get_param: ControlPlaneIp}
113 - {get_param: ControlPlaneSubnetCidr}
116 ip_netmask: 169.254.169.254/32
117 next_hop: {get_param: EC2MetadataIp}
120 next_hop: {get_param: ControlPlaneDefaultRoute}
123 name: {get_input: bridge_name}
124 dns_servers: {get_param: DnsServers}
129 ovs_options: {get_param: BondInterfaceOvsOptions}
141 vlan_id: {get_param: ExternalNetworkVlanID}
144 ip_netmask: {get_param: ExternalIpSubnet}
148 next_hop: {get_param: ExternalInterfaceDefaultRoute}
152 vlan_id: {get_param: InternalApiNetworkVlanID}
155 ip_netmask: {get_param: InternalApiIpSubnet}
159 vlan_id: {get_param: StorageNetworkVlanID}
162 ip_netmask: {get_param: StorageIpSubnet}
166 vlan_id: {get_param: StorageMgmtNetworkVlanID}
169 ip_netmask: {get_param: StorageMgmtIpSubnet}
173 vlan_id: {get_param: TenantNetworkVlanID}
176 ip_netmask: {get_param: TenantIpSubnet}
177 # Uncomment when including environments/network-management.yaml
178 # If setting default route on the Management interface, comment
179 # out the default route on the External interface. This will
180 # make the External API unreachable from remote subnets.
184 # vlan_id: {get_param: ManagementNetworkVlanID}
187 # ip_netmask: {get_param: ManagementIpSubnet}
191 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
195 description: The OsNetConfigImpl resource.
196 value: {get_resource: OsNetConfigImpl}