commit abe26499aae8b4b875789c20a9825cd96b3e4b52
Author: Thomas Morin <email address hidden>
Date: Tue May 17 17:45:35 2016 +0200
bagpipe: really use the extension-specific cookie
The code in OVSBridgeIntercept was not behaving
as intended:
- the extension cookie was not applied as expected, even
for the ofctl-based OVSTunnelBridge (interference with
class inheritance, because __getattr__ does not let us
override methods existing in a parent class,
__getattribute__ has to be used instead)
- the extension cookie would never have been applied
for the native.OVSTunnelBridge that does not use add_flow
This changes corrects the code and adds a test case.
We also now import the neutron constants from neutron-lib.
(cherry picked from commit ccc13f755b66c32757a1505a073ab5316642d3b2)
Reviewed: https:/ /review. openstack. org/322048 /git.openstack. org/cgit/ openstack/ networking- bgpvpn/ commit/ ?id=abe26499aae 8b4b875789c20a9 825cd96b3e4b52
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit abe26499aae8b4b 875789c20a9825c d96b3e4b52
Author: Thomas Morin <email address hidden>
Date: Tue May 17 17:45:35 2016 +0200
bagpipe: really use the extension-specific cookie
The code in OVSBridgeIntercept was not behaving _getattribute_ _ has to be used instead) OVSTunnelBridge that does not use add_flow
as intended:
- the extension cookie was not applied as expected, even
for the ofctl-based OVSTunnelBridge (interference with
class inheritance, because __getattr__ does not let us
override methods existing in a parent class,
_
- the extension cookie would never have been applied
for the native.
This changes corrects the code and adds a test case.
We also now import the neutron constants from neutron-lib.
(cherry picked from commit ccc13f755b66c32 757a1505a073ab5 316642d3b2)
Change-Id: I779d7a8bf7fc31 d936d1e401e4726 711c8404ed2
Closes-Bug: 1582598