summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-odl-noha
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-07-27 15:08:59 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-07-30 06:06:50 +0000
commitba5bd9abdab0abe2213f5f80e7ffff123ac2c9c8 (patch)
treea9cfbed9e9a09ad078383d73c343ec474bae63b4 /mcp/reclass/classes/cluster/mcp-odl-noha
parentcffa328916188ca5270d7d29869d34579e1566c6 (diff)
[odl/noha] Simplify net scheme on compute nodes
Align external network scheme of computes with gateway node to setup just ovs bridge with physical port plugged in. Change-Id: Ie7919abc8c1f0a0905764b6354f29ad68d3c6557 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-odl-noha')
-rw-r--r--mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j218
1 files changed, 5 insertions, 13 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j2 b/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j2
index 18b73d7ea..65792e35e 100644
--- a/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j2
@@ -49,28 +49,20 @@ parameters:
{%- endif %}
external_interface:
enabled: true
- type: eth
name: ${_param:external_interface}
- mtu: ${_param:interface_mtu}
proto: manual
- br-floating:
- enabled: true
- type: ovs_bridge
- mtu: ${_param:interface_mtu}
- float-to-ex:
- enabled: true
+ ovs_port_type: OVSPort
type: ovs_port
- mtu: ${_param:interface_mtu}
+ ovs_bridge: br-floating
bridge: br-floating
- br-ex:
+ br-floating:
enabled: true
- type: bridge
+ type: ovs_bridge
mtu: ${_param:interface_mtu}
+ proto: static
address: ${_param:external_address}
netmask: ${_param:opnfv_net_public_mask}
use_interfaces:
- ${_param:external_interface}
- use_ovs_ports:
- - float-to-ex
gateway: ${_param:opnfv_net_public_gw}
name_servers: {{ nm.dns_public }}