NetworkDatacenter class is a
Datacenterwhose hostList are virtualized and networked. It contains all the information about internal network. For example, which VM is connected to what switch, etc.
Please refer to following publication for more details:
- Saurabh Kumar Garg and Rajkumar Buyya, NetworkCloudSim: Modelling Parallel Applications in Cloud Simulations, Proceedings of the 4th IEEE/ACM International Conference on Utility and Cloud Computing (UCC 2011, IEEE CS Press, USA), Melbourne, Australia, December 5-7, 2011.
Author: Saurabh Kumar Garg, Manoel Campos da Silva Filho
NetworkDatacenter(Simulation simulation, List<? extends Host> hostList, VmAllocationPolicy vmAllocationPolicy)¶
Creates a NetworkDatacenter with the given parameters.
- simulation – The CloudSim instance that represents the simulation the Entity is related to
- hostList – list of
Hosts that will compound the Datacenter
- vmAllocationPolicy – the policy to be used to allocate VMs into hosts
- IllegalArgumentException – when this entity has zero number of PEs (Processing Elements). No PEs mean the Cloudlets can’t be processed. A CloudResource must contain one or more Machines. A Machine must contain one or more PEs.