summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Wiebe <mwiebe@cisco.com>2018-11-28 22:59:21 -0500
committerMatt Clay <matt@mystile.com>2018-12-10 12:14:32 -0800
commitdeac323c48304446a1c58f86796f5779adb4e4f8 (patch)
tree2e0976c82b0e465df7afeeec9b6cf72ca178f346
parent413df66ac5d6af3e3414681ad200b8f8342b0f59 (diff)
downloadansible-deac323c48304446a1c58f86796f5779adb4e4f8.tar.gz
Fix n3k power supply facts (#49150)
(cherry picked from commit af1e6878e9061a07cfdfa1aea89ab6cbc4f02fcd)
-rw-r--r--lib/ansible/modules/network/nxos/nxos_facts.py6
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):