'Return an address in the primary_vip_range CIDR, with the router\'s
VRID in the host section.
For example, if primary_vip_range is 169.254.0.0/24, and this router\'s
VRID is 5, the result is 169.254.0.5. Using the VRID assures that
the primary VIP is consistent amongst HA router instances on different
nodes.'

def get_primary_vip(self):

    ip = (netaddr.IPNetwork(self.primary_vip_range).network + self.vrouter_id)
    return str(netaddr.IPNetwork(('%s/%s' % (ip, PRIMARY_VIP_RANGE_SIZE))))
