Neutron shared routines and utilities.
Go to file
Boden R a37d43018b rehome rpc and related plumbing
As shown in the history of this patch, along with the work in [1], we've
discussed rehoming neutron.common.rpc into lib a number of times before.
One of the main reasons we've decided not to rehome in the past is that
we'd hoped the neutron.common.rcp.BackingOffClient and related plumbing
could be put into oslo.messaging. However, it's 2 years later and that
still hasn't happened [2][3].

This patch proposes we just move forward with the rehome so that we can
begin to untangle the consumers [4]. There's no reason we can't
reiterate on this code in lib; it's no more difficult than in neutron.

This patch includes rehoming of:
- neutron.common.rpc, the only difference in the lib version is that
we dynamically add all neutron_lib.exceptions by default (_DFT_EXMODS).
- neutron.common.exceptions, but exceptions are broken out into their
respective exception modules rather than lumping all together in a
generic single module.
- The fake notifier and RPC fixture, without any real changes.
- A new runtime util method to dynamically load all modules for a
package.

For a sample neutron consumption patch see [5] that was tested with
PS10 herein.

[1] https://review.openstack.org/#/q/project:openstack/neutron-lib+message:rpc
[2] https://review.openstack.org/#/c/407722/
[3] https://bugs.launchpad.net/oslo.messaging/+bug/1667445
[4] http://codesearch.openstack.org/?q=from%20neutron.common%20import%20rpc
[5] https://review.openstack.org/#/c/579989/

Change-Id: I0052ba65973a993e088943056879bc6e982bd0b5
2018-07-12 13:13:21 -06:00
api-ref/source Merge "Shim extension - segments peer subnet host routes, and api-ref" 2018-06-29 13:57:46 +00:00
doc rehome rpc and related plumbing 2018-07-12 13:13:21 -06:00
neutron_lib rehome rpc and related plumbing 2018-07-12 13:13:21 -06:00
releasenotes rehome rpc and related plumbing 2018-07-12 13:13:21 -06:00
tools Remove tools/tox_install.sh 2018-03-07 20:31:12 +01:00
.coveragerc Improvements to tox envs 2015-12-19 01:00:22 -05:00
.gitignore Switch to stestr 2018-05-24 11:09:18 -07:00
.gitreview Added .gitreview 2015-11-19 19:54:39 +00:00
.mailmap Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
.stestr.conf Fix unit test failures due to switch to testr changes 2017-09-14 08:17:35 -07:00
.zuul.yaml add lower-constraints job 2018-03-22 16:36:02 -04:00
babel.cfg Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
CONTRIBUTING.rst Merge "Update links in CONTRIBUTING.rst" 2017-10-05 20:47:37 +00:00
HACKING.rst Update the documentation link for doc migration 2017-07-20 15:46:41 +00:00
LICENSE Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
lower-constraints.txt Remove os-testr from lower-constraints 2018-06-01 13:09:00 +05:30
README.rst Add release notes link to README 2018-06-20 19:29:43 +08:00
requirements.txt rehome model_query and its dependencies 2018-04-20 06:18:11 -06:00
setup.cfg Follow the new PTI for document build 2018-03-27 11:19:28 +08:00
setup.py Updated from global requirements 2017-03-02 11:49:11 +00:00
test-requirements.txt Add bandit to pep8 gate 2018-06-14 11:38:33 -04:00
tox.ini rehome rpc and related plumbing 2018-07-12 13:13:21 -06:00

Team and repository tags

image

neutron-lib

Neutron shared routines and utilities

Features

  • TODO