Open
Description
A HostSimple
is created providing the Bandwidth (BW) capacity that is allocated to it.
Such BW is represented as a Resource
object that is created from the bw
param given to the class constructor.
This Resource
object is used by a ResourceProvisioner
to define how the Host's BW will be allocated when placing VMs. It is also used to determine the time a VM migration is expected to take.
However, when a NetworkHost
needs to send packets through the network, it uses the bandwidth from the EdgeSwitch
it is connected to.
Using two different ways to define the Host`s BW according to the situation is quite confusing.