A virtualized cluster-based compute service. More...
#include <VirtualizedClusterComputeService.h>
Public Member Functions | |
VirtualizedClusterComputeService (const std::string &hostname, std::vector< std::string > &execution_hosts, std::string scratch_space_mount_point, std::map< std::string, std::string > property_list={}, std::map< std::string, double > messagepayload_list={}) | |
Constructor. More... | |
Public Member Functions inherited from wrench::CloudComputeService | |
CloudComputeService (const std::string &hostname, std::vector< std::string > &execution_hosts, std::string scratch_space_mount_point, std::map< std::string, std::string > property_list={}, std::map< std::string, double > messagepayload_list={}) | |
Constructor. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from wrench::ComputeService | |
static constexpr unsigned long | ALL_CORES = ULONG_MAX |
A convenient constant to mean "use all cores of a physical host" whenever a number of cores is needed when instantiating compute services. | |
static constexpr double | ALL_RAM = DBL_MAX |
A convenient constant to mean "use all ram of a physical host" whenever a ram capacity is needed when instantiating compute services. | |
Protected Attributes inherited from wrench::CloudComputeService | |
std::vector< std::string > | execution_hosts |
List of execution host names. | |
std::map< std::string, unsigned long > | used_cores_per_execution_host |
Map of number of used cores at the hosts. | |
std::map< std::string, double > | used_ram_per_execution_host |
Map of used RAM at the hosts. | |
std::map< std::string, std::pair< std::shared_ptr< S4U_VirtualMachine >, std::shared_ptr< BareMetalComputeService > > > | vm_list |
A map of VMs. | |
Detailed Description
A virtualized cluster-based compute service.
Constructor & Destructor Documentation
◆ VirtualizedClusterComputeService()
wrench::VirtualizedClusterComputeService::VirtualizedClusterComputeService | ( | const std::string & | hostname, |
std::vector< std::string > & | execution_hosts, | ||
std::string | scratch_space_mount_point, | ||
std::map< std::string, std::string > | property_list = {} , |
||
std::map< std::string, double > | messagepayload_list = {} |
||
) |
Constructor.
- Parameters
-
hostname the name of the hostcreate on which to start the service execution_hosts the hosts available for running virtual machines scratch_space_mount_point the mount of of the scratch space of the cloud service ("" means none) property_list a property list ({} means "use all defaults") messagepayload_list a message payload list ({} means "use all defaults")
- Exceptions
-
std::runtime_error
The documentation for this class was generated from the following files:
- VirtualizedClusterComputeService.h
- VirtualizedClusterComputeService.cpp