Monkey patch the original current_thread to use the up-to-date _active
global variable. This solution is based on that documented at:
https://github.com/eventlet/eventlet/issues/592
Change-Id: I8e8a9ce5085b7915994317af5ea903cf8a39e809
Closes-Bug: #1863021
Eventlet is banned from neutron-lib, therefore waiting for this
method to be exported to neutron-lib means waiting for ever. Now
one may argue that copying the method itself could be the way
forward, but that assumes that the neutron-dynamic-routing code
stands a chance to run on Windows. I suppose we can cross that
bridge when we get to it, but as of now, using monkey patching
without params is more than enough.
This is one step of many to make at least one repo neutron free.
Related-blueprint: neutron-lib
Change-Id: I4a2da941c4bdfac3d443eb336191b698efa06af3
This patch moves the BGP service plugin, agent, driver, and
tests out of the neutron repository and into the
neutron-dynamic-routing repository.
Partially-Implements: blueprint bgp-spinout
Partial-Bug: #1560003
Co-Authored-By: vikram.choudhary <vikram.choudhary@huawei.com>
Change-Id: I80ea28a51d7b18e67d6ed4cd2da22520f950300f