]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
When l2-pop ON, clean stale ports in table0 br-tun
authorVivekanandan Narasimhan <vivekanandan.narasimhan@hp.com>
Wed, 14 May 2014 19:06:45 +0000 (12:06 -0700)
committerVivekanandan Narasimhan <vivekanandan.narasimhan@hp.com>
Thu, 12 Jun 2014 06:02:11 +0000 (23:02 -0700)
commit3f9658dcd9b2cccdc0f03088723305c980130cd3
treea4c8e99704efbcc3b925feb199cd641b6b7b3a8d
parentb5d6c5e10650826d597c3e3fc18e5595f2b844ab
When l2-pop ON, clean stale ports in table0 br-tun

When l2-pop is turned ON, the tunnels towards a
specific node are created and torn down by other nodes,
based on availability of ports on that specific node in
specific networks. This generally reclaims the resources
used for such tunnels in all the nodes.

Under such conditions, in the current code (without this
fix), the cleaned up ports continue to be present in
rules of table0 of br-tun, resulting in flow explosion.

This fix adds cleanup-logic to remove such rules that
continue to use l2-pop cleaned up ports, from table0 of
br-tun.

Change-Id: I2639ff6432a13320adcadbcc0841319a99ce8c24
Closes-Bug: #1318261
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py