]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Provide doc string pointers for the dhcp agent rpc api
authorRussell Bryant <rbryant@redhat.com>
Wed, 17 Dec 2014 19:55:43 +0000 (19:55 +0000)
committerRussell Bryant <rbryant@redhat.com>
Fri, 9 Jan 2015 16:21:01 +0000 (11:21 -0500)
commitbc686f530ed56494746345a9e48ace694b005f05
tree6845f85798954c2a0b323a26e52916c7565d9fd3
parent6df7f5abf16f11abe784ab33e7885ec7bb8a5273
Provide doc string pointers for the dhcp agent rpc api

There is an rpc interface defined for the Neutron plugin to be able to
execute methods in the DHCP agent.  Provide docstring pointers in the
client and server side that tells you where to find the other side of
the interface.

No namespace usage is needed here.  This API is the only one exposed
via the DHCP agent, so the default namespace used now is fine.

The DhcpAgent class was updated to explicitly define the
messaging.Target().  Previously it was using the equivalent one
defined in the Manager base class.  Having it specified here makes it
more obvious that this is an rpc endpoint, and also provides the
obvious place that must have the version updated if the interface is
changed.

Part of blueprint rpc-docs-and-namespaces.

Change-Id: I4a6eb8dacb9ba01f329a5d5961dc0e0ee6f780ba
neutron/agent/dhcp_agent.py
neutron/api/rpc/agentnotifiers/dhcp_rpc_agent_api.py