diff options
Diffstat (limited to 'src/conf_mode/snmp.py')
-rwxr-xr-x | src/conf_mode/snmp.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/conf_mode/snmp.py b/src/conf_mode/snmp.py index dc17939d3..db5f552fc 100755 --- a/src/conf_mode/snmp.py +++ b/src/conf_mode/snmp.py @@ -776,6 +776,7 @@ def apply(snmp): } # No need to take care about the VyOS internal user if cfg['user'] == snmp['vyos_user']: + ready = True continue # Now update the running configuration @@ -786,9 +787,6 @@ def apply(snmp): os.system('vyos_libexec_dir=/usr/libexec/vyos /opt/vyatta/sbin/my_delete service snmp v3 user "{0}" auth plaintext-key > /dev/null'.format(cfg['user'])) os.system('vyos_libexec_dir=/usr/libexec/vyos /opt/vyatta/sbin/my_delete service snmp v3 user "{0}" privacy plaintext-key > /dev/null'.format(cfg['user'])) - # set marker - ready = True - # Enable AgentX in FRR os.system('vtysh -c "configure terminal" -c "agentx" >/dev/null') |