]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Scope dvr rpc api using a messaging namespace
authorRussell Bryant <rbryant@redhat.com>
Fri, 23 Jan 2015 19:48:07 +0000 (14:48 -0500)
committerRussell Bryant <rbryant@redhat.com>
Tue, 10 Feb 2015 19:07:29 +0000 (14:07 -0500)
commit8c2423c9847dd18e6d7cf983022d7984c237645b
tree1aee10a3f0902252ccf668f8cba0b4960d2ab565
parenta97b9a494402cc4a29aa03a54e8894c8deeeae2c
Scope dvr rpc api using a messaging namespace

This patch does a couple of things.  First it adds docstrings to the
client/server pair of the rpc interface used by the ovs agent
to make dvr related calls back into the Neutron server.  The docs
tell you where the other side of the interface is found in the code,
and where docs are that give more info on the rules for changing them.

The second thing done in this patch is to scope this interface using a
messaging namespace.  Right now some plugins expose several interfaces
via the default namespace.  This effectively means they are a single
API and should be managed with a single version stream.  It's much
more managable to just treat these as separate interfaces and this
change makes that explicit and functionally true.  Now when a method
is invoked, the only classes considered for handling that request will
be ones marked with the right namespace.

Part of blueprint rpc-docs-and-namespaces.

Change-Id: Ieb1f023f5ab0ba66620d07e90005a49f1d40574c
neutron/api/rpc/handlers/dvr_rpc.py
neutron/common/constants.py