neutron/neutron
Justin Hammond 4cdccd69a4 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
..
agent Update common network type consts to same origin 2013-12-10 19:29:12 +00:00
api Fix misspells 2013-12-03 15:03:47 -08:00
cmd remove binaries under bin 2013-08-16 10:10:30 +08:00
common Merge "Fix str2dict and dict2str's incorrect behavior" 2013-12-10 12:06:06 +00:00
db Merge "Add LeastRouters Scheduler to Neutron L3 Agent" 2013-12-09 14:07:58 +00:00
debug Fix incorrect indentations found by Pep 1.4.6+ 2013-10-19 10:50:16 +02:00
extensions update error msg for invalid state to update vpn resources 2013-12-03 06:06:02 +08:00
locale Imported Translations from Transifex 2013-12-10 06:33:52 +00:00
openstack Sync rpc fix from oslo-incubator 2013-12-06 15:35:51 +01:00
plugins Update common network type consts to same origin 2013-12-10 19:29:12 +00:00
scheduler Add LeastRouters Scheduler to Neutron L3 Agent 2013-12-09 13:25:59 +01:00
server Disable lazy translation 2013-10-01 23:16:23 +00:00
services LBaaS: unify haproxy-on-host plugin driver and agent 2013-12-10 12:08:03 +04:00
tests Update common network type consts to same origin 2013-12-10 19:29:12 +00:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
auth.py Add request-id to log messages 2013-11-21 17:01:33 +09:00
context.py Stop logging unnecessary warning on context create 2013-11-28 09:17:18 +00:00
hooks.py Fixes Windows setup dependency bug 2013-08-15 22:58:14 +03:00
manager.py Add agent scheduling for LBaaS namespace agent 2013-07-19 13:25:04 +04:00
neutron_plugin_base_v2.py Apply six for metaclass 2013-11-18 17:58:58 +09:00
policy.py Add log statements for policy check failures 2013-11-14 19:21:15 -08:00
quota.py Fallback to Quota Conf Driver if Quotas table is not defined 2013-10-09 22:28:03 +09:00
service.py Merge "Creates multiple worker processes for API server" 2013-10-31 01:39:19 +00:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Merge "Creates multiple worker processes for API server" 2013-10-31 01:39:19 +00:00