wrench::VirtualizedClusterComputeServiceMigrateVMRequestMessage

class VirtualizedClusterComputeServiceMigrateVMRequestMessage : public wrench::VirtualizedClusterComputeServiceMessage

A message sent to a VirtualizedClusterComputeService to request a VM migration.

Public Functions

VirtualizedClusterComputeServiceMigrateVMRequestMessage(S4U_CommPort *answer_commport, const std::string &vm_name, const std::string &dest_pm_hostname, double payload)

Constructor.

Parameters:
  • answer_commport – the commport to which to send the answer

  • vm_name – the name of the new VM host

  • dest_pm_hostname – the name of the destination physical machine host

  • payload – the message size in bytes

Throws:

std::invalid_argument

Public Members

S4U_CommPort *answer_commport

The commport_name to which the answer message should be sent.

std::string dest_pm_hostname

The name of the host to which the VM should be migrated.

std::string vm_name

The name of the host on which the VM is currently executed.