1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

redfish_info: Report Id in GetManagerInventory output (#7140)

This commit is contained in:
smiller248 2023-08-25 14:50:28 -04:00 committed by GitHub
parent 7721420388
commit 5fcb98cd3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- redfish_info - report ``Id`` in the output of ``GetManagerInventory`` (https://github.com/ansible-collections/community.general/pull/7140).

View file

@ -3349,7 +3349,7 @@ class RedfishUtils(object):
result = {} result = {}
inventory = {} inventory = {}
# Get these entries, but does not fail if not found # 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'] 'PartNumber', 'PowerState', 'SerialNumber', 'Status', 'UUID']
response = self.get_request(self.root_uri + manager_uri) response = self.get_request(self.root_uri + manager_uri)