11 #ifndef WRENCH_VIRTUALIZEDCLUSTERSERVICEMESSAGE_H
12 #define WRENCH_VIRTUALIZEDCLUSTERSERVICEMESSAGE_H
16 #include "wrench/services/compute/ComputeServiceMessage.h"
20 class BareMetalComputeService;
74 #endif //WRENCH_VIRTUALIZEDCLUSTERSERVICEMESSAGE_H
VirtualizedClusterComputeServiceMessage(const std::string &name, double payload)
Constructor.
Definition: VirtualizedClusterComputeServiceMessage.cpp:21
std::string name
The message name.
Definition: SimulationMessage.h:37
Top-level class for messages received/sent by a ComputeService.
Definition: ComputeServiceMessage.h:32
A message sent to a VirtualizedClusterComputeService to request a VM migration.
Definition: VirtualizedClusterComputeServiceMessage.h:38
VirtualizedClusterComputeServiceMigrateVMAnswerMessage(bool success, std::shared_ptr< FailureCause > failure_cause, double payload)
Constructor.
Definition: VirtualizedClusterComputeServiceMessage.cpp:59
std::string vm_name
The name of the host on which the VM is currently executed.
Definition: VirtualizedClusterComputeServiceMessage.h:46
std::string answer_mailbox
The mailbox to which the answer message should be sent.
Definition: VirtualizedClusterComputeServiceMessage.h:50
double payload
The message size in bytes.
Definition: SimulationMessage.h:39
std::shared_ptr< FailureCause > failure_cause
A failure cause (or nullptr if success)
Definition: VirtualizedClusterComputeServiceMessage.h:65
Top-level class for messages received/sent by a VirtualizedClusterComputeService.
Definition: VirtualizedClusterComputeServiceMessage.h:29
bool success
Whether the VM migration was successful or not.
Definition: VirtualizedClusterComputeServiceMessage.h:63
A message sent by a VirtualizedClusterComputeService in answer to a VM migration request.
Definition: VirtualizedClusterComputeServiceMessage.h:56
VirtualizedClusterComputeServiceMigrateVMRequestMessage(const std::string &answer_mailbox, const std::string &vm_name, const std::string &dest_pm_hostname, double payload)
Constructor.
Definition: VirtualizedClusterComputeServiceMessage.cpp:36
std::string dest_pm_hostname
The name of the host to which the VM should be migrated.
Definition: VirtualizedClusterComputeServiceMessage.h:48