diff options
author | Mike Wiebe <mwiebe@cisco.com> | 2018-11-28 22:59:21 -0500 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2018-12-10 12:14:32 -0800 |
commit | deac323c48304446a1c58f86796f5779adb4e4f8 (patch) | |
tree | 2e0976c82b0e465df7afeeec9b6cf72ca178f346 | |
parent | 413df66ac5d6af3e3414681ad200b8f8342b0f59 (diff) | |
download | ansible-deac323c48304446a1c58f86796f5779adb4e4f8.tar.gz |
Fix n3k power supply facts (#49150)
(cherry picked from commit af1e6878e9061a07cfdfa1aea89ab6cbc4f02fcd)
-rw-r--r-- | lib/ansible/modules/network/nxos/nxos_facts.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ansible/modules/network/nxos/nxos_facts.py b/lib/ansible/modules/network/nxos/nxos_facts.py index 40f6696926..67425bd746 100644 --- a/lib/ansible/modules/network/nxos/nxos_facts.py +++ b/lib/ansible/modules/network/nxos/nxos_facts.py @@ -711,9 +711,13 @@ class Legacy(FactsBase): ('psmodel', 'model'), ('psnum', 'number'), ('ps_status', 'status'), + ('ps_status_3k', 'status'), ('actual_out', 'actual_output'), ('actual_in', 'actual_in'), - ('total_capa', 'total_capacity') + ('total_capa', 'total_capacity'), + ('input_type', 'input_type'), + ('watts', 'watts'), + ('amps', 'amps') ]) def populate(self): |