[NETVIRT-818] After created two Physical Switch by Open vSwitch HWVTEP Emulator, tunnel I/F is created only in one LogicalSwitch when creating L2GW CONNECTION Created: 02/Aug/17  Updated: 09/Mar/18  Resolved: 25/Jan/18

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Carbon
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Ran Xiao Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8921

 Description   

After created two Physical Switch by Open vSwitch HWVTEP Emulator, tunnel I/F is created only in one LogicalSwitch when creating L2GW CONNECTION
By confirming with command "ovs-vsctl show", we found that the tunnel I/F was displayed only for a moment and disappeared right away. Certainly, the communication failed.

The Virtual L2 network configuration we want to create is as below:
With one L2GW node, connect one virtual LAN (vxlan) and one virtual LAN (vlan) which is on multiple (two or more) physical lines by L2

------------------(name:test-nw)
(vxlan) | |

  -----
+--- gw1 --+
-----
 
--------------- vlan:2222(Physical line#1)
-----
+------
gw2 --+
-----

--------------- vlan:2222(Physical line#2)

Physical configuration of L2GW Node:
---------------------------------------------------

L2GW Node
 
--------------------- -----------------
  Physical Switch(1)   Physical Switch(2)  
--------------------- -----------------
     
----------------- -------------
  Physical Port(1)   Physical Port(2)  

---------------------------------------------------

 

----- Physical line#1 |
----- Physical line#2

L2GW GATEWAY/CONNECTION creation command :
neutron l2-gateway-create gw1 --device name=Physical Switch(1),interface_names=Physical Port(1)
neutron l2-gateway-create gw2 --device name=Physical Switch(2),interface_names=Physical Port(2)

neutron l2-gateway-connection-create gw1 test-nw --default-segmentation-id 2222
neutron l2-gateway-connection-create gw2 test-nw --default-segmentation-id 2222

P.S

We know the following configuration can also realizes the Virtual L2 network configuration we want to create.
But Load balancing is impossible as Open vSwitch HWVTEP Emulator (ovs-vtep) process starts for each physical switch.

---------------------------------------------------

L2GW Node
 
--------------------
  Physical Switch(1) ------------+
--------------------  
     
----------------- -------------
  Physical Port(1)   Physical Port(2)  

---------------------------------------------------

 

----- Physical line#1 |
----- Physical line#2

neutron l2-gateway-create gw1 --device name=Physical Switch(1),interface_names=Physical Port(1)
neutron l2-gateway-create gw2 --device name=Physical Switch(1),interface_names=Physical Port(2)

neutron l2-gateway-connection-create gw1 test-nw --default-segmentation-id 2222
neutron l2-gateway-connection-create gw2 test-nw --default-segmentation-id 2222



 Comments   
Comment by Ran Xiao [ 25/Jan/18 ]

Confirmed with netvirt-dev community that multiple physical switch support under one global node is not implemented/tested.
#<https://lists.opendaylight.org/pipermail/netvirt-dev/2017-August/005324.html>
Close this issue ticket as it's not a bug.

Generated at Wed Feb 07 20:22:32 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.