flux-sched icon indicating copy to clipboard operation
flux-sched copied to clipboard

change set-status RPC to allow specifying multiple paths

Open jameshcorbett opened this issue 1 year ago • 0 comments

Problem: the set_status RPC defined in resource_match.cpp takes only a single vertex path. The flux-coral2 project sometimes needs to send bulk updates. Since there are only two states, UP and DOWN, I propose changing the RPC payloads from

{"resource_path": PATH, "status": "up"/"down"} to {"up": [PATH, PATH, ...], "down": [PATH, PATH, ...]}.

jameshcorbett avatar May 10 '24 18:05 jameshcorbett