def get_pair(self):
        # TODO(kevinbenton): the callers of this seem only interested in an IP,
        # so we should just return two IPAddresses.
        return (netaddr.IPNetwork("%s/%s" % (self.network, self.prefixlen)),
                netaddr.IPNetwork("%s/%s" % (self[-1], self.prefixlen)))
Builds an address pair from the first and last addresses.
dataset/ETHPy150Open openstack/neutron/neutron/agent/l3/link_local_allocator.py/LinkLocalAddressPair.get_pair