Merge "Remove neutron.common.ipv6_utils.is_enabled()"

This commit is contained in:
Zuul
2017-11-17 09:28:48 +00:00
committed by Gerrit Code Review

View File

@@ -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]