director/lib/director/deployment_plan/resource_pool.rb
# Creates IdleVm objects for any missing resource pool VMs and reserves
# dynamic networks for all idle VMs.
# @return [void]
Creates IdleVm objects for any missing resource pool VMs and reserves
dynamic networks for all idle VMs.
Creates IdleVm objects for any missing resource pool VMs and reserves dynamic networks for all idle VMs .
def process_idle_vms
        missing_vm_count.times { add_idle_vm }
        idle_vms.each do |idle_vm|
          unless idle_vm.has_network_reservation?
            idle_vm.use_reservation(reserve_dynamic_network)
          end
        end
      end
def process_idle_vms missing_vm_count . times { add_idle_vm } idle_vms . each do | idle_vm | unless idle_vm . has_network_reservation? idle_vm . use_reservation ( reserve_dynamic_network ) end end end
Creates IdleVm objects for any missing resource pool VMs and reserves
dynamic networks for all idle VMs.
Creates IdleVm objects for any missing resource pool VMs and reserves dynamic networks for all idle VMs .
# First, see if we need any data structures to balance the pool size # Second, see if some of idle VMs still need network reservations
None
void