From 701ab640f1d99f955ba0b14ae5bde49a3b7887f4 Mon Sep 17 00:00:00 2001 From: "Ladue, David (dl3158)" Date: Wed, 22 Aug 2018 17:01:59 -0400 Subject: added test coverage Change-Id: Ie8310bab09ce329e499263f07b3ab2d3a8969727 Issue-ID: DCAEGEN2-630 Signed-off-by: Ladue, David (dl3158) --- snmptrap/mod/trapd_snmpv3.py | 14 -------------- snmptrap/snmptrapd.py | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) (limited to 'snmptrap') diff --git a/snmptrap/mod/trapd_snmpv3.py b/snmptrap/mod/trapd_snmpv3.py index 97c048c..50da980 100644 --- a/snmptrap/mod/trapd_snmpv3.py +++ b/snmptrap/mod/trapd_snmpv3.py @@ -47,20 +47,6 @@ from trapd_io import stdout_logger, ecomp_logger prog_name = os.path.basename(__file__) - -# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -# module: init -# FMDL: should this re-establish listener, with -# blank V3 config attribs? -# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # - - -def init(): - - global v3_config_dict - v3_config_dict = {} - - # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # module: load_snmpv3_credentials # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # diff --git a/snmptrap/snmptrapd.py b/snmptrap/snmptrapd.py index 66cc25f..70dc668 100644 --- a/snmptrap/snmptrapd.py +++ b/snmptrap/snmptrapd.py @@ -73,7 +73,7 @@ from trapd_runtime_pid import save_pid, rm_pid from trapd_get_cbs_config import get_cbs_config from trapd_exit import cleanup_and_exit from trapd_http_session import init_session_obj, close_session_obj, reset_session_obj -from trapd_snmpv3 import init, load_snmpv3_credentials +from trapd_snmpv3 import load_snmpv3_credentials from trapd_io import roll_all_logs, open_eelf_logs, roll_file, open_file, close_file, ecomp_logger, stdout_logger prog_name = os.path.basename(__file__) -- cgit 1.2.3-korg