vmware-nsx/quantum/plugins/nicira/nicira_nvp_plugin
justin ljj d30be04909 Use a common constant for the port/network 'status' value
Fixes bug 1036054.

'status' have four values 'ACTIVE/DOWN/ERROR/BUILD' in v2 spec.
However, some plugins still using 'UP/DOWN' from v1. In order to
consistent the use of 'status' value. A common constant file was
created and modified all plugins to use the same constant value.

Change-Id: I865dffbe031d9a3e76e52e334db3050a3ef11ed0
2012-08-17 10:25:55 +08:00
..
api_client Update the Nicira NVP plugin to support the v2 Quantum API 2012-08-15 02:02:00 -04:00
common Update the Nicira NVP plugin to support the v2 Quantum API 2012-08-15 02:02:00 -04:00
tests Update the Nicira NVP plugin to support the v2 Quantum API 2012-08-15 02:02:00 -04:00
__init__.py Update the Nicira NVP plugin to support the v2 Quantum API 2012-08-15 02:02:00 -04:00
nvp_plugin_version.py Update the Nicira NVP plugin to support the v2 Quantum API 2012-08-15 02:02:00 -04:00
NvpApiClient.py Update the Nicira NVP plugin to support the v2 Quantum API 2012-08-15 02:02:00 -04:00
nvplib.py Use a common constant for the port/network 'status' value 2012-08-17 10:25:55 +08:00
QuantumPlugin.py Use a common constant for the port/network 'status' value 2012-08-17 10:25:55 +08:00
README Initial commit: nvp plugin 2012-02-22 14:40:51 -08:00
run_tests.py Update the Nicira NVP plugin to support the v2 Quantum API 2012-08-15 02:02:00 -04:00

nvp-plugin
-----------------------------------------------------------------------------

Overview and pre-requisites

    This is a Quantum plugin that can talk to a set of NVP controllers and
    implements the core Quantum L2 api.  In order to use it you must have
    Nicira NVP running and configured.  You must also have Quantum installed
    and configured.

Installation and Configuration

    Edit nvp.ini to match your controller configuration and then modify your
    Quantum plugins.ini provider path:

    provider = quantum.plugins.nicira.nicira_nvp_plugin.QuantumPlugin.NvpPlugin

Testing

    Edit etc/quantum/plugins/nicira/nvp.ini to match your nvp configuration
    (nvp must be up and running). Then:

    $ cd quantum/plugins/nicira
    $ PYTHONPATH=../../../:. nosetests -v