1 heat_template_version: 2015-04-30
4 Software Config to drive os-net-config to configure VLANs for the
5 controller role with IPv6 on the External network. The IPv6 default
6 route is on the External network, and the IPv4 default route is on
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 ControlPlaneDefaultRoute: # Override this via parameter_defaults
63 description: The default route of the control plane network.
65 ExternalInterfaceDefaultRoute:
67 description: default route for the external network
69 ManagementInterfaceDefaultRoute: # Commented out by default in this template
71 description: The default route of the management network.
73 ControlPlaneSubnetCidr: # Override this via parameter_defaults
75 description: The subnet CIDR of the control plane 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
95 name: {get_input: bridge_name}
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}
116 name: {get_input: interface_name}
117 # force the MAC address of the bridge to this interface
121 vlan_id: {get_param: ExternalNetworkVlanID}
122 device: {get_input: bridge_name}
125 ip_netmask: {get_param: ExternalIpSubnet}
130 next_hop: {get_param: ExternalInterfaceDefaultRoute}
133 vlan_id: {get_param: InternalApiNetworkVlanID}
134 device: {get_input: bridge_name}
137 ip_netmask: {get_param: InternalApiIpSubnet}
140 vlan_id: {get_param: StorageNetworkVlanID}
141 device: {get_input: bridge_name}
144 ip_netmask: {get_param: StorageIpSubnet}
147 vlan_id: {get_param: StorageMgmtNetworkVlanID}
148 device: {get_input: bridge_name}
151 ip_netmask: {get_param: StorageMgmtIpSubnet}
154 vlan_id: {get_param: TenantNetworkVlanID}
155 device: {get_input: bridge_name}
158 ip_netmask: {get_param: TenantIpSubnet}
159 # Uncomment when including environments/network-management.yaml
160 # If setting default route on the Management interface, comment
161 # out the default route on the External interface. This will
162 # make the External API unreachable from remote subnets.
165 # vlan_id: {get_param: ManagementNetworkVlanID}
166 # device: {get_input: bridge_name}
169 # ip_netmask: {get_param: ManagementIpSubnet}
173 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
177 description: The OsNetConfigImpl resource.
178 value: {get_resource: OsNetConfigImpl}