community.general/lib/ansible/modules
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
..
cloud Update sample (#55654) 2019-05-01 11:15:28 -05:00
clustering Remove modules which have ended their deprecation cycle 2019-04-12 12:57:35 -07:00
commands Updated playbook works sample. (#51673) 2019-03-11 17:12:05 -05:00
crypto crypto modules: use module_utils.compat.ipaddress when possible (#55278) 2019-04-18 15:36:53 +01:00
database PostgreSQL modules: move params mapping from main to connect_to_db() function (#55799) 2019-04-29 11:29:49 +01:00
files clarify docs for rel src state hard (#55972) 2019-05-01 07:17:30 -05:00
identity New module: keycloak_group (#35637) 2019-04-10 15:58:20 -04:00
inventory utilities: Clean up parameter types and add seealso (#53063) 2019-03-07 00:25:59 +01:00
messaging standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
monitoring sensu_subscription very minor docstring typo (#55675) 2019-04-23 16:42:01 -05:00
net_tools Update nios_member.py (#54419) 2019-04-29 14:24:54 +05:30
network Fix passwordless workflow (#55441) 2019-05-02 18:06:25 +05:30
notification modules/notification/irc: Fix channel joining for some IRC servers. (#55444) 2019-04-17 18:55:43 -04:00
packaging Package facts apt fix (#55963) 2019-05-01 22:11:12 -04:00
remote_management Add GetChassisPower command to Chassis category of redfish_facts (#54314) 2019-05-02 13:48:57 +01:00
source_control Version in deprecate calls should be a string (#55395) 2019-04-16 14:40:20 -05:00
storage Support "force_subnet_association" parameter on na_ontap_interface (#52691) 2019-05-01 14:41:48 -04:00
system Fix firewalld source option handling to be exclusive (#55715) 2019-05-01 17:47:47 -04:00
utilities correct example since per_host default is false (#54725) 2019-04-02 10:08:55 -04:00
web_infrastructure added python3 support to nginx_status_facts module (#55428) 2019-04-18 19:21:09 -04:00
windows win_acl - fix network path qualifier parsing (#55970) 2019-05-01 17:21:26 +10:00
__init__.py