1 heat_template_version: '2016-10-14'
3 Software Config to drive os-net-config to configure VLANs for the controller role.
7 description: IP address/subnet on the ctlplane network
11 description: IP address/subnet on the external network
15 description: IP address/subnet on the internal API network
19 description: IP address/subnet on the storage network
23 description: IP address/subnet on the storage mgmt network
27 description: IP address/subnet on the tenant network
29 ManagementIpSubnet: # Only populated when including environments/network-management.yaml
31 description: IP address/subnet on the management network
33 ExternalNetworkVlanID:
35 description: Vlan ID for the external network traffic.
37 InternalApiNetworkVlanID:
39 description: Vlan ID for the internal_api network traffic.
43 description: Vlan ID for the storage network traffic.
45 StorageMgmtNetworkVlanID:
47 description: Vlan ID for the storage mgmt network traffic.
51 description: Vlan ID for the tenant network traffic.
53 ManagementNetworkVlanID:
55 description: Vlan ID for the management network traffic.
57 ControlPlaneDefaultRoute: # Override this via parameter_defaults
58 description: The default route of the control plane network.
60 ExternalInterfaceDefaultRoute:
62 description: default route for the external network
64 ManagementInterfaceDefaultRoute: # Commented out by default in this template
66 description: The default route of the management network.
68 ControlPlaneSubnetCidr: # Override this via parameter_defaults
70 description: The subnet CIDR of the control plane network.
72 DnsServers: # Override this via parameter_defaults
74 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
75 type: comma_delimited_list
76 EC2MetadataIp: # Override this via parameter_defaults
77 description: The IP address of the EC2 metadata server.
81 type: OS::Heat::SoftwareConfig
87 get_file: ../../scripts/run-os-net-config.sh
100 - - get_param: ControlPlaneIp
101 - get_param: ControlPlaneSubnetCidr
103 - ip_netmask: 169.254.169.254/32
105 get_param: EC2MetadataIp
108 get_param: ControlPlaneDefaultRoute
115 get_param: ExternalNetworkVlanID
119 get_param: ExternalIpSubnet
123 get_param: ExternalInterfaceDefaultRoute
126 get_param: InternalApiNetworkVlanID
130 get_param: InternalApiIpSubnet
133 get_param: StorageNetworkVlanID
137 get_param: StorageIpSubnet
140 get_param: StorageMgmtNetworkVlanID
144 get_param: StorageMgmtIpSubnet
147 get_param: TenantNetworkVlanID
151 get_param: TenantIpSubnet
152 # Uncomment when including environments/network-management.yaml
153 # If setting default route on the Management interface, comment
154 # out the default route on the External interface. This will
155 # make the External API unreachable from remote subnets.
158 # vlan_id: {get_param: ManagementNetworkVlanID}
159 # device: bridge_name
162 # ip_netmask: {get_param: ManagementIpSubnet}
166 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
169 description: The OsNetConfigImpl resource.
171 get_resource: OsNetConfigImpl