vmware-nsx/neutron/plugins/oneconvergence
Akihiro Motoki 580b47e54f Make DhcpRpcCallback a separate callback class
RPC has a version of itself. In Neutron a plugin implements
several RPC interface, so a single RPC version doesn't work.
In Mixin callback class approach, RPC versioning depends on
each plugin implementation and it makes harder to maintain
RPC version appropriately. This patch series replaces mixin
RPC callback of server side with a separate class.

This commit handles server-side callback of dhcp-agent RPC interface.
DHCP-agent server-side callback class is moved from db/ to
api/rpc/handlers because it doesn't involve any db operations
and defining all RPC interfaces in a single place sounds reasonable.

Note that moving other DHCP-agent related RPC interface class
to api/rpc/handlers can be done in a separate patch as this patch
focuses on reorganizing the server-side RPC callback class.

Partial-Bug: #1359416
Change-Id: Ifb2a1bc0b7971995aae2856c9d4cd88c6dbc22d6
2014-08-28 14:25:32 +00:00
..
agent Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
lib Merge "Use jsonutils instead of stdlib json" 2014-08-14 13:12:34 +00:00
__init__.py One Convergence Neutron Plugin Implementation 2014-03-06 08:10:07 -08:00
plugin.py Make DhcpRpcCallback a separate callback class 2014-08-28 14:25:32 +00:00
README One Convergence Neutron Plugin l3 ext support 2014-03-06 21:50:55 +00:00

One Convergence Neutron Plugin to implement the Neutron v2.0 API. The plugin
works with One Convergence NVSD controller to provide network virtualization
functionality.

The plugin is enabled with the following configuration line in neutron.conf:

core_plugin = neutron.plugins.oneconvergence.plugin.OneConvergencePluginV2

The configuration parameters required for the plugin are specified in the file
etc/neutron/plugins/oneconvergence/nvsdplugin.ini. The configuration file contains
description of the different parameters.

To enable One Convergence Neutron Plugin with devstack and configure the required
parameters, use the following lines in localrc:

Q_PLUGIN=oneconvergence

disable_service n-net
enable_service q-agt
enable_service q-dhcp
enable_service q-svc
enable_service q-l3
enable_service q-meta
enable_service neutron

NVSD_IP=
NVSD_PORT=
NVSD_USER=
NVSD_PASSWD=

The NVSD controller configuration should be specified in nvsdplugin.ini before
invoking stack.sh.