[odl/noha] Simplify net scheme on compute nodes 75/60275/2
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Fri, 27 Jul 2018 11:08:59 +0000 (15:08 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Mon, 30 Jul 2018 06:06:50 +0000 (06:06 +0000)
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>
mcp/reclass/classes/cluster/mcp-odl-noha/openstack/compute.yml.j2

index 18b73d7..65792e3 100644 (file)
@@ -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 }}