summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/gateway.yml
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-06-02 16:39:58 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-06-06 14:17:11 +0400
commitd433573b98d288feaff518dd3ac9a5b19e35f1e6 (patch)
tree0587efc8933affb7f7765dd1be5d6937c798420c /mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/gateway.yml
parentf19e006f84e98bdee061d79e68c316364251dcbc (diff)
[mcp] Mend dpdk scenario
Make a reboot of the compute nodes to activate hugepages support and re-apply required states then. Also align ovs lcore & pmd masks with two cpu nodes. Change-Id: I4a5defe6f08e912aba2d939ba5ba057af768a40c Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/gateway.yml')
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/gateway.yml41
1 files changed, 25 insertions, 16 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/gateway.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/gateway.yml
index e9f09ca0b..64e2245cb 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/gateway.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-ovs-dpdk/openstack/gateway.yml
@@ -29,37 +29,46 @@ parameters:
type: eth
tenant_interface:
enabled: true
+ ovs_bridge: br-prv
name: ${_param:tenant_interface}
mtu: ${_param:interface_mtu}
proto: manual
type: eth
- br_ctl:
+ external_interface:
enabled: true
- type: ovs_port
- bridge: br-floating
+ name: ${_param:external_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-floating:
- enabled: true
- type: ovs_bridge
br-prv:
enabled: true
type: ovs_bridge
- address: ${_param:tenant_address}
- netmask: 255.255.255.0
- floating-to-prv:
+ mtu: ${_param:interface_mtu}
+ float-to-ex:
enabled: true
type: ovs_port
- port_type: patch
+ mtu: ${_param:interface_mtu}
bridge: br-floating
- peer: prv-to-floating
- prv-to-floating:
+ br-ex:
enabled: true
- type: ovs_port
- port_type: patch
- bridge: br-prv
- peer: floating-to-prv
+ type: bridge
+ mtu: ${_param:interface_mtu}
+ address: ${_param:external_address}
+ netmask: 255.255.255.0
+ use_interfaces:
+ - ${_param:external_interface}
+ use_ovs_ports:
+ - float-to-ex