vmware-nsx/quantum/plugins/openvswitch
Bob Kukura f28d3c4ce6 Replace openvswitch plugin's VlanMap with vlan_ids DB table.
Fixes bug 1023167.

The openswitch plugin's in-memory VlanMap is replaced with a vlan_ids
DB table similar to that used by the linuxbridge plugin. This will
prevent conflicting VLAN assignments if multiple server replicas are
run, and also sets the stage for phase 2 of the provider-networks BP
implementation that will add support for multiple physical
networks.

Unlike with the current linuxbridge plugin, the contents of the
openvswitch plugin's vlan_ids table are properly updated at startup in
case the vlan_min or vlan_max configuration variables have changed.

A new test_ovs_db test case has been added.

The primary key of the vlan_bindings table is changed from the vlan_id
to the network_id, which is now a foreign key, and network deletion is
now properly handled.

The net_id has been removed from the VlanIdInUse exception, requiring
a minor update to the linuxbridge plugin. The new NoNetworksAvailable
exception, with ResourceExhausted as its base class, is returned when
no more VLANs are available.

Change-Id: I65a2347dea5366cc0d15d98a88f40e42e1a45f4c
2012-08-03 17:29:45 -04:00
..
agent Enable agents and plugins to use the same configuration file. 2012-07-25 11:18:33 -04:00
common Enable agents and plugins to use the same configuration file. 2012-07-25 11:18:33 -04:00
tests Replace openvswitch plugin's VlanMap with vlan_ids DB table. 2012-08-03 17:29:45 -04:00
__init__.py Second round of packaging changes 2011-11-28 10:33:52 -08:00
Makefile Bug #1012418 - quantum agent for OVS does not install properly on Xen XCP 2012-06-26 15:27:23 -03:00
ovs_db_v2.py Replace openvswitch plugin's VlanMap with vlan_ids DB table. 2012-08-03 17:29:45 -04:00
ovs_db.py Remove unused imports 2012-06-08 09:54:48 +08:00
ovs_models_v2.py Replace openvswitch plugin's VlanMap with vlan_ids DB table. 2012-08-03 17:29:45 -04:00
ovs_models.py Bug #1013967 - Quantum is breaking on tests with pep 1.3 2012-06-16 15:38:10 -03:00
ovs_quantum_plugin.py Replace openvswitch plugin's VlanMap with vlan_ids DB table. 2012-08-03 17:29:45 -04:00
README Update codebase for HACKING compliance. 2012-05-01 11:46:24 -07:00
run_tests.py Make the plugin for test_db_plugin configurable 2012-08-01 04:06:13 -07:00

The Open vSwitch (OVS) Quantum plugin is a simple plugin to manage OVS
features using a local agent running on each hypervisor.

For details on how to configure and use the plugin, see:

http://openvswitch.org/openstack/documentation/