Resolve "API does not provide facilities to communicate job and adhoc hostnames"
This MR extends the current API by introducing two new structures
ADM_job_resources_t and ADM_adhoc_resources_t.
-
ADM_adhoc_resources_tis renamed fromADM_storage_resources_tand now contains a list of nodes assigned for the adhoc storage instance (the PFS is more of a static thing, so it doesn't make sense to have a generic interface for this). AnADM_adhoc_resources_targument is added toADM_adhoc_context_create()and is propagated through RPCs. This allows resource managers (i.e. Slurm or the IC) to inform us about the nodes assigned for anadhoc_storage. -
A new structure ADM_job_resources_tis added to the API, which for now contains a list of nodes assigned to a job. AnADM_job_resources_targumet is added toADM_register_job()and related functions and is propagated toscordvia RPCs. This allows resource managers to informscordabout the nodes assigned for a job.
Closes #59 (closed)
Edited by Alberto Miranda