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

Show resource providers available at a node #215

Merged
merged 4 commits into from
Oct 18, 2024

Conversation

ccicconetti
Copy link
Member

Try:

edgeless_node_d --available-resources

@ccicconetti ccicconetti requested a review from franvipa October 16, 2024 16:33
@ccicconetti ccicconetti linked an issue Oct 16, 2024 that may be closed by this pull request
@franvipa
Copy link
Member

It's an interesting functionality. I think it would be useful to have an additional arg that allows to enable JSON output format. I've created a commit with it.
Try:
edgeless_node_d --available-resources --output-json

@ccicconetti
Copy link
Member Author

--available-resources --output-json

Very nice @franvipa!

I did a minor refactoring, which should simplify maintenance when (if?) we add more fields to the resource provider descriptors. The output should be 100% compatible with what you did.

If you agree, please approve the PR.

@ccicconetti ccicconetti merged commit 81d4145 into main Oct 18, 2024
4 checks passed
@ccicconetti ccicconetti deleted the 92-conditional-compilation-of-nodes branch October 18, 2024 14:36
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

Successfully merging this pull request may close these issues.

Conditional compilation of nodes
2 participants