neutron/neutron/plugins/oneconvergence
Ihar Hrachyshka 0a75865b1f Use jsonutils instead of stdlib json
jsonutils provides multiple benefits in comparison to pure stdlib json
(like using simplejson on Python 2.6).

Similar patch was already merged before [1], but since it lacked hacking
rule to enforce jsonutils usage, new occurrences of stdlib json module
usage were introduced.

This patch switches all the code to using jsonutils and adds a hacking
rule to enforce the rule.

The hacking rule requires that jsonutils module does not mimic as 'json'
thru using import renames, so the code was updated not to rename the
module when doing import.

The hacking rule was shamelessly copied from the corresponding nova
review [2].

[1]: https://review.openstack.org/#/c/99760/
[2]: https://review.openstack.org/111296/

Change-Id: Ie7a5bb76445e15cde9fbf9ff3d2101a014637b37
2014-08-14 12:45:58 +02:00
..
agent Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
lib Use jsonutils instead of stdlib json 2014-08-14 12:45:58 +02:00
README One Convergence Neutron Plugin l3 ext support 2014-03-06 21:50:55 +00:00
__init__.py One Convergence Neutron Plugin Implementation 2014-03-06 08:10:07 -08:00
plugin.py Avoid notifying while inside transaction opened in delete_port() 2014-07-05 15:55:18 +02:00

README

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.