1 heat_template_version: '2016-10-14'
3 Software Config to drive os-net-config to configure VLANs for the controller role with IPv6 on the External network. The
4 IPv6 default route is on the External network, and the IPv4 default route is on the Control Plane.
8 description: IP address/subnet on the ctlplane network
12 description: IP address/subnet on the external network
16 description: IP address/subnet on the internal API network
20 description: IP address/subnet on the storage network
24 description: IP address/subnet on the storage mgmt network
28 description: IP address/subnet on the tenant network
30 ManagementIpSubnet: # Only populated when including environments/network-management.yaml
32 description: IP address/subnet on the management network
34 ExternalNetworkVlanID:
36 description: Vlan ID for the external network traffic.
38 InternalApiNetworkVlanID:
40 description: Vlan ID for the internal_api network traffic.
44 description: Vlan ID for the storage network traffic.
46 StorageMgmtNetworkVlanID:
48 description: Vlan ID for the storage mgmt network traffic.
52 description: Vlan ID for the tenant network traffic.
54 ManagementNetworkVlanID:
56 description: Vlan ID for the management network traffic.
58 ControlPlaneSubnetCidr: # Override this via parameter_defaults
60 description: The subnet CIDR of the control plane network.
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 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.
82 type: OS::Heat::SoftwareConfig
88 get_file: ../../scripts/run-os-net-config.sh
101 - - get_param: ControlPlaneIp
102 - get_param: ControlPlaneSubnetCidr
104 - ip_netmask: 169.254.169.254/32
106 get_param: EC2MetadataIp
109 get_param: ControlPlaneDefaultRoute
116 get_param: ExternalNetworkVlanID
119 get_param: ExternalIpSubnet
123 get_param: ExternalInterfaceDefaultRoute
126 get_param: InternalApiNetworkVlanID
129 get_param: InternalApiIpSubnet
132 get_param: StorageNetworkVlanID
135 get_param: StorageIpSubnet
138 get_param: StorageMgmtNetworkVlanID
141 get_param: StorageMgmtIpSubnet
144 get_param: TenantNetworkVlanID
147 get_param: TenantIpSubnet
148 # Uncomment when including environments/network-management.yaml
149 # If setting default route on the Management interface, comment
150 # out the default route on the External interface. This will
151 # make the External API unreachable from remote subnets.
154 # vlan_id: {get_param: ManagementNetworkVlanID}
157 # ip_netmask: {get_param: ManagementIpSubnet}
161 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
164 description: The OsNetConfigImpl resource.
166 get_resource: OsNetConfigImpl