]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Provider network implementation for NVP plugin.
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 18 Dec 2012 15:44:44 +0000 (07:44 -0800)
committerSalvatore Orlando <salv.orlando@gmail.com>
Wed, 2 Jan 2013 19:55:18 +0000 (11:55 -0800)
commit4ab0121a59c761b12804c5583d357bc471f9e292
treefe0607ed5778e739cf42070d41426fbcc82a050f
parentf96531a05653216e68f005127e3ec952fdc348f8
Provider network implementation for NVP plugin.

blueprint nvp-provider-net

Implements the provider network extension support. The list of valid network
types has been updated to reflect the types supported by the nvp plugin.
This was necessary otherwise validation would have always failed.
Multiple logical switches might be associated with a quantum network; the
first logical switch will always have the same id as the quantum network.
Also now raises exception when port limit on overlay network is reached.

This patch also adds a check for the maximum number of ports on 'standard'
overlay networks, and performs some code refactoring for improving
maintanability. For instance the NVPCluster class has been moved into its own
module.

Change-Id: Ib26d327daf748cfcba9ca74e8dc2e8e89c676c2e
13 files changed:
etc/quantum/plugins/nicira/nvp.ini
quantum/extensions/providernet.py
quantum/plugins/nicira/nicira_nvp_plugin/QuantumPlugin.py
quantum/plugins/nicira/nicira_nvp_plugin/api_client/client_eventlet.py
quantum/plugins/nicira/nicira_nvp_plugin/common/config.py
quantum/plugins/nicira/nicira_nvp_plugin/common/exceptions.py [new file with mode: 0644]
quantum/plugins/nicira/nicira_nvp_plugin/nicira_db.py [new file with mode: 0644]
quantum/plugins/nicira/nicira_nvp_plugin/nicira_models.py [new file with mode: 0644]
quantum/plugins/nicira/nicira_nvp_plugin/nvp_cluster.py [new file with mode: 0644]
quantum/plugins/nicira/nicira_nvp_plugin/nvplib.py
quantum/tests/unit/nicira/etc/fake_get_lswitch.json
quantum/tests/unit/nicira/fake_nvpapiclient.py
quantum/tests/unit/nicira/test_nicira_plugin.py