-// Copyright (C) 2009-2012 CEA/DEN, EDF R&D
+// Copyright (C) 2009-2013 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
std::string mpiImpl;
std::string iprotocol;
- bool is_cluster_head;
+ bool can_launch_batch_jobs;
+ bool can_run_containers;
std::string working_directory;
};
void set_manager(BL::JobsManager * manager) {_manager = manager;}
- std::list<std::string> getResourceList();
+ std::list<std::string> getResourceList(bool batch_only);
BL::ResourceDescr getResourceDescr(const std::string& name);
void addResource(BL::ResourceDescr & new_resource);
void removeResource(const std::string & name);
std::string delete_job(BL::Job * job);
std::string stop_job(BL::Job * job);
std::string get_results_job(BL::Job * job);
+ std::string get_assigned_hostnames(BL::Job * job); // Get names or ids of hosts assigned to the job
BL::Job * get_new_job(int job_number);