Skip to content

Commit

Permalink
redfish_info: Report Id in GetManagerInventory output (#7140)
Browse files Browse the repository at this point in the history
  • Loading branch information
smiller248 committed Aug 25, 2023
1 parent 7721420 commit 5fcb98c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/7140-id-getmanagerinv-output.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- redfish_info - report ``Id`` in the output of ``GetManagerInventory`` (https://github.com/ansible-collections/community.general/pull/7140).
2 changes: 1 addition & 1 deletion plugins/module_utils/redfish_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3349,7 +3349,7 @@ def get_manager_inventory(self, manager_uri):
result = {}
inventory = {}
# Get these entries, but does not fail if not found
properties = ['FirmwareVersion', 'ManagerType', 'Manufacturer', 'Model',
properties = ['Id', 'FirmwareVersion', 'ManagerType', 'Manufacturer', 'Model',
'PartNumber', 'PowerState', 'SerialNumber', 'Status', 'UUID']

response = self.get_request(self.root_uri + manager_uri)
Expand Down

0 comments on commit 5fcb98c

Please sign in to comment.