-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add resource_id field to redfish_info #8331
Comments
Files identified in the description: If these files are incorrect, please update the |
The existing utilities in redfish_info (with some exceptions I'll point out later) are returning all instances regardless of the number of chassis or system instances. So, if you invoke "GetSystemInventory", it calls "get_multi_system_inventory" to collect information from each member of the systems collection. Likewise, "GetCpuInventory" will call "get_multi_cpu_inventory", which collects the CPU inventory from each system in the systems collection. With this behavior in place today, is there a need to call out specific resources? Specifically for the GetLogs and GetNetworkProtocols commands under Manager, these two do not handle multi-manager designs. There is an open issue (#6764) and pull request (#8178) for this. |
Thanks @mraineri for sharing the details and background. Just a thought, if there are many systems/managers, would it not be nicer to have a resource_id flag to fetch details of single instance instead of querying the list of systems or managers and using ansible task to filter the needed resource. |
I had a chat with a few others, and we're thinking it's reasonable to add this capability for all redfish_info commands. Will need to plan this change out. |
Summary
resource_id
parameter is accepted inredfish_command
andredfish_config
which is very much useful to pass the ID of the System, Manager or Chassis. This feature is missing inredfish_info
.Adding
resource_id
field incommunity.general.redfish_info
would benefit all users (along with me) using redfish to manage/configure multi-systems.Issue Type
Feature Idea
Component Name
redfish_info
Additional Information
Code of Conduct
The text was updated successfully, but these errors were encountered: