1 heat_template_version: 2015-04-30
4 Software Config to drive os-net-config to configure VLANs for the
10 description: IP address/subnet on the ctlplane network
14 description: IP address/subnet on the external network
18 description: IP address/subnet on the internal API network
22 description: IP address/subnet on the storage network
26 description: IP address/subnet on the storage mgmt network
30 description: IP address/subnet on the tenant network
32 ManagementIpSubnet: # Only populated when including environments/network-management.yaml
34 description: IP address/subnet on the management network
36 ExternalNetworkVlanID:
38 description: Vlan ID for the external network traffic.
40 InternalApiNetworkVlanID:
42 description: Vlan ID for the internal_api network traffic.
46 description: Vlan ID for the storage network traffic.
48 StorageMgmtNetworkVlanID:
50 description: Vlan ID for the storage mgmt network traffic.
54 description: Vlan ID for the tenant network traffic.
56 ManagementNetworkVlanID:
58 description: Vlan ID for the management network traffic.
60 ControlPlaneDefaultRoute: # Override this via parameter_defaults
61 description: The default route of the control plane network.
63 ExternalInterfaceDefaultRoute:
65 description: default route for the external network
67 ManagementInterfaceDefaultRoute: # Commented out by default in this template
69 description: The default route of the management network.
71 ControlPlaneSubnetCidr: # Override this via parameter_defaults
73 description: The subnet CIDR of the control plane network.
75 DnsServers: # Override this via parameter_defaults
77 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
78 type: comma_delimited_list
79 EC2MetadataIp: # Override this via parameter_defaults
80 description: The IP address of the EC2 metadata server.
85 type: OS::Heat::StructuredConfig
87 group: os-apply-config
93 name: {get_input: bridge_name}
95 dns_servers: {get_param: DnsServers}
101 - - {get_param: ControlPlaneIp}
102 - {get_param: ControlPlaneSubnetCidr}
105 ip_netmask: 169.254.169.254/32
106 next_hop: {get_param: EC2MetadataIp}
110 next_hop: {get_param: ControlPlaneDefaultRoute}
114 name: {get_input: interface_name}
115 # force the MAC address of the bridge to this interface
119 vlan_id: {get_param: ExternalNetworkVlanID}
120 device: {get_input: bridge_name}
123 ip_netmask: {get_param: ExternalIpSubnet}
128 next_hop: {get_param: ExternalInterfaceDefaultRoute}
131 vlan_id: {get_param: InternalApiNetworkVlanID}
132 device: {get_input: bridge_name}
135 ip_netmask: {get_param: InternalApiIpSubnet}
138 vlan_id: {get_param: StorageNetworkVlanID}
139 device: {get_input: bridge_name}
142 ip_netmask: {get_param: StorageIpSubnet}
145 vlan_id: {get_param: StorageMgmtNetworkVlanID}
146 device: {get_input: bridge_name}
149 ip_netmask: {get_param: StorageMgmtIpSubnet}
152 vlan_id: {get_param: TenantNetworkVlanID}
153 device: {get_input: bridge_name}
156 ip_netmask: {get_param: TenantIpSubnet}
157 # Uncomment when including environments/network-management.yaml
158 # If setting default route on the Management interface, comment
159 # out the default route on the External interface. This will
160 # make the External API unreachable from remote subnets.
163 # vlan_id: {get_param: ManagementNetworkVlanID}
164 # device: {get_input: bridge_name}
167 # ip_netmask: {get_param: ManagementIpSubnet}
171 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
175 description: The OsNetConfigImpl resource.
176 value: {get_resource: OsNetConfigImpl}