def setup_ipv6autoconf(networks): # TODO: Move func to IP or LINK level. # TODO: Implicitly disable ipv6 on SB iface/s and fake ifaces (br, bond). for net, attrs in six.iteritems(networks): if 'remove' in attrs: continue if attrs['ipv6autoconf']: address.enable_ipv6_local_auto(net) else: address.disable_ipv6_local_auto(net)
def setup_ipv6autoconf(networks): # TODO: Move func to IP or LINK level. # TODO: Implicitly disable ipv6 on SB iface/s and fake ifaces (br, bond). for net, attrs in six.iteritems(networks): if 'remove' in attrs: continue if attrs['ipv6autoconf']: address.enable_ipv6_local_auto(net) else: address.disable_ipv6_local_auto(net)