Skip to content

Add global Redfish query flags#44

Merged
spyroot merged 1 commit into
mainfrom
neroshige/c1-query-flags
Jul 10, 2026
Merged

Add global Redfish query flags#44
spyroot merged 1 commit into
mainfrom
neroshige/c1-query-flags

Conversation

@spyroot

@spyroot spyroot commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • add top-level Redfish GET query flags for select, filter, expand, top, and only
  • validate requested query parameters against the target vendor capability profile
  • attach the validated query to command dispatch so base_query appends it without changing startup probes or URLs that already include a query string
  • document the root-level flag placement in the command reference

Tests

  • pytest -q tests/test_query.py
  • pytest -q
  • ruff check redfish_ctl/redfish_main.py redfish_ctl/idrac_manager.py redfish_ctl/redfish_manager.py tests/test_query.py
  • python -B -m redfish_ctl.redfish_main --help

@spyroot spyroot merged commit aa14e72 into main Jul 10, 2026
3 checks passed
@spyroot spyroot deleted the neroshige/c1-query-flags branch July 10, 2026 18:18
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.

1 participant