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 ControlPlaneSubnetCidr: # Override this via parameter_defaults
64 description: The subnet CIDR of the control plane network.
66 ControlPlaneDefaultRoute: # Override this via parameter_defaults
67 description: The default route of the control plane network.
69 ExternalInterfaceDefaultRoute:
71 description: default route for the external network
73 ManagementInterfaceDefaultRoute: # Commented out by default in this template
75 description: The default route of the management network.
77 DnsServers: # Override this via parameter_defaults
79 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
80 type: comma_delimited_list
81 EC2MetadataIp: # Override this via parameter_defaults
82 description: The IP address of the EC2 metadata server.
87 type: OS::Heat::StructuredConfig
89 group: os-apply-config
97 dns_servers: {get_param: DnsServers}
103 - - {get_param: ControlPlaneIp}
104 - {get_param: ControlPlaneSubnetCidr}
107 ip_netmask: 169.254.169.254/32
108 next_hop: {get_param: EC2MetadataIp}
112 next_hop: {get_param: ControlPlaneDefaultRoute}
119 ip_netmask: {get_param: StorageIpSubnet}
126 ip_netmask: {get_param: StorageMgmtIpSubnet}
133 ip_netmask: {get_param: InternalApiIpSubnet}
135 # Create a bridge which can also be used for VLAN-mode bridge mapping
141 ip_netmask: {get_param: TenantIpSubnet}
147 # force the MAC address of the bridge to this interface
151 name: {get_input: bridge_name}
152 dns_servers: {get_param: DnsServers}
156 ip_netmask: {get_param: ExternalIpSubnet}
161 next_hop: {get_param: ExternalInterfaceDefaultRoute}
166 # force the MAC address of the bridge to this interface
168 # Uncomment when including environments/network-management.yaml
169 # If setting default route on the Management interface, comment
170 # out the default route on the External interface. This will
171 # make the External API unreachable from remote subnets.
178 # ip_netmask: {get_param: ManagementIpSubnet}
182 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
186 description: The OsNetConfigImpl resource.
187 value: {get_resource: OsNetConfigImpl}