aboutsummaryrefslogtreecommitdiffstats
path: root/snmptrap
diff options
context:
space:
mode:
authorLadue, David (dl3158) <dl3158@att.com>2018-08-22 17:01:59 -0400
committerLadue, David (dl3158) <dl3158@att.com>2018-08-22 17:02:15 -0400
commit701ab640f1d99f955ba0b14ae5bde49a3b7887f4 (patch)
treec6e3c8363b884a3043c70405b345dff73aebdd48 /snmptrap
parent5f37a3be8fad7a2e795f508f7c216d679cebd28e (diff)
added test coverage
Change-Id: Ie8310bab09ce329e499263f07b3ab2d3a8969727 Issue-ID: DCAEGEN2-630 Signed-off-by: Ladue, David (dl3158) <dl3158@att.com>
Diffstat (limited to 'snmptrap')
-rw-r--r--snmptrap/mod/trapd_snmpv3.py14
-rw-r--r--snmptrap/snmptrapd.py2
2 files changed, 1 insertions, 15 deletions
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__)