1 heat_template_version: 2015-04-30
4 Software Config to drive os-net-config to configure multiple interfaces
5 for the controller role with IPv6 on the External network. The IPv6
6 default route is on the External network, and the IPv4 default route
7 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 ExternalNetworkVlanID:
40 description: Vlan ID for the external network traffic.
42 InternalApiNetworkVlanID:
44 description: Vlan ID for the internal_api network traffic.
48 description: Vlan ID for the storage network traffic.
50 StorageMgmtNetworkVlanID:
52 description: Vlan ID for the storage mgmt network traffic.
56 description: Vlan ID for the tenant network traffic.
58 ManagementNetworkVlanID:
60 description: Vlan ID for the management network traffic.
62 ExternalInterfaceDefaultRoute:
64 description: default route for the external network
66 ControlPlaneSubnetCidr: # Override this via parameter_defaults
68 description: The subnet CIDR of the control plane network.
70 ControlPlaneDefaultRoute: # Override this via parameter_defaults
71 description: The default route of the control plane network.
73 DnsServers: # Override this via parameter_defaults
75 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
76 type: comma_delimited_list
77 EC2MetadataIp: # Override this via parameter_defaults
78 description: The IP address of the EC2 metadata server.
83 type: OS::Heat::StructuredConfig
85 group: os-apply-config
93 dns_servers: {get_param: DnsServers}
99 - - {get_param: ControlPlaneIp}
100 - {get_param: ControlPlaneSubnetCidr}
103 ip_netmask: 169.254.169.254/32
104 next_hop: {get_param: EC2MetadataIp}
107 next_hop: {get_param: ControlPlaneDefaultRoute}
114 ip_netmask: {get_param: StorageIpSubnet}
121 ip_netmask: {get_param: StorageMgmtIpSubnet}
128 ip_netmask: {get_param: InternalApiIpSubnet}
130 # Create a bridge which can also be used for VLAN-mode bridge mapping
136 ip_netmask: {get_param: TenantIpSubnet}
142 # force the MAC address of the bridge to this interface
146 name: {get_input: bridge_name}
147 dns_servers: {get_param: DnsServers}
151 ip_netmask: {get_param: ExternalIpSubnet}
155 next_hop: {get_param: ExternalInterfaceDefaultRoute}
160 # force the MAC address of the bridge to this interface
162 # Uncomment when including environments/network-management.yaml
169 # ip_netmask: {get_param: ManagementIpSubnet}
173 description: The OsNetConfigImpl resource.
174 value: {get_resource: OsNetConfigImpl}