Class NetworkDatacenter

All Implemented Interfaces:
Comparable<SimEntity>, Runnable, Identifiable, Nameable, SimEntity, Sizeable, Datacenter, TimeZoned, PowerAware<PowerModelDatacenter>

public class NetworkDatacenter extends DatacenterSimple
Author:
Saurabh Kumar Garg, Manoel Campos da Silva Filho
  • Constructor Details

    • NetworkDatacenter

      public NetworkDatacenter(Simulation simulation, List<? extends NetworkHost> hostList, VmAllocationPolicy vmAllocationPolicy)
      Creates a NetworkDatacenter with the given parameters.
      Parameters:
      simulation - The CloudSimPlus instance that represents the simulation the Entity belongs to
      hostList - list of Hosts that will compound the Datacenter
      vmAllocationPolicy - the policy to be used to allocate Vms into hosts
      Throws:
      IllegalArgumentException - when this Host has zero Pes
    • NetworkDatacenter

      public NetworkDatacenter(Simulation simulation, List<? extends NetworkHost> hostList)
      Creates a NetworkDatacenter that uses a VmAllocationPolicySimple as default.
      Parameters:
      simulation - The CloudSimPlus instance that represents the simulation the Entity belongs to
      hostList - list of Hosts that will compound the Datacenter
      Throws:
      IllegalArgumentException - when this Host has zero Pes
  • Method Details