neutron/neutron
Thomas Morin 106f6507db Refactor OVSCookieBridge: always use bridge cookie
Instead of having OVSCookieBridge as a passthrough class that does not
provide the intended behavior (see bug 1557620), this change implements
a cookie bridge as a patched copy of the underlying bridge:
- the underlying bridge is copied
- the copy is given an extension-specific cookie

The 'extension bridge should only touch its flows' effect is obtained
by a separate change (Idd0531cedda87224531cb8fb6a912ccd0f1554d5).

The two problems in the bug are addressed:
- the extension-specific cookie is now applied even for calls to
  methods other than add/delete/mod_flows
- the extension-specific cookie is now applied in the case of the
  native/ryu implementation

This commit also re-enable the use of uninstall_flows in the QoS OVS driver,
which had to be disabled in Idd0531cedda87224531cb8fb6a912ccd0f1554d5, but
can now be re-enabled with this bug addressed.

This change complements the unit tests to confirm that the bug is
fixed.

Change-Id: I55835a34d8fba7a139dce93f99cbff54584d695c
Closes-Bug: #1557620
Needed-By: I8570441a0b8d5ee3ad7f88e07affac2f1b782021
2017-03-24 11:22:35 +01:00
..
agent delete_flows shall only touch flows with the bridge cookie 2017-03-24 11:02:08 +01:00
api Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
callbacks Downgrade callback abortable event log to debug 2017-03-16 13:35:39 -07:00
cmd Agent common config 2017-03-15 09:52:18 -06:00
common Reconcile quitting_rpc_timeout with backoff RPC client 2017-03-21 01:26:31 +00:00
conf Merge "Bump default quotas for ports, subnets, and networks" 2017-03-23 11:19:26 +00:00
core_extensions Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00
db Merge "Use BEFORE_CREATE events for _ensure_default_security_group" 2017-03-23 21:18:11 +00:00
debug Agent common config 2017-03-15 09:52:18 -06:00
extensions Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
hacking Fix copy-paste error in hacking checks 2017-03-17 16:01:04 -07:00
ipam Use ipam AllocationOnAutoAddressSubnet class 2017-02-07 14:56:33 -05:00
locale Imported Translations from Zanata 2016-08-19 07:27:43 +00:00
notifiers Merge "Use registry.receives decorator in neutron.notifiers.nova" 2017-03-15 06:27:04 +00:00
objects OVO creation for RouterL3AgentBinding 2017-03-17 16:11:50 +00:00
pecan_wsgi pecan: Make admin context if no context was created 2017-03-16 11:28:10 -04:00
plugins Refactor OVSCookieBridge: always use bridge cookie 2017-03-24 11:22:35 +01:00
privileged Do not raise an error deleting neighbour entry 2017-01-26 16:22:20 -05:00
quota Make query in quota api lockless 2017-03-07 20:49:55 +00:00
scheduler Refactor L3 scheduler (unify code paths) 2017-01-26 23:05:06 +00:00
server Pecan: Get loaded by paste deploy 2017-02-17 14:54:27 -06:00
services Merge "Use @registry.receives in neutron.services.segments.plugin" 2017-03-20 01:54:46 +00:00
tests Refactor OVSCookieBridge: always use bridge cookie 2017-03-24 11:22:35 +01:00
__init__.py Hacking rule to check i18n usage 2016-03-30 21:28:37 -04:00
_i18n.py Move i18n to _i18n, as per oslo_i18n guidelines 2015-12-01 19:29:10 -07:00
auth.py Spin off context module 2017-03-06 16:25:29 +00:00
manager.py Adopt neutron-lib plugin directory 2016-11-23 04:45:33 -07:00
neutron_plugin_base_v2.py Revert "Revert "Remove threading before process forking"" 2016-06-02 21:26:08 +00:00
opts.py Agent common config 2017-03-15 09:52:18 -06:00
policy.py Spin off context module 2017-03-06 16:25:29 +00:00
service.py Spin off context module 2017-03-06 16:25:29 +00:00
version.py
worker.py Move AgentStatusCheckWorker to PeriodicWorker 2016-11-17 15:31:19 -08:00
wsgi.py Spin off context module 2017-03-06 16:25:29 +00:00