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.
43 ExternalNetworkVlanID:
45 description: Vlan ID for the external network traffic.
47 InternalApiNetworkVlanID:
49 description: Vlan ID for the internal_api network traffic.
53 description: Vlan ID for the storage network traffic.
55 StorageMgmtNetworkVlanID:
57 description: Vlan ID for the storage mgmt network traffic.
61 description: Vlan ID for the tenant network traffic.
63 ManagementNetworkVlanID:
65 description: Vlan ID for the management network traffic.
67 ControlPlaneSubnetCidr: # Override this via parameter_defaults
69 description: The subnet CIDR of the control plane network.
71 ControlPlaneDefaultRoute: # Override this via parameter_defaults
72 description: The default route of the control plane network.
74 ExternalInterfaceDefaultRoute:
76 description: default route for the external network
78 ManagementInterfaceDefaultRoute: # Commented out by default in this template
80 description: The default route of the management network.
82 DnsServers: # Override this via parameter_defaults
84 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
85 type: comma_delimited_list
86 EC2MetadataIp: # Override this via parameter_defaults
87 description: The IP address of the EC2 metadata server.
92 type: OS::Heat::StructuredConfig
94 group: os-apply-config
107 - - {get_param: ControlPlaneIp}
108 - {get_param: ControlPlaneSubnetCidr}
111 ip_netmask: 169.254.169.254/32
112 next_hop: {get_param: EC2MetadataIp}
116 next_hop: {get_param: ControlPlaneDefaultRoute}
119 name: {get_input: bridge_name}
120 dns_servers: {get_param: DnsServers}
125 ovs_options: {get_param: BondInterfaceOvsOptions}
137 vlan_id: {get_param: ExternalNetworkVlanID}
140 ip_netmask: {get_param: ExternalIpSubnet}
145 next_hop: {get_param: ExternalInterfaceDefaultRoute}
149 vlan_id: {get_param: InternalApiNetworkVlanID}
152 ip_netmask: {get_param: InternalApiIpSubnet}
156 vlan_id: {get_param: StorageNetworkVlanID}
159 ip_netmask: {get_param: StorageIpSubnet}
163 vlan_id: {get_param: StorageMgmtNetworkVlanID}
166 ip_netmask: {get_param: StorageMgmtIpSubnet}
170 vlan_id: {get_param: TenantNetworkVlanID}
173 ip_netmask: {get_param: TenantIpSubnet}
174 # Uncomment when including environments/network-management.yaml
175 # If setting default route on the Management interface, comment
176 # out the default route on the External interface. This will
177 # make the External API unreachable from remote subnets.
181 # vlan_id: {get_param: ManagementNetworkVlanID}
184 # ip_netmask: {get_param: ManagementIpSubnet}
188 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
192 description: The OsNetConfigImpl resource.
193 value: {get_resource: OsNetConfigImpl}