Merge "Deprecate ivs interface driver"

This commit is contained in:
Jenkins 2017-09-26 01:48:21 +00:00 committed by Gerrit Code Review
commit 5af60c70ca
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.