]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Simplify NVP plugin configuration
authorarmando-migliaccio <amigliaccio@nicira.com>
Tue, 9 Apr 2013 00:40:21 +0000 (17:40 -0700)
committerarmando-migliaccio <amigliaccio@nicira.com>
Thu, 25 Apr 2013 20:56:32 +0000 (13:56 -0700)
commitea9aeb6de075f391f6a73d6ea2b76d6e452c28bc
tree8b44a4ed68c53b54c93ad691f3f8896dcf5307f6
parent43d904ba935d4d6fe9e650853dfbf1f180933a17
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
15 files changed:
etc/quantum/plugins/nicira/nvp.ini
quantum/plugins/nicira/QuantumPlugin.py
quantum/plugins/nicira/README
quantum/plugins/nicira/check_nvp_config.py
quantum/plugins/nicira/common/config.py
quantum/plugins/nicira/common/exceptions.py
quantum/plugins/nicira/nvp_cluster.py
quantum/tests/unit/nicira/etc/nvp.ini.basic.test [new file with mode: 0644]
quantum/tests/unit/nicira/etc/nvp.ini.full.test [new file with mode: 0644]
quantum/tests/unit/nicira/etc/nvp.ini.grizzly.test [new file with mode: 0644]
quantum/tests/unit/nicira/etc/nvp.ini.test
quantum/tests/unit/nicira/test_defaults.py [deleted file]
quantum/tests/unit/nicira/test_nicira_plugin.py
quantum/tests/unit/nicira/test_nvplib.py
quantum/tests/unit/nicira/test_nvpopts.py [new file with mode: 0644]