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 ExternalNetworkVlanID:
34 description: Vlan ID for the external network traffic.
36 InternalApiNetworkVlanID:
38 description: Vlan ID for the internal_api network traffic.
42 description: Vlan ID for the storage network traffic.
44 StorageMgmtNetworkVlanID:
46 description: Vlan ID for the storage mgmt network traffic.
50 description: Vlan ID for the tenant network traffic.
52 ExternalInterfaceDefaultRoute:
54 description: default route for the external network
56 ControlPlaneSubnetCidr: # Override this via parameter_defaults
58 description: The subnet CIDR of the control plane network.
60 DnsServers: # Override this via parameter_defaults
62 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
63 type: comma_delimited_list
64 EC2MetadataIp: # Override this via parameter_defaults
65 description: The IP address of the EC2 metadata server.
67 ControlPlaneDefaultRoute: # Override this via parameter_defaults
68 description: The default route of the control plane network.
73 type: OS::Heat::StructuredConfig
75 group: os-apply-config
81 name: {get_input: bridge_name}
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}
98 next_hop: {get_param: ControlPlaneDefaultRoute}
102 name: {get_input: interface_name}
103 # force the MAC address of the bridge to this interface
107 vlan_id: {get_param: ExternalNetworkVlanID}
108 device: {get_input: bridge_name}
111 ip_netmask: {get_param: ExternalIpSubnet}
114 ip_netmask: 0.0.0.0/0
116 next_hop: {get_param: ExternalInterfaceDefaultRoute}
119 vlan_id: {get_param: InternalApiNetworkVlanID}
120 device: {get_input: bridge_name}
123 ip_netmask: {get_param: InternalApiIpSubnet}
126 vlan_id: {get_param: StorageNetworkVlanID}
127 device: {get_input: bridge_name}
130 ip_netmask: {get_param: StorageIpSubnet}
133 vlan_id: {get_param: StorageMgmtNetworkVlanID}
134 device: {get_input: bridge_name}
137 ip_netmask: {get_param: StorageMgmtIpSubnet}
140 vlan_id: {get_param: TenantNetworkVlanID}
141 device: {get_input: bridge_name}
144 ip_netmask: {get_param: TenantIpSubnet}
148 description: The OsNetConfigImpl resource.
149 value: {get_resource: OsNetConfigImpl}