Files
community.general/lib/ansible/module_utils
Xander Madsen eb7190264e Add GetChassisPower command to Chassis category of redfish_facts (#54314)
* Add GetChassisPower as viable Chassis command in redfish_facts

* Add conditional to catch command == 'GetChassisPower'

* Implement get_chassis_power() retrieving Watts-related and other useful power data from each Chassis

* Add RelatedItem property and remove MemberId property

* Check for length of data['PowerControl'] to be > 0 before checking index 0 of the list.

* Fix return statement being inside loop and result key not being 'entries' as is expected

* Update lib/ansible/module_utils/redfish_utils.py

Co-Authored-By: xmadsen <xander.madsen@gmail.com>

* Update lib/ansible/module_utils/redfish_utils.py

Co-Authored-By: xmadsen <xander.madsen@gmail.com>

* Update redfish_facts.py
2019-05-02 13:48:57 +01:00
..
2019-05-01 22:11:12 -04:00
2019-04-29 14:24:54 +05:30
2019-03-31 23:36:56 +02:00
2019-03-05 07:30:24 +01:00
2019-04-25 22:29:08 +02:00
2018-08-21 16:32:37 +02:00
2018-11-16 12:39:05 +00:00
2018-09-24 21:03:50 +02:00
2019-04-01 17:23:57 +01:00
2017-09-13 01:53:08 -07:00
2018-07-31 13:23:05 -04:00