]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Move in-tree vendor AGENT_TYPE_* constants
authorCedric Brandily <zzelle@gmail.com>
Fri, 21 Aug 2015 20:48:42 +0000 (22:48 +0200)
committerCedric Brandily <zzelle@gmail.com>
Mon, 24 Aug 2015 20:16:05 +0000 (20:16 +0000)
commite394b04e5c339e08435e9635a58c6d4689b6545b
tree99eac6ea4ce533d1dc70bf6134fb6ed045fd6f23
parent86476becd884a0f238354335bc87e5209d67c94f
Move in-tree vendor AGENT_TYPE_* constants

AGENT_TYPE_* constants[1] define all agent types BUT vendor ones are only
used by in-tree vendor code. This changes moves in-tree AGENT_TYPE_*
constants[2] to vendor modules to ensure they will be removed from neutron
code on decomposition.

[1] in neutron.common.constants
[2] AGENT_TYPE_HYPERV/MLNX/SDNVE

Change-Id: Id03fb147e11541be309c1cd22ce27e70fadc28b5
Partial-Bug: #1487598
neutron/common/constants.py
neutron/plugins/hyperv/agent/l2_agent.py
neutron/plugins/ibm/agent/sdnve_neutron_agent.py
neutron/plugins/ml2/drivers/hyperv/constants.py
neutron/plugins/ml2/drivers/hyperv/mech_hyperv.py
neutron/plugins/ml2/drivers/mlnx/mech_mlnx.py
neutron/tests/unit/plugins/ml2/drivers/mlnx/test_mech_mlnx.py