[NETVIRT-459] Remove redundant tunnel drop flows in table 110 Created: 03/Feb/17  Updated: 09/Mar/18  Resolved: 04/Jul/17

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

Type: Bug
Reporter: Vinh Nguyen Assignee: Unassigned
Resolution: Done 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: 7729

 Description   

ODL Version : distribution-karaf-0.5.2-Boron-SR2

Openstack Version : mitaka

Setup Details : 1 Control Node + 1 ODL node

Note: This problem only occurs when only the controller is stacked, and no compute nodes. The problem doesn't occur when controller and at least one compute node are used.

Steps to reproduce the issue:

1) Start Openstack and ODL
2) Create a network/subnet
3) Observe that tunnel flows are installed for the network/sunnet
4) Delete the above network
5) Problem: All tunnel flows in step 3) removed EXCEPT one flow in table 110.

cookie=0x0, duration=16.736s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x449 actions=drop <=============== This flow should have been removed when the network is deleted



 Comments   
Comment by Vinh Nguyen [ 04/Feb/17 ]

Actually the drop flow entries for tunnels in table 110 are redundant because there is a default drop flow for table 110 already.

The following are the flow entries for table 110 when there is one subnet created:

1) cookie=0x0, duration=3.005s, table=110, n_packets=0, n_bytes=0, tun_id=0x41c,dl_dst=fa:16:3e:85:fc:6d actions=output:23
2) cookie=0x0, duration=2.904s, table=110, n_packets=0, n_bytes=0, priority=16384,reg0=0x2,tun_id=0x41c,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:23
3) cookie=0x0, duration=2.904s, table=110, n_packets=0, n_bytes=0, priority=16383,reg0=0x1,tun_id=0x41c,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:23
4) cookie=0x0, duration=2.904s, table=110, n_packets=0, n_bytes=0, priority=8192,tun_id=0x41c actions=drop
5) cookie=0x0, duration=48.801s, table=110, n_packets=7, n_bytes=618, priority=0 actions=drop

The drop flows for tunnel '0x41c' is 4). This flow is redundant and can be removed since there is a default drop flow 5) for the table.

Changed the Bug title to "Remove redundant tunnel drop flows in table 110"

Comment by Vinh Nguyen [ 04/Jul/17 ]

Fixed:

stable/boron
https://git.opendaylight.org/gerrit/#/c/51423/

Master:
https://git.opendaylight.org/gerrit/#/c/51652/2

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