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 ExternalInterfaceDefaultRoute:
64 description: default route for the external network
66 ControlPlaneSubnetCidr: # Override this via parameter_defaults
68 description: The subnet CIDR of the control plane network.
70 ControlPlaneDefaultRoute: # Override this via parameter_defaults
71 description: The default route 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.
83 type: OS::Heat::StructuredConfig
85 group: os-apply-config
91 name: {get_input: bridge_name}
93 dns_servers: {get_param: DnsServers}
99 - - {get_param: ControlPlaneIp}
100 - {get_param: ControlPlaneSubnetCidr}
103 ip_netmask: 169.254.169.254/32
104 next_hop: {get_param: EC2MetadataIp}
107 next_hop: {get_param: ControlPlaneDefaultRoute}
112 # force the MAC address of the bridge to this interface
116 vlan_id: {get_param: ExternalNetworkVlanID}
119 ip_netmask: {get_param: ExternalIpSubnet}
123 next_hop: {get_param: ExternalInterfaceDefaultRoute}
126 vlan_id: {get_param: InternalApiNetworkVlanID}
129 ip_netmask: {get_param: InternalApiIpSubnet}
132 vlan_id: {get_param: StorageNetworkVlanID}
135 ip_netmask: {get_param: StorageIpSubnet}
138 vlan_id: {get_param: StorageMgmtNetworkVlanID}
141 ip_netmask: {get_param: StorageMgmtIpSubnet}
144 vlan_id: {get_param: TenantNetworkVlanID}
147 ip_netmask: {get_param: TenantIpSubnet}
148 #- # Uncomment when including environments/network-management.yaml
150 # vlan_id: {get_param: ManagementNetworkVlanID}
153 # ip_netmask: {get_param: ManagementIpSubnet}
157 description: The OsNetConfigImpl resource.
158 value: {get_resource: OsNetConfigImpl}