From 81a9dada1ce4cdb0a4b865340264fb65362809f1 Mon Sep 17 00:00:00 2001 From: Anil Kumar Muraleedharan Date: Thu, 27 Jul 2017 14:23:46 +0530 Subject: [PATCH] Added no shutdown command to list (#27360) --- lib/ansible/module_utils/cnos.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ansible/module_utils/cnos.py b/lib/ansible/module_utils/cnos.py index 737371fabf..64cbfb8370 100644 --- a/lib/ansible/module_utils/cnos.py +++ b/lib/ansible/module_utils/cnos.py @@ -961,6 +961,10 @@ def interfaceLevel2Config( # debugOutput("shutdown") command = interfaceL2Arg1 + elif (interfaceL2Arg1 == "no shutdown"): + # debugOutput("no shutdown") + command = interfaceL2Arg1 + elif (interfaceL2Arg1 == "snmp"): # debugOutput("snmp") command = interfaceL2Arg1 + " trap link-status "