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 external network
14 description: IP address/subnet on the internal API network
18 description: IP address/subnet on the storage network
22 description: IP address/subnet on the storage mgmt network
26 description: IP address/subnet on the tenant network
28 BondInterfaceOvsOptions:
29 default: 'bond_mode=balance-tcp lacp=active other-config:lacp-fallback-ab=true'
30 description: The ovs_options string for the bond interface. Set things like
31 lacp=active and/or bond_mode=balance-slb using this option.
32 Default wil attempt LACP, but will fall back to active-backup.
34 ExternalNetworkVlanID:
36 description: Vlan ID for the external network traffic.
38 InternalApiNetworkVlanID:
40 description: Vlan ID for the internal_api network traffic.
44 description: Vlan ID for the storage network traffic.
46 StorageMgmtNetworkVlanID:
48 description: Vlan ID for the storage mgmt network traffic.
52 description: Vlan ID for the tenant network traffic.
54 ExternalInterfaceDefaultRoute:
56 description: default route for the external network
61 type: OS::Heat::StructuredConfig
63 group: os-apply-config
69 name: {get_input: bridge_name}
74 ovs_options: {get_param: BondInterfaceOvsOptions}
86 vlan_id: {get_param: ExternalNetworkVlanID}
89 ip_netmask: {get_param: ExternalIpSubnet}
93 next_hop: {get_param: ExternalInterfaceDefaultRoute}
97 vlan_id: {get_param: InternalApiNetworkVlanID}
100 ip_netmask: {get_param: InternalApiIpSubnet}
104 vlan_id: {get_param: StorageNetworkVlanID}
107 ip_netmask: {get_param: StorageIpSubnet}
111 vlan_id: {get_param: StorageMgmtNetworkVlanID}
114 ip_netmask: {get_param: StorageMgmtIpSubnet}
118 vlan_id: {get_param: TenantNetworkVlanID}
121 ip_netmask: {get_param: TenantIpSubnet}
125 description: The OsNetConfigImpl resource.
126 value: {get_resource: OsNetConfigImpl}