specified gateway and compute interfaces
Change-Id: I525d5d4ab00bec3c9378e13064a93d64b26ebf7d
diff --git a/classes/cluster/virtual-mcp05-ovs/openstack/gateway.yml b/classes/cluster/virtual-mcp05-ovs/openstack/gateway.yml
index 5b3dc93..946d1c2 100644
--- a/classes/cluster/virtual-mcp05-ovs/openstack/gateway.yml
+++ b/classes/cluster/virtual-mcp05-ovs/openstack/gateway.yml
@@ -11,3 +11,47 @@
external_interface: eth3
interface_mtu: 9000
linux_system_codename: trusty
+ linux:
+ network:
+ bridge: openvswitch
+ interface:
+ dhcp_int:
+ enabled: true
+ name: eth0
+ proto: dhcp
+ type: eth
+ mtu: ${_param:interface_mtu}
+ primary_interface:
+ enabled: true
+ name: ${_param:primary_interface}
+ mtu: ${_param:interface_mtu}
+ proto: manual
+ type: eth
+ tenant_interface:
+ enabled: true
+ name: ${_param:tenant_interface}
+ mtu: ${_param:interface_mtu}
+ proto: manual
+ type: eth
+ br-floating:
+ enabled: true
+ type: ovs_bridge
+ mtu: ${_param:interface_mtu}
+ br-mgmt:
+ enabled: true
+ type: bridge
+ proto: static
+ address: ${_param:single_address}
+ netmask: 255.255.255.0
+ mtu: ${_param:interface_mtu}
+ use_interfaces:
+ - ${_param:primary_interface}
+ br-mesh:
+ enabled: true
+ type: bridge
+ mtu: ${_param:interface_mtu}
+ proto: static
+ address: ${_param:tenant_address}
+ netmask: 255.255.255.0
+ use_interfaces:
+ - ${_param:tenant_interface}