Remove neutron.common.ipv6_utils.is_enabled()
is_enabled() was marked deprecated for Pike and all in-tree users have been changed, remove it. Change-Id: If087fc7e138f8302882e26550ea3e2abc521da9a
This commit is contained in:
parent
7af69eb662
commit
99f323e4c7
@ -18,7 +18,6 @@ IPv6-related utilities and helper functions.
|
||||
"""
|
||||
import os
|
||||
|
||||
from debtcollector import moves
|
||||
import netaddr
|
||||
from neutron_lib import constants as const
|
||||
from oslo_log import log
|
||||
@ -50,11 +49,6 @@ def is_enabled_and_bind_by_default():
|
||||
return _IS_IPV6_ENABLED
|
||||
|
||||
|
||||
is_enabled = moves.moved_function(is_enabled_and_bind_by_default,
|
||||
'is_enabled', __name__, version='Ocata',
|
||||
removal_version='Pike')
|
||||
|
||||
|
||||
def is_auto_address_subnet(subnet):
|
||||
"""Check if subnet is an auto address subnet."""
|
||||
modes = [const.IPV6_SLAAC, const.DHCPV6_STATELESS]
|
||||
|
Loading…
x
Reference in New Issue
Block a user