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
38 description: Vlan ID for the storage network traffic.
40 StorageMgmtNetworkVlanID:
42 description: Vlan ID for the storage mgmt network traffic.
44 ManagementNetworkVlanID:
46 description: Vlan ID for the management network traffic.
48 ControlPlaneSubnetCidr: # Override this via parameter_defaults
50 description: The subnet CIDR of the control plane network.
52 ControlPlaneDefaultRoute: # Override this via parameter_defaults
53 description: The default route of the control plane network.
55 ExternalInterfaceDefaultRoute: # Not used by default in this template
57 description: The default route of the external network.
59 ManagementInterfaceDefaultRoute: # Commented out by default in this template
61 description: The default route of the management network.
63 DnsServers: # Override this via parameter_defaults
65 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
66 type: comma_delimited_list
67 EC2MetadataIp: # Override this via parameter_defaults
68 description: The IP address of the EC2 metadata server.
73 type: OS::Heat::StructuredConfig
75 group: os-apply-config
83 dns_servers: {get_param: DnsServers}
89 - - {get_param: ControlPlaneIp}
90 - {get_param: ControlPlaneSubnetCidr}
93 ip_netmask: 169.254.169.254/32
94 next_hop: {get_param: EC2MetadataIp}
97 next_hop: {get_param: ControlPlaneDefaultRoute}
102 # force the MAC address of the bridge to this interface
106 vlan_id: {get_param: StorageNetworkVlanID}
109 ip_netmask: {get_param: StorageIpSubnet}
112 vlan_id: {get_param: StorageMgmtNetworkVlanID}
115 ip_netmask: {get_param: StorageMgmtIpSubnet}
116 # Uncomment when including environments/network-management.yaml
117 # If setting default route on the Management interface, comment
118 # out the default route on the Control Plane.
121 # vlan_id: {get_param: ManagementNetworkVlanID}
124 # ip_netmask: {get_param: ManagementIpSubnet}
128 # next_hop: {get_param: ManagementInterfaceDefaultRoute}
132 description: The OsNetConfigImpl resource.
133 value: {get_resource: OsNetConfigImpl}