summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-08-22 15:22:34 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-08-22 15:51:10 +0400
commitf021e694f6cae29d245f8455daad8d608d6af1ae (patch)
tree22e6d04a500707239f2c18de8ba8a0a8fcae3e36 /mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
parent14bfaca0fd98995feae9e46a71ccdc227c908ce4 (diff)
Configure neutron gateway
Change-Id: I01744bd5728d6fc4c8cd3792aee9759434d18645 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml')
-rw-r--r--mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml31
1 files changed, 30 insertions, 1 deletions
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
index 18a7a0bb2..070ab7865 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
@@ -5,7 +5,7 @@ classes:
- system.nova.compute.cluster
- system.nova.compute.nfv.hugepages
- system.nova.compute.nfv.cpu_pinning
-- system.neutron.compute.cluster
+- system.neutron.gateway.cluster
- system.ceilometer.agent.cluster
- cluster.baremetal-mcp-ocata-ovs-ha.infra
parameters:
@@ -21,7 +21,11 @@ parameters:
nova_vncproxy_url: https://${_param:cluster_public_host}:6080
mgmt_nic: enp6s0
tenant_nic: enp7s0
+ external_nic: enp8s0
linux_system_codename: xenial
+ interface_mtu: 1500
+ keepalived_vip_interface: br-ctl
+ keepalived_vip_virtual_router_id: 69
linux:
network:
bridge: openvswitch
@@ -36,6 +40,12 @@ parameters:
type: eth
proto: manual
name: ${_param:tenant_nic}
+ external_nic:
+ enabled: true
+ name: ${_param:external_nic}
+ mtu: ${_param:interface_mtu}
+ proto: manual
+ type: eth
br-mesh:
enabled: true
type: bridge
@@ -66,3 +76,22 @@ parameters:
netmask: 255.255.255.0
use_interfaces:
- ${_param:mgmt_nic}.300
+ br-floating:
+ enabled: true
+ type: ovs_bridge
+ mtu: ${_param:interface_mtu}
+ float-to-ex:
+ enabled: true
+ type: ovs_port
+ mtu: ${_param:interface_mtu}
+ bridge: br-floating
+ br-ex:
+ enabled: true
+ type: bridge
+ mtu: ${_param:interface_mtu}
+ address: ${_param:external_address}
+ netmask: 255.255.255.0
+ use_interfaces:
+ - ${_param:external_nic}
+ use_ovs_ports:
+ - float-to-ex