community.general/lib/ansible
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
..
cli Fix and refix help text for CLI (#55831) 2019-04-30 11:16:26 -04:00
compat Update bundled copy of selectors2 from 1.1.0 to 1.1.1 (#55457) 2019-04-23 11:52:24 -05:00
config Add WTI Serial Port Config module (#55102) 2019-04-24 09:53:40 -04:00
errors Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 2019-01-23 11:32:25 -05:00
executor options not optional for callbacks (#55660) 2019-04-25 22:22:06 -04:00
galaxy Update galaxy cli metadata file templates (#51398) 2019-02-22 00:54:02 -05:00
inventory preserve same order as inventory manager when using host lookup (#55331) 2019-04-18 15:54:03 -04:00
module_utils Add GetChassisPower command to Chassis category of redfish_facts (#54314) 2019-05-02 13:48:57 +01:00
modules Add GetChassisPower command to Chassis category of redfish_facts (#54314) 2019-05-02 13:48:57 +01:00
parsing Migrate command line parsing to argparse (#50610) 2019-04-23 13:54:39 -05:00
playbook unite poll defaults (#55470) 2019-05-01 13:47:50 -05:00
plugins VMware: Handle VMs with no configurations 2019-05-01 11:47:28 -04:00
template fix combine filter using undefined vars (#55840) 2019-04-30 11:10:19 -04:00
utils caution tape on makedirs_safe (#55241) 2019-04-24 11:37:34 -04:00
vars fixes for stripping (#52930) 2019-03-12 18:18:38 -04:00
__init__.py
constants.py Fine tune sanity (#53544) 2019-03-11 15:12:14 -04:00
context.py Become plugins (#50991) 2019-02-11 11:27:44 -06:00
release.py Cleanup the tree for post-2.8-branch 2019-04-12 12:57:35 -07:00