wrench::CloudService Class Reference

A cloud-based compute service that manages a set of physical hosts and controls access to their resources by (transparently) executing jobs in VM instances. More...

#include <CloudService.h>

Inheritance diagram for wrench::CloudService:
wrench::VirtualizedClusterService wrench::ComputeService wrench::Service

Public Member Functions

 CloudService (const std::string &hostname, bool supports_standard_jobs, bool supports_pilot_jobs, std::vector< std::string > &execution_hosts, StorageService *default_storage_service, std::map< std::string, std::string > plist={})
 Constructor. More...
 
- Public Member Functions inherited from wrench::VirtualizedClusterService
 VirtualizedClusterService (const std::string &hostname, bool supports_standard_jobs, bool supports_pilot_jobs, std::vector< std::string > &execution_hosts, StorageService *default_storage_service, std::map< std::string, std::string > plist={})
 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 on the physical host" whenever a number of cores is needed when instantiat services.
 
static constexpr double ALL_RAM = DBL_MAX
 A convenient constant to mean "use all ram on the physical host" whenever a ram capacity is needed when instantiating services.
 

Detailed Description

A cloud-based compute service that manages a set of physical hosts and controls access to their resources by (transparently) executing jobs in VM instances.

Constructor & Destructor Documentation

wrench::CloudService::CloudService ( const std::string &  hostname,
bool  supports_standard_jobs,
bool  supports_pilot_jobs,
std::vector< std::string > &  execution_hosts,
StorageService default_storage_service,
std::map< std::string, std::string >  plist = {} 
)

Constructor.

Parameters
hostnamethe hostname on which to start the service
supports_standard_jobstrue if the compute service should support standard jobs
supports_pilot_jobstrue if the compute service should support pilot jobs
execution_hoststhe hosts available for running virtual machines
default_storage_servicea storage service (or nullptr)
plista property list ({} means "use all defaults")
Exceptions
std::runtime_error

The documentation for this class was generated from the following files:
  • /home/wrench/wrench/include/wrench/services/compute/cloud/CloudService.h
  • /home/wrench/wrench/src/wrench/services/compute/cloud/CloudService.cpp