feat(python): list aggregates in cluster_info output#52
Open
KrP77 wants to merge 1 commit into
Open
Conversation
|
Test Report looks present - thanks. Reviewers will verify the captured output and idempotency evidence. |
There was a problem hiding this comment.
Thanks for your first PR to Pace — welcome aboard.
Quick orientation:
- CI runs in ~2 minutes. If anything fails, check the Actions tab — most failures have a one-line fix in
docs/troubleshooting.md. - If your PR touches
python/,ansible/, orterraform/, you'll be asked for a Test Report. It's worth the effort — reviewers rely on it. - Make sure the NetApp CCLA is on file before review.
- Stuck? Comment on this PR and a maintainer will jump in. We aim to respond as soon as possible.
For background, see CONTRIBUTING.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extend the Python cluster_info.py example to retrieve and display aggregate information in addition to cluster version and node details.
This provides a more complete cluster overview by including aggregate state and capacity utilization while keeping the example read-only.
Changes
Checklist
General
catalog.yamland tool READMEIf touching
python/python -m py_compile python/*.py)ruff check python/)Test Report
Environment: Not available
Platform version: Not tested
Style touched:
First run
$ ruff check python/
All checks passed!
Idempotency / re-run
The example is read-only and does not modify cluster state. Re-running the script is expected to retrieve and display the current cluster, node, and aggregate information without side effects.
Cleanup / teardown
No cleanup required. The example performs read-only API operations.
Cannot run on a cluster?
I do not currently have access to an ONTAP cluster or simulator to perform end-to-end validation.
The change was validated locally using Ruff linting. A maintainer with cluster access may perform runtime verification if required.
Related issues
Fixes #34