Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change set-status RPC to allow specifying multiple paths #1201

Open
jameshcorbett opened this issue May 10, 2024 · 0 comments
Open

change set-status RPC to allow specifying multiple paths #1201

jameshcorbett opened this issue May 10, 2024 · 0 comments

Comments

@jameshcorbett
Copy link
Member

jameshcorbett commented May 10, 2024

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, ...]}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant