From af1e6878e9061a07cfdfa1aea89ab6cbc4f02fcd Mon Sep 17 00:00:00 2001 From: Mike Wiebe Date: Wed, 28 Nov 2018 22:59:21 -0500 Subject: [PATCH] Fix n3k power supply facts (#49150) --- lib/ansible/modules/network/nxos/nxos_facts.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/nxos/nxos_facts.py b/lib/ansible/modules/network/nxos/nxos_facts.py index 4dab8ae4ca5..8e652482af5 100644 --- a/lib/ansible/modules/network/nxos/nxos_facts.py +++ b/lib/ansible/modules/network/nxos/nxos_facts.py @@ -734,9 +734,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):