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 cinder storage 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:
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.
33 InternalApiNetworkVlanID:
35 description: Vlan ID for the internal_api network traffic.
39 description: Vlan ID for the storage network traffic.
41 StorageMgmtNetworkVlanID:
43 description: Vlan ID for the storage mgmt network traffic.
48 type: OS::Heat::StructuredConfig
50 group: os-apply-config
62 # force the MAC address of the bridge to this interface
71 ovs_options: {get_param: BondInterfaceOvsOptions}
83 vlan_id: {get_param: InternalApiNetworkVlanID}
86 ip_netmask: {get_param: InternalApiIpSubnet}
90 vlan_id: {get_param: StorageNetworkVlanID}
93 ip_netmask: {get_param: StorageIpSubnet}
97 vlan_id: {get_param: StorageMgmtNetworkVlanID}
100 ip_netmask: {get_param: StorageMgmtIpSubnet}
104 description: The OsNetConfigImpl resource.
105 value: {get_resource: OsNetConfigImpl}