neutron/quantum/plugins/nicira
armando-migliaccio ea9aeb6de0 Simplify NVP plugin configuration
Fixes bug #1121605

This patch replacest the nvp_controller_connection configuration option
with a set of options more intutitive to user which also avoid
repetitions in ini files.

In order to simplify the configuration of the plugin, this patch also
removes named clusters. As the plugin supports a single cluster at
the moment, this can be simply specified in the [DEFAULT] configuration
section.

Also, this patch restrucures nvp_cluster.NvpCluster so that per-cluster
configuration options are not store anymore multiple times.

Change-Id: Id5f84220122d7c5f3239e3333cb772247d1ed05e
2013-04-25 13:56:32 -07:00
..
api_client Enable automatic validation of many HACKING rules. 2013-04-11 19:48:28 +00:00
common Simplify NVP plugin configuration 2013-04-25 13:56:32 -07:00
extensions Send 400 error if device specification contains unexpected attributes 2013-04-25 00:02:23 +02:00
NvpApiClient.py Remove locals() from strings substitutions 2013-04-20 11:56:26 +00:00
QuantumPlugin.py Simplify NVP plugin configuration 2013-04-25 13:56:32 -07:00
README Simplify NVP plugin configuration 2013-04-25 13:56:32 -07:00
__init__.py Shorten the path of the nicira nvp plugin. 2013-04-11 19:10:25 +00:00
check_nvp_config.py Simplify NVP plugin configuration 2013-04-25 13:56:32 -07:00
nicira_db.py Shorten the path of the nicira nvp plugin. 2013-04-11 19:10:25 +00:00
nicira_models.py Shorten the path of the nicira nvp plugin. 2013-04-11 19:10:25 +00:00
nicira_networkgw_db.py Enable automatic validation of many HACKING rules. 2013-04-11 19:48:28 +00:00
nicira_qos_db.py Shorten the path of the nicira nvp plugin. 2013-04-11 19:10:25 +00:00
nvp_cluster.py Simplify NVP plugin configuration 2013-04-25 13:56:32 -07:00
nvp_plugin_version.py Shorten the path of the nicira nvp plugin. 2013-04-11 19:10:25 +00:00
nvplib.py Merge "Add string 'quantum'/ version to scope/tag in NVP" 2013-04-23 16:43:14 +00:00

README

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 v2 api.  In order to use it you must have
    Nicira NVP running and configured.  You must also have Quantum installed
    and configured.

NVP Plugin configuration

    1) Database configuration
    The NVP plugin leverages the Quantum database. The following connection
    parameters should be specified:
    - sql_connection: Database connection string
    - sql_max_retries: Maximum number of connection attempts (default 10)
    - reconnect_interval: Gap between connection attempts (default 2 seconds)
    2) NVP (general)
    - max_lp_per_bridged_ls: Maximum number of ports of a logical switch on a
    bridged transport zone (default 64)
    - concurrent_connections: Number of connects to each controller node
    (default 3)
    - nvp_gen_timout: Number of seconds a generation id should be valid for
    (default -1 meaning do not time out)
    3) NVP cluster
    By default the Quantum NVP plugin can talk to multiple controllers in a
    single cluster. In the future (Havana+) support for multiple clusters
    will be added.
    The following parameters can be configured:
    - default_tz_uuid: This is uuid of the default NVP Transport zone that
      will be used for creating tunneled isolated "Quantum" networks. It
      needs to be created in NVP before starting Quantum with the nvp plugin.
    - nvp_cluster_uuid: Optional paramter identifying the UUID of the cluster
      in NVP.  This can be retrieved from NVP management console "admin" section.
    - nvp_controllers: describes the list of controllers
    More details can be found in etc/quantum/plugins/nicira/nvp.ini

Quantum Configuration

    Modify your Quantum configuration for using the NVP Plugin:

    core_plugin =
        quantum.plugins.nicira.QuantumPlugin.NvpPluginV2