Class NetworkVm

java.lang.Object
All Implemented Interfaces:
java.lang.Comparable<Vm>, AbstractMachine, ChangeableId, CustomerEntity, Delayable, Identifiable, UniquelyIdentifiable, TimeZoned, Resourceful, Vm

public class NetworkVm
extends VmSimple
NetworkVm class extends VmSimple to support simulation of networked datacenters. It executes actions related to management of packets (sent and received).

Please refer to following publication for more details:

Since:
CloudSim Toolkit 3.0
Author:
Saurabh Kumar Garg
  • Constructor Details

    • NetworkVm

      public NetworkVm​(int id, long mipsCapacity, int numberOfPes)
      Creates a NetworkVm with 1024 MEGA of RAM, 1000 Megabits/s of Bandwidth and 1024 MEGA of Storage Size. To change these values, use the respective setters. While the Vm is not created inside a Host, such values can be changed freely.
      Parameters:
      id - unique ID of the VM
      mipsCapacity - the mips capacity of each Vm Pe
      numberOfPes - amount of Pe (CPU cores)
    • NetworkVm

      public NetworkVm​(long mipsCapacity, int numberOfPes)
      Creates a NetworkVm with 1024 MEGA of RAM, 1000 Megabits/s of Bandwidth and 1024 MEGA of Storage Size. To change these values, use the respective setters. While the Vm is not created inside a Host, such values can be changed freely.

      It is not defined an id for the Vm. The id is defined when the Vm is submitted to a DatacenterBroker.

      Parameters:
      mipsCapacity - the mips capacity of each Vm Pe
      numberOfPes - amount of Pe (CPU cores)
  • Method Details