code: def _get_ipv6_network_from_address(address):
      
      if address['addr'].startswith('fe80') or address['addr'] == "::1":
          return None
  
      prefix = address['netmask'].split("/")
      if len(prefix) > 1:
          netmask = prefix[1]
      else:
          netmask = address['netmask']
      return netaddr.IPNetwork("%s/%s" % (address['addr'],
                                          netmask))
docs: Get an netaddr.IPNetwork for the given IPv6 address
      :param address: a dict as returned by netifaces.ifaddresses
      :returns netaddr.IPNetwork: None if the address is a link local or loopback
      address