wrench::CloudComputeServiceStartVMRequestMessage

class CloudComputeServiceStartVMRequestMessage : public wrench::CloudComputeServiceMessage

A message sent to a CloudComputeService to request a VM start.

Public Functions

CloudComputeServiceStartVMRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, const std::string &vm_name, const std::string &pm_name, double payload)

Constructor.

Parameters
  • answer_mailbox – the mailbox to which to send the answer

  • vm_name – the name of the VM host

  • pm_name – the name of the physical host on which to start the VM (or “” if up to the service)

  • payload – the message size in bytes

Throws

std::invalid_argument

Public Members

simgrid::s4u::Mailbox *answer_mailbox

The mailbox to which the answer message should be sent.

std::string pm_name

The name of the physical host on which to start the VM (or “” if up to the service”)

std::string vm_name

The name of the VM to start.