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=balance-tcp lacp=active other-config:lacp-fallback-ab=true'
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.
36 Default wil attempt LACP, but will fall back to active-backup.
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 ExternalInterfaceDefaultRoute:
60 description: default route for the external network
62 ControlPlaneSubnetCidr: # Override this via parameter_defaults
64 description: The subnet CIDR of the control plane network.
66 DnsServers: # Override this via parameter_defaults
68 description: A list of DNS servers (2 max for some implementations) that will be added to resolv.conf.
69 type: comma_delimited_list
70 EC2MetadataIp: # Override this via parameter_defaults
71 description: The IP address of the EC2 metadata server.
76 type: OS::Heat::StructuredConfig
78 group: os-apply-config
91 - - {get_param: ControlPlaneIp}
92 - {get_param: ControlPlaneSubnetCidr}
95 ip_netmask: 169.254.169.254/32
96 next_hop: {get_param: EC2MetadataIp}
99 name: {get_input: bridge_name}
100 dns_servers: {get_param: DnsServers}
105 ovs_options: {get_param: BondInterfaceOvsOptions}
117 vlan_id: {get_param: ExternalNetworkVlanID}
120 ip_netmask: {get_param: ExternalIpSubnet}
123 ip_netmask: 0.0.0.0/0
124 next_hop: {get_param: ExternalInterfaceDefaultRoute}
128 vlan_id: {get_param: InternalApiNetworkVlanID}
131 ip_netmask: {get_param: InternalApiIpSubnet}
135 vlan_id: {get_param: StorageNetworkVlanID}
138 ip_netmask: {get_param: StorageIpSubnet}
142 vlan_id: {get_param: StorageMgmtNetworkVlanID}
145 ip_netmask: {get_param: StorageMgmtIpSubnet}
149 vlan_id: {get_param: TenantNetworkVlanID}
152 ip_netmask: {get_param: TenantIpSubnet}
156 description: The OsNetConfigImpl resource.
157 value: {get_resource: OsNetConfigImpl}