Merge "Remove neutron.common.ipv6_utils.is_enabled()"
This commit is contained in:
commit
cfc0a1ae5b
@ -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…
Reference in New Issue
Block a user