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:
@@ -19,6 +19,7 @@ import time
|
|||||||
import netaddr
|
import netaddr
|
||||||
from neutron_lib import constants
|
from neutron_lib import constants
|
||||||
from oslo_log import log as logging
|
from oslo_log import log as logging
|
||||||
|
from oslo_log import versionutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from neutron.agent.common import ovs_lib
|
from neutron.agent.common import ovs_lib
|
||||||
@@ -414,6 +415,9 @@ class IVSInterfaceDriver(LinuxInterfaceDriver):
|
|||||||
|
|
||||||
def __init__(self, conf):
|
def __init__(self, conf):
|
||||||
super(IVSInterfaceDriver, self).__init__(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-'
|
self.DEV_NAME_PREFIX = 'ns-'
|
||||||
|
|
||||||
def _get_tap_name(self, dev_name, prefix=None):
|
def _get_tap_name(self, dev_name, prefix=None):
|
||||||
|
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
The ``ivs`` interface driver is deprecated in Queens and will be removed in
|
||||||
|
Rocky.
|
Reference in New Issue
Block a user