]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Move in-tree vendor VIF_TYPE_* constants
authorCedric Brandily <zzelle@gmail.com>
Wed, 19 Aug 2015 00:02:17 +0000 (02:02 +0200)
committerCedric Brandily <zzelle@gmail.com>
Thu, 20 Aug 2015 22:12:29 +0000 (00:12 +0200)
commit86476becd884a0f238354335bc87e5209d67c94f
treed97fc3723311ad1b357643080397067b2f7ed26b
parente8303ce77c27391213948573108be02a72c34027
Move in-tree vendor VIF_TYPE_* constants

VIF_TYPE_* constants[1] defines all vif types BUT vendor ones are only
used by in-tree/out-of-tree vendor code. This changes moves in-tree
VIF_TYPE_* constants[2] to vendor modules to ensure they will be removed
from neutron code on decomposition.

[1] in neutron.extensions.portbindings
[2] VIF_TYPE_HYPERV/IB_HOSTDEV/HW_WEB/VROUTER

Change-Id: Iee73426221d693689ba24d2ce2660bb7351f02fc
Partial-Bug: #1486279
neutron/db/migration/alembic_migrations/versions/2b801560a332_remove_hypervneutronplugin_tables.py
neutron/extensions/portbindings.py
neutron/plugins/ml2/drivers/hyperv/constants.py [new file with mode: 0644]
neutron/plugins/ml2/drivers/hyperv/mech_hyperv.py
neutron/plugins/ml2/drivers/mech_sriov/mech_driver/mech_driver.py
neutron/plugins/ml2/drivers/mlnx/mech_mlnx.py
neutron/plugins/opencontrail/contrail_plugin.py
neutron/tests/unit/plugins/ml2/drivers/mech_sriov/mech_driver/test_mech_sriov_nic_switch.py
neutron/tests/unit/plugins/ml2/drivers/mlnx/test_mech_mlnx.py
neutron/tests/unit/plugins/opencontrail/test_contrail_plugin.py