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:
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 ExternalNetworkVlanID:
35 description: Vlan ID for the external network traffic.
37 InternalApiNetworkVlanID:
39 description: Vlan ID for the internal_api network traffic.
43 description: Vlan ID for the storage network traffic.
45 StorageMgmtNetworkVlanID:
47 description: Vlan ID for the storage mgmt network traffic.
51 description: Vlan ID for the tenant network traffic.
56 type: OS::Heat::StructuredConfig
58 group: os-apply-config
64 name: {get_input: bridge_name}
70 # force the MAC address of the bridge to this interface
79 ovs_options: {get_param: BondInterfaceOvsOptions}
91 vlan_id: {get_param: ExternalNetworkVlanID}
94 ip_netmask: {get_param: ExternalIpSubnet}
98 vlan_id: {get_param: InternalApiNetworkVlanID}
101 ip_netmask: {get_param: InternalApiIpSubnet}
105 vlan_id: {get_param: StorageNetworkVlanID}
108 ip_netmask: {get_param: StorageIpSubnet}
112 vlan_id: {get_param: StorageMgmtNetworkVlanID}
115 ip_netmask: {get_param: StorageMgmtIpSubnet}
119 vlan_id: {get_param: TenantNetworkVlanID}
122 ip_netmask: {get_param: TenantIpSubnet}
126 description: The OsNetConfigImpl resource.
127 value: {get_resource: OsNetConfigImpl}