]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add flows to tunnel bridge with proper cookie.
authorEugene Nikanorov <enikanorov@mirantis.com>
Thu, 27 Aug 2015 12:34:32 +0000 (16:34 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Fri, 28 Aug 2015 10:37:09 +0000 (14:37 +0400)
commit7c39642f3640d7b9a3a6a789b5e2f4d3f0cc6837
tree1c9cbede02eb3ec4bf46fea5da1916bcff3f4d1f
parent9ed4be7559b1b611b35b505a786c3511dccac58f
Add flows to tunnel bridge with proper cookie.

Without that fix flows applied to br-tun through
DeferredOVSBridge are created without cookie.
That results in l2pop flows being deleted in the process of
cleanup of stale flows.

Solution is to add cookie to all add/mod-flows of OVSBrigde
class in the method do_action_flows.
Also, agent_uuid_stamp moved to a proper place - into the
base OVSBridge class as storing attributes in Mixing was
just a wrong code design.

Change-Id: Ic09a0dbc04fc5da38d30e1392cf2ea27d576040c
Closes-Bug: #1489372
neutron/agent/common/ovs_lib.py
neutron/plugins/ml2/drivers/openvswitch/agent/openflow/ovs_ofctl/ofswitch.py
neutron/tests/unit/agent/common/test_ovs_lib.py