'Check if the networks requested belongs to the project
and the fixed IP address for each network provided is within
same the network block'

def _check_requested_networks(self, context, requested_networks, max_count):

    if (requested_networks is not None):
        if requested_networks.no_allocate:
            return max_count
        requested_networks = requested_networks.as_tuples()
    return self.network_api.validate_networks(context, requested_networks, max_count)
