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:
parent
7721420388
commit
5fcb98cd3f
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/7140-id-getmanagerinv-output.yml
Normal file
2
changelogs/fragments/7140-id-getmanagerinv-output.yml
Normal 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).
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue