]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Hyper-V: remove driver from the neutron tree
authorGary Kotton <gkotton@vmware.com>
Thu, 26 Nov 2015 13:12:53 +0000 (05:12 -0800)
committerGary Kotton <gkotton@vmware.com>
Thu, 3 Dec 2015 14:11:59 +0000 (06:11 -0800)
commit1b22c0e1eaa14bfa5fb81c63ff6f85b642728beb
tree8755d89dcaea3feec333b052b420792b1ccaf6df
parent770624b13bf57fdab549bfb66ee9cc6781ae8d65
Hyper-V: remove driver from the neutron tree

The hyperv drivers and code should be part of the networking-hyperv
project (https://github.com/openstack/networking-hyperv).

A few changes are necessary in order to prevent Hyper-V deployments from
breaking, especially when upgrading to Mitaka.

Hyper-V deployments are configured to use the in-branch HyperVSecurityGroupsDriver.
Removing it will cause the Hyper-V Neutron Agent to fail. If the agent is
configured to use the old driver, the networking_hyperv's driver must be used
instead and the users must be warned to update their configuration files to
use the networking_hyperv's security groups driver.

Removes the neutron-hyperv-agent entry point from setup.cfg.
Removes the hyperv mechanism_driver from setup.cfg
Moves the in-tree HyperVSecurityGroupsDriver to the networking_hyperv equivalent.
Logs a warning if the in-tree HyperVSecurityGroupsDriver is used.
Removes pywin32 and wmi requirements, as they've been included in networking_hyperv
and they are Hyper-V specific requirements.
Adds release note regarding the deprecated security groups driver.

Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>
Depends-On: I3a25f18b4f3a0621cb92b44eb61e434fa87e0aab

Change-Id: I32451cba6933e88306a4308a07f3f0d1b81f626c
Closes-bug: #1520054
14 files changed:
neutron/cmd/eventlet/plugins/hyperv_neutron_agent.py [deleted file]
neutron/db/migration/alembic_migrations/versions/2b801560a332_remove_hypervneutronplugin_tables.py
neutron/plugins/hyperv/agent/config.py [deleted file]
neutron/plugins/hyperv/agent/l2_agent.py [deleted file]
neutron/plugins/hyperv/agent/security_groups_driver.py
neutron/plugins/ml2/drivers/hyperv/README [deleted file]
neutron/plugins/ml2/drivers/hyperv/__init__.py [deleted file]
neutron/plugins/ml2/drivers/hyperv/constants.py [deleted file]
neutron/plugins/ml2/drivers/hyperv/mech_hyperv.py [deleted file]
neutron/plugins/ml2/drivers/hyperv/requirements.txt [deleted file]
neutron/tests/unit/plugins/hyperv/__init__.py [deleted file]
releasenotes/notes/hyperv-neutron-agent-decomposition-ae6a052aeb48c6ac.yaml [new file with mode: 0644]
requirements.txt
setup.cfg