mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add redfish processor architecture to Redfish CPU inventory (#6864)
* Add Processor Architecture to CPU Inventory details * Add changelog fragment * Changelog fragment writing guide formatting Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Pierre-yves FONTANIERE <pyf@cc.in2p3.fr> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
49349fce5e
commit
eb73dc464e
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- redfish_info - adds ``ProcessorArchitecture`` to CPU inventory (https://github.com/ansible-collections/community.general/pull/6864).
|
|
@ -2287,7 +2287,7 @@ class RedfishUtils(object):
|
||||||
key = "Processors"
|
key = "Processors"
|
||||||
# Get these entries, but does not fail if not found
|
# Get these entries, but does not fail if not found
|
||||||
properties = ['Id', 'Name', 'Manufacturer', 'Model', 'MaxSpeedMHz',
|
properties = ['Id', 'Name', 'Manufacturer', 'Model', 'MaxSpeedMHz',
|
||||||
'TotalCores', 'TotalThreads', 'Status']
|
'ProcessorArchitecture', 'TotalCores', 'TotalThreads', 'Status']
|
||||||
|
|
||||||
# Search for 'key' entry and extract URI from it
|
# Search for 'key' entry and extract URI from it
|
||||||
response = self.get_request(self.root_uri + systems_uri)
|
response = self.get_request(self.root_uri + systems_uri)
|
||||||
|
|
Loading…
Reference in a new issue