'Return ip availability data for a specific network id.'

def get_network_ip_availability(self, context, id=None, fields=None):

    filters = {'network_id': [id]}
    result = self.get_network_ip_availabilities(context, filters)
    if result:
        return db_utils.resource_fields(result[0], fields)
    else:
        raise exceptions.NetworkNotFound(net_id=id)
