Deprecate ivs interface driver

As per PTG discussions [1], we can kill the driver now. This should open
the path to switching neutron to using os-vif to plug its ports.

[1] https://etherpad.openstack.org/p/neutron-queens-ptg

Change-Id: I4fd06c9c44007c21c89fdb412a6db5432ad71a30
This commit is contained in:
Ihar Hrachyshka 2017-09-19 13:49:49 -07:00
parent 917063a0ce
commit 500ebc105e
2 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,7 @@ import time
import netaddr
from neutron_lib import constants
from oslo_log import log as logging
from oslo_log import versionutils
import six
from neutron.agent.common import ovs_lib
@ -414,6 +415,9 @@ class IVSInterfaceDriver(LinuxInterfaceDriver):
def __init__(self, conf):
super(IVSInterfaceDriver, self).__init__(conf)
versionutils.report_deprecated_feature(
LOG, "IVS interface driver is deprecated in Queens and will be "
"removed in Rocky.")
self.DEV_NAME_PREFIX = 'ns-'
def _get_tap_name(self, dev_name, prefix=None):

View File

@ -0,0 +1,5 @@
---
deprecations:
- |
The ``ivs`` interface driver is deprecated in Queens and will be removed in
Rocky.