vmware-nsx/neutron/tests/unit/openvswitch
Justin Hammond c86e299e66 Update common network type consts to same origin
This patch removes new definitions of common network type constants (TYPE_FLAT,
TYPE_LOCAL, etc.) and modifies uses of aforementioned constants to a common
place where constants are defined (neutron.plugins.common.constants). This
patch does not change values that are equal in value but different in name:
NETWORK_TYPE_FLAT vs TYPE_FLAT. A second changeset will be made to handle that
case.

Unit tests were modified as well when they referred to the constant.

Finally, the ovs agent code refers to the OVS plugin constants directly and
these had to be changed as well. A TODO flag was put in that file due to use
of another plugin specific constant.

Network types that were only defined in a single plugin, such as mellanox's
infiniband (IB) network type was not carried over to the common constants file.

Fixes-bug: #1196170

Change-Id: Ib6bfc8275496a24bf247946d177c734b62ae44bb
2013-12-10 19:29:12 +00:00
..
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_agent_scheduler.py Utilizes assertIsNone and assertIsNotNone 2013-10-03 23:01:48 +00:00
test_openvswitch_plugin.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_ovs_db.py Ensure OVS plugin is loaded in OVS plugin test 2013-10-26 20:52:15 +09:00
test_ovs_defaults.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
test_ovs_lib.py Merge "atomically setup ovs ports" 2013-12-05 09:52:40 +00:00
test_ovs_neutron_agent.py Update common network type consts to same origin 2013-12-10 19:29:12 +00:00
test_ovs_rpcapi.py Replace stubout with fixtures 2013-11-24 10:46:08 -05:00
test_ovs_security_group.py Merge "Utilizes assertIsNone and assertIsNotNone" 2013-10-26 01:37:25 +00:00
test_ovs_tunnel.py Update common network type consts to same origin 2013-12-10 19:29:12 +00:00