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 InternalApiNetworkVlanID:
34 description: Vlan ID for the internal_api network traffic.
38 description: Vlan ID for the storage network traffic.
42 description: Vlan ID for the tenant network traffic.
44 ControlPlaneSubnetCidr: # Override this via parameter_defaults
46 description: The subnet CIDR of the control plane network.
48 ControlPlaneDefaultRoute: # Override this via parameter_defaults
49 description: The default route of the control plane network.
51 DnsServers: # Override this via parameter_defaults
53 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
54 type: comma_delimited_list
55 EC2MetadataIp: # Override this via parameter_defaults
56 description: The IP address of the EC2 metadata server.
61 type: OS::Heat::StructuredConfig
63 group: os-apply-config
69 name: {get_input: bridge_name}
71 dns_servers: {get_param: DnsServers}
77 - - {get_param: ControlPlaneIp}
78 - {get_param: ControlPlaneSubnetCidr}
81 ip_netmask: 169.254.169.254/32
82 next_hop: {get_param: EC2MetadataIp}
86 next_hop: {get_param: ControlPlaneDefaultRoute}
90 name: {get_input: interface_name}
91 # force the MAC address of the bridge to this interface
95 vlan_id: {get_param: InternalApiNetworkVlanID}
96 device: {get_input: bridge_name}
99 ip_netmask: {get_param: InternalApiIpSubnet}
102 vlan_id: {get_param: StorageNetworkVlanID}
103 device: {get_input: bridge_name}
106 ip_netmask: {get_param: StorageIpSubnet}
109 vlan_id: {get_param: TenantNetworkVlanID}
110 device: {get_input: bridge_name}
113 ip_netmask: {get_param: TenantIpSubnet}
117 description: The OsNetConfigImpl resource.
118 value: {get_resource: OsNetConfigImpl}