Added code to clean SNMP manager.
Signed-off-by: Prashanth Katti <prkatti1@in.ibm.com>
Change-Id: I7c55fad8f5be9cc56519c5c63296bb00bf256f96
diff --git a/snmp/test_bmc_snmp_config.robot b/snmp/test_bmc_snmp_config.robot
index 6a81337..b4dbab7 100644
--- a/snmp/test_bmc_snmp_config.robot
+++ b/snmp/test_bmc_snmp_config.robot
@@ -123,6 +123,7 @@
BMC Execute Command /tmp/tarball/bin/logging-test -c AutoTestSimple
SSHLibrary.Switch Connection snmp_server
${SNMP_LISTEN_OUT}= Read delay=1s
+ Delete SNMP Manager And Object ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT}
SSHLibrary.Execute Command sudo killall snmptrapd
Should Contain ${SNMP_LISTEN_OUT} ${SNMP_TRAP_BMC_ERROR}