c86e299e66
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 |
||
---|---|---|
.. | ||
agent | ||
common | ||
__init__.py | ||
ovs_db_v2.py | ||
ovs_models_v2.py | ||
ovs_neutron_plugin.py | ||
README |
The Open vSwitch (OVS) Neutron 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/