Interface of the resourcesManager This interface is used for interaction with the unique instance of ResourcesManager. More...
Public Member Functions | |
| string | FindFirst (in ResourceList possibleResources) | 
| Find first available resource in a resources list.  More... | |
| string | Find (in string policy, in ResourceList possibleResources) | 
| Find best available computer according to policy in a computers list.  More... | |
| ResourceList | GetFittingResources (in ResourceParameters params) raises (SALOME::SALOME_Exception) | 
| Get a list of resources that are best suited to launch a container given constraints.  More... | |
| ResourceDefinition | GetResourceDefinition (in string name) raises (SALOME::SALOME_Exception) | 
| Get definition of a resource.  More... | |
| void | AddResource (in ResourceDefinition new_resource, in boolean write, in string xml_file) raises (SALOME::SALOME_Exception) | 
| Add a new resource to the resource_manager.  More... | |
| void | RemoveResource (in string resource_name, in boolean write, in string xml_file) raises (SALOME::SALOME_Exception) | 
| Remove a new resource to the resource_manager.  More... | |
| string | getMachineFile (in string resource_name, in long nb_procs, in string parallelLib) raises (SALOME::SALOME_Exception) | 
| Create a machine file for PaCO container.  More... | |
| void | ListAllAvailableResources (out ResourceList machines, out IntegerList nbProcsOfMachines) raises (SALOME::SALOME_Exception) | 
| Return list of resources available (regarding containt of CatalogResources.xml). And for each resource the number of proc available of it.  More... | |
Interface of the resourcesManager This interface is used for interaction with the unique instance of ResourcesManager.
| string Engines::ResourcesManager::FindFirst | ( | in ResourceList | possibleResources | ) | 
Find first available resource in a resources list.
| string Engines::ResourcesManager::Find | ( | in string | policy, | 
| in ResourceList | possibleResources | ||
| ) | 
Find best available computer according to policy in a computers list.
| ResourceList Engines::ResourcesManager::GetFittingResources | ( | in ResourceParameters | params | ) | raises (SALOME::SALOME_Exception) | 
Get a list of resources that are best suited to launch a container given constraints.
The constraints are resource constraints (params) and components constraints (componentList)
| ResourceDefinition Engines::ResourcesManager::GetResourceDefinition | ( | in string | name | ) | raises (SALOME::SALOME_Exception) | 
Get definition of a resource.
| void Engines::ResourcesManager::AddResource | ( | in ResourceDefinition | new_resource, | 
| in boolean | write, | ||
| in string | xml_file | ||
| ) | raises (SALOME::SALOME_Exception) | 
Add a new resource to the resource_manager.
write -> true, resource manager will add it into a xml_file xml_file -> could be empty, in this case if write is true, resource manager will write the resource in its first ResourceCatalog file
| void Engines::ResourcesManager::RemoveResource | ( | in string | resource_name, | 
| in boolean | write, | ||
| in string | xml_file | ||
| ) | raises (SALOME::SALOME_Exception) | 
Remove a new resource to the resource_manager.
write -> true, resource manager will write a new xml_file xml_file -> could be empty, in this case if write is true, resource manager will write the resource in its first ResourceCatalog file
| string Engines::ResourcesManager::getMachineFile | ( | in string | resource_name, | 
| in long | nb_procs, | ||
| in string | parallelLib | ||
| ) | raises (SALOME::SALOME_Exception) | 
Create a machine file for PaCO container.
| void Engines::ResourcesManager::ListAllAvailableResources | ( | out ResourceList | machines, | 
| out IntegerList | nbProcsOfMachines | ||
| ) | raises (SALOME::SALOME_Exception) | 
Return list of resources available (regarding containt of CatalogResources.xml). And for each resource the number of proc available of it.