[NETVIRT-329] Unimgr - L2:EPVTREE - 2 EVCs - 4 ports vlan - 2 EVCs using the same ports - leaf send packets to leaf - ISSUE: leaf get the traffic ,roots not. Created: 06/Dec/16  Updated: 29/Jan/17  Resolved: 29/Jan/17

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

Type: Bug
Reporter: Amit Cohen Assignee: David Goldberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File logs.rar    
External issue ID: 7308
Priority: Highest

 Description   

Leaf A sending to the leaf B ,just roots should received the packets - result leaf B received the packets and not Roots.

Configuration :
EVPTREE , 2 EVCs using in the same ports , one time as leaf and one time as root.
312 evptree Rooted Multipoint aaa
Device UNI Role VLANs (click to edit)
CE 4 ens5 leaf 104
CE 1 ens5 root 101
CE 2 ens5 root 102
CE 3 ens5 leaf 103

98765 evptree Rooted Multipoint aaa
Device UNI Role VLANs (click to edit)
CE 4 ens5 root 204
CE 1 ens5 leaf 201
CE 2 ens5 leaf 202
CE 3 ens5 root 203

----------------------------------------------
Scenario :
----------------------------------------------
Sending 10 packets from c1u1 root to c2u1 root - Vlan based - EVC 1 packets NOT dropped - do flooding

SUCCESS - 1.000 - 10.000 (name=c1u1_to_c4u1,provider=e1000,port=8,filter_svlan=104,filter_srcmac=00:AA:AB:00:01:01,valuetype=nump,min=10,max=10,exit_on_nump=1,timeout=30s)
SUCCESS - 1.000 - 10.000 (name=c1u1_to_c3u1,provider=e1000,port=6,filter_svlan=103,filter_srcmac=00:AA:AB:00:01:01,valuetype=nump,min=10,max=10,exit_on_nump=1,timeout=30s)
SUCCESS - 1.000 - 10.000 (name=c1u1_to_c2u1,provider=e1000,port=4,filter_svlan=102,filter_srcmac=00:AA:AB:00:01:01,valuetype=nump,min=10,max=10,exit_on_nump=1,timeout=30s)

Sending 10 packets from c2u1 root to c1u1 root - Vlan based - EVC 1 packets NOT dropped no flooding

SUCCESS - 1.000 - 10.000 (name=c2u1_to_c1u1,provider=e1000,filter_svlan=101,port=2,filter_srcmac=00:AA:AB:00:02:01,valuetype=nump,min=10,max=10,exit_on_nump=1,timeout=30s)
SUCCESS - 0.000 - 0.000 (name=c2u1_to_c3u1,provider=e1000,port=6,valuetype=nump,min=0,max=0)
SUCCESS - 0.000 - 0.000 (name=c2u1_to_c4u1,provider=e1000,port=8,valuetype=nump,min=0,max=0)

Sending 10 packets from c3u1 leaf to c2u1 root - Vlan based - EVC 1 packets NOT dropped no flooding
SUCCESS - 1.000 - 10.000 (name=c3u1_to_c2u1,provider=e1000,filter_svlan=102,port=4,filter_srcmac=00:AA:AB:00:03:01,valuetype=nump,min=10,max=10,exit_on_nump=1,timeout=30s)
SUCCESS - 0.000 - 0.000 (name=c3u1_to_c1u1,provider=e1000,port=2,valuetype=nump,min=0,max=0)
SUCCESS - 0.000 - 0.000 (name=c3u1_to_c4u1,provider=e1000,port=8,valuetype=nump,min=0,max=0)

Sending 10 packets from c4u1 leaf to c3u1 leaf - Vlan based - EVC 1 packets NOT dropped do floodingto the roots

FAIL - 0.000 - 0.000 1 errors (name=c4u1_to_c1u1,provider=e1000,port=2,filter_svlan=101,filter_srcmac=00:AA:AB:00:04:01,valuetype=nump,min=10,max=10,exit_on_nump=1,timeout=30s)
FAIL - 0.000 - 0.000 1 errors (name=c4u1_to_c2u1,provider=e1000,port=4,filter_svlan=102,filter_srcmac=00:AA:AB:00:04:01,valuetype=nump,min=10,max=10,exit_on_nump=1,timeout=30s)
FAIL - 1.000 - 106.000 106 errors (name=c4u1_to_c3u1,provider=e1000,port=6,valuetype=nump,min=0,max=0)

--------------------------------------------------
CPE 4 ,C4U1 (leaf):
--------------------------------------------------
Step 1:
cookie=0x8000000, duration=1038.150s, table=0, n_packets=200, n_bytes=39200, priority=10,in_port=1,dl_vlan=104 actions=pop_vlan,write_metadata:0xa5f40000000000/0xffffff0000000001,goto_table:17
--------------------------------------------------
Step 2:
cookie=0x8040000, duration=1074.626s, table=17, n_packets=200, n_bytes=39200, priority=6,metadata=0xa5f40000000000/0xffffff0000000000 actions=write_metadata:0xe0a5f41388000000/0xfffffffffffffffe,goto_table:50
--------------------------------------------------
Step 3:
cookie=0x8050000, duration=1281.111s, table=50, n_packets=200, n_bytes=39200, priority=0 actions=CONTROLLER:65535,goto_table:51
--------------------------------------------------
Step 4: ????? where are the packets ?

cookie=0x8031388, duration=371.453s, table=51, n_packets=0, n_bytes=0, priority=20,metadata=0x1388000000/0xffff000000,dl_dst=00:aa:ab:00:04:01 actions=load:0xa5f400->NXM_NX_REG6[],resubmit(,220)

cookie=0x8030000, duration=1281.019s, table=51, n_packets=0, n_bytes=0, priority=0 actions=goto_table:52
--------------------------------------------------

--------------------------------------------------
Indication to packets that send to the other leaf - From dump-flows:
CPE 3 ,C3U1 (leaf):
--------------------------------------------------
Step 1:
cookie=0x90076aa, duration=1608.543s, table=36, n_packets=200, n_bytes=38400, priority=5,tun_id=0x76aa actions=load:0x76aa00->NXM_NX_REG6[],resubmit(,220)
--------------------------------------------------
Step 2:
cookie=0x8000007, duration=1631.245s, table=220, n_packets=220, n_bytes=42240, priority=7,reg6=0x76aa00 actions=push_vlan:0x8100,set_field:4199->vlan_vid,output:1
--------------------------------------------------



 Comments   
Comment by Amit Cohen [ 06/Dec/16 ]

Attachment logs.rar has been added with description: Logs

Comment by Amit Cohen [ 06/Dec/16 ]

The scenario ran 2 times - due to 200 packets on the dump-flow.

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