def generate_pool_for(machine)
      if lookup_pool_for(machine).nil?
        @pool_storage['pools'][machine.provider_name.to_s] = AutoNetwork::Pool.new(next_pool_range)
      end

      lookup_pool_for(machine)
    end
def generate_pool_for(machine)
      if lookup_pool_for(machine).nil?
        @pool_storage['pools'][machine.provider_name.to_s] = AutoNetwork::Pool.new(next_pool_range)
      end

      lookup_pool_for(machine)
    end
Create an {AutoNetwork::Pool} assigned to the provider of a given
 machine.

 @note This must be executed within a transaction.
 @api private

 @param machine [Vagrant::Machine]
 @return [AutoNetwork::Pool] the pool associated with the machine
   provider.