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 ControlPlaneDefaultRoute: # Override this via parameter_defaults
59 description: The default route of the control plane network.
61 ExternalInterfaceDefaultRoute:
63 description: default route for the external network
65 ManagementInterfaceDefaultRoute: # Commented out by default in this template
67 description: The default route of the management network.
69 ControlPlaneSubnetCidr: # Override this via parameter_defaults
71 description: The subnet CIDR 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.
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
120 get_param: ExternalIpSubnet
124 get_param: ExternalInterfaceDefaultRoute
127 get_param: InternalApiNetworkVlanID
131 get_param: InternalApiIpSubnet
134 get_param: StorageNetworkVlanID
138 get_param: StorageIpSubnet
141 get_param: StorageMgmtNetworkVlanID
145 get_param: StorageMgmtIpSubnet
148 get_param: TenantNetworkVlanID
152 get_param: TenantIpSubnet
153 # Uncomment when including environments/network-management.yaml
154 # If setting default route on the Management interface, comment
155 # out the default route on the External interface. This will
156 # make the External API unreachable from remote subnets.
159 # vlan_id: {get_param: ManagementNetworkVlanID}
160 # device: bridge_name
163 # ip_netmask: {get_param: ManagementIpSubnet}
167 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
170 description: The OsNetConfigImpl resource.
172 get_resource: OsNetConfigImpl