From 06e3d57867d2da4118ea0328fb3cf9074081f444 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 20 Oct 2018 15:40:06 +0200 Subject: SNMP: update comments in Python generator --- src/conf_mode/snmp.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/conf_mode/snmp.py b/src/conf_mode/snmp.py index 37f5e7acd..19d89e13c 100755 --- a/src/conf_mode/snmp.py +++ b/src/conf_mode/snmp.py @@ -47,7 +47,7 @@ OIDs = { 'des' : '.1.3.6.1.6.3.10.1.2.2', 'none': '.1.3.6.1.6.3.10.1.2.1' } -# SNMPS template - be careful if you edit the template. +# SNMP template (/etc/snmp/snmp.conf) - be careful if you edit the template. client_config_tmpl = """ ### Autogenerated by snmp.py ### {% if trap_source -%} @@ -56,7 +56,7 @@ clientaddr {{ trap_source }} """ -# SNMPS template - be careful if you edit the template. +# SNMP template (/usr/share/snmp/snmpd.conf) - be careful if you edit the template. access_config_tmpl = """ ### Autogenerated by snmp.py ### {%- for u in v3_users %} @@ -67,7 +67,7 @@ rwuser {{ vyos_user }} """ -# SNMPS template - be careful if you edit the template. +# SNMP template (/var/lib/snmp/snmpd.conf) - be careful if you edit the template. user_config_tmpl = """ ### Autogenerated by snmp.py ### # user @@ -87,7 +87,7 @@ oldEngineID {{ v3_engineid }} {%- endif %} """ -# SNMPS template - be careful if you edit the template. +# SNMP template (/etc/snmp/snmpd.conf) - be careful if you edit the template. daemon_config_tmpl = """ ### Autogenerated by snmp.py ### @@ -204,6 +204,7 @@ group {{ u.group }} tsm {{ u.name }} {%- endif %} """ +# SNMP template (/etc/default/snmpd) - be careful if you edit the template. init_config_tmpl = """ ### Autogenerated by snmp.py ### # This file controls the activity of snmpd -- cgit v1.2.3