Add fleet inventory command#47
Merged
Merged
Conversation
Owner
Author
|
Reviewed and approved on the merits — read-only fan-out over the typed facade (tests assert GET-only), new command follows the standard registration pattern, credentials come from the inventory/env and aren't emitted. Can't merge as-is: the global query flags landed on main first, so this now conflicts on |
1617696 to
acd771b
Compare
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
fleetcommand that loads a YAML nodes inventory and fans out status reads with--concurrency.fleetmanage per-node connection fields from inventory, so it can run without a single global BMC target.Validation
conda run -n idrac_ctl pytest -q tests/test_fleet_inventory.py->2 passed in 1.45sconda run -n idrac_ctl pytest -q->817 passed, 57 skipped in 27.53sconda run -n idrac_ctl ruff check redfish_ctl/__init__.py redfish_ctl/fleet/__init__.py redfish_ctl/fleet/cmd_fleet.py redfish_ctl/idrac_shared.py redfish_ctl/redfish_main.py tests/test_fleet_inventory.py->All checks passed!python -B -m redfish_ctl.redfish_main fleet --helprendered thefleetoptions.