aboutsummaryrefslogtreecommitdiffstats
path: root/snmptrap/mod/trapd_io.py
diff options
context:
space:
mode:
authorLadue, David (dl3158) <dl3158@att.com>2018-08-15 18:11:46 -0400
committerLadue, David (dl3158) <dl3158@att.com>2018-08-16 09:23:02 -0400
commit844c50d8b9b473b3daebdfe357ead3f904db9721 (patch)
tree1fe22551a3e1b212ee7f1e6a97826bab8645ad8e /snmptrap/mod/trapd_io.py
parentcbad421e6448f15179c18db1892c88d18838a916 (diff)
adding snmpV3 support
Change-Id: I6250e30fa1aa2516a16c4906628be8cc904fbc71 Issue-ID: DCAEGEN2-630 Signed-off-by: Ladue, David (dl3158) <dl3158@att.com>
Diffstat (limited to 'snmptrap/mod/trapd_io.py')
-rw-r--r--snmptrap/mod/trapd_io.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/snmptrap/mod/trapd_io.py b/snmptrap/mod/trapd_io.py
index ef67c69..d079cbe 100644
--- a/snmptrap/mod/trapd_io.py
+++ b/snmptrap/mod/trapd_io.py
@@ -117,7 +117,7 @@ def open_eelf_logs():
# open various ecomp logs - if any fails, exit
tds.eelf_error_file_name = (
- tds.c_config['files.eelf_base_dir'] + "/" + tds.c_config['files.eelf_error'])
+ tds.c_config['files']['eelf_base_dir'] + "/" + tds.c_config['files']['eelf_error'])
tds.eelf_error_fd = open_file(tds.eelf_error_file_name)
except Exception as e:
@@ -127,7 +127,7 @@ def open_eelf_logs():
try:
tds.eelf_debug_file_name = (
- tds.c_config['files.eelf_base_dir'] + "/" + tds.c_config['files.eelf_debug'])
+ tds.c_config['files']['eelf_base_dir'] + "/" + tds.c_config['files']['eelf_debug'])
tds.eelf_debug_fd = open_file(tds.eelf_debug_file_name)
except Exception as e:
@@ -137,7 +137,7 @@ def open_eelf_logs():
try:
tds.eelf_audit_file_name = (
- tds.c_config['files.eelf_base_dir'] + "/" + tds.c_config['files.eelf_audit'])
+ tds.c_config['files']['eelf_base_dir'] + "/" + tds.c_config['files']['eelf_audit'])
tds.eelf_audit_fd = open_file(tds.eelf_audit_file_name)
except Exception as e:
msg = "Error opening eelf audit log : " + str(e)
@@ -146,7 +146,7 @@ def open_eelf_logs():
try:
tds.eelf_metrics_file_name = (
- tds.c_config['files.eelf_base_dir'] + "/" + tds.c_config['files.eelf_metrics'])
+ tds.c_config['files']['eelf_base_dir'] + "/" + tds.c_config['files']['eelf_metrics'])
tds.eelf_metrics_fd = open_file(tds.eelf_metrics_file_name)
except Exception as e:
msg = "Error opening eelf metric log : " + str(e)