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: Include Status property for GetChassisThermals (#3233)

* redfish_info: Include Status property for GetChassisThermals

Include Status property for Thermal objects when querying Thermal properties
via GetChassisThermals command.

FIXES #3232

* fixup for rename of fragments file

* Update changelogs/fragments/3233-include-thermal-sensor-status-via-redfish_info.yaml

Co-authored-by: Ajpantuso <ajpantuso@gmail.com>

Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
This commit is contained in:
Jacob 2021-08-19 15:13:10 -04:00 committed by GitHub
parent 6ac410b3f6
commit c7fccb2c01
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 - include ``Status`` property for Thermal objects when querying Thermal properties via ``GetChassisThermals`` command (https://github.com/ansible-collections/community.general/issues/3232).

View file

@ -1887,7 +1887,7 @@ class RedfishUtils(object):
'LowerThresholdCritical', 'LowerThresholdFatal', 'LowerThresholdCritical', 'LowerThresholdFatal',
'LowerThresholdNonCritical', 'MaxReadingRangeTemp', 'LowerThresholdNonCritical', 'MaxReadingRangeTemp',
'MinReadingRangeTemp', 'ReadingCelsius', 'RelatedItem', 'MinReadingRangeTemp', 'ReadingCelsius', 'RelatedItem',
'SensorNumber'] 'SensorNumber', 'Status']
# Go through list # Go through list
for chassis_uri in self.chassis_uris: for chassis_uri in self.chassis_uris: