1 heat_template_version: 2015-04-30
4 Software Config to drive os-net-config with 2 bonded nics on a bridge
5 with VLANs attached for the controller role.
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 BondInterfaceOvsOptions:
33 default: 'bond_mode=active-backup'
34 description: The ovs_options string for the bond interface. Set things like
35 lacp=active and/or bond_mode=balance-slb using this option.
37 ExternalNetworkVlanID:
39 description: Vlan ID for the external network traffic.
41 InternalApiNetworkVlanID:
43 description: Vlan ID for the internal_api network traffic.
47 description: Vlan ID for the storage network traffic.
49 StorageMgmtNetworkVlanID:
51 description: Vlan ID for the storage mgmt network traffic.
55 description: Vlan ID for the tenant network traffic.
57 ExternalInterfaceDefaultRoute:
59 description: default route for the external network
61 ControlPlaneSubnetCidr: # Override this via parameter_defaults
63 description: The subnet CIDR of the control plane network.
65 DnsServers: # Override this via parameter_defaults
67 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
68 type: comma_delimited_list
69 EC2MetadataIp: # Override this via parameter_defaults
70 description: The IP address of the EC2 metadata server.
75 type: OS::Heat::StructuredConfig
77 group: os-apply-config
90 - - {get_param: ControlPlaneIp}
91 - {get_param: ControlPlaneSubnetCidr}
94 ip_netmask: 169.254.169.254/32
95 next_hop: {get_param: EC2MetadataIp}
98 name: {get_input: bridge_name}
99 dns_servers: {get_param: DnsServers}
104 ovs_options: {get_param: BondInterfaceOvsOptions}
116 vlan_id: {get_param: ExternalNetworkVlanID}
119 ip_netmask: {get_param: ExternalIpSubnet}
122 ip_netmask: 0.0.0.0/0
123 next_hop: {get_param: ExternalInterfaceDefaultRoute}
127 vlan_id: {get_param: InternalApiNetworkVlanID}
130 ip_netmask: {get_param: InternalApiIpSubnet}
134 vlan_id: {get_param: StorageNetworkVlanID}
137 ip_netmask: {get_param: StorageIpSubnet}
141 vlan_id: {get_param: StorageMgmtNetworkVlanID}
144 ip_netmask: {get_param: StorageMgmtIpSubnet}
148 vlan_id: {get_param: TenantNetworkVlanID}
151 ip_netmask: {get_param: TenantIpSubnet}
155 description: The OsNetConfigImpl resource.
156 value: {get_resource: OsNetConfigImpl}