diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-10-28 17:35:36 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-10-28 17:35:36 +0100 |
commit | 2b8d48bcd77134dff741158c81f7fadf3183e280 (patch) | |
tree | 6a9c3b56fc4688edf1e9abf9c0d8a129a6f1c4aa /src/conf_mode/snmp.py | |
parent | 70142bb63b713211abfec5705993b4dd558e9268 (diff) | |
download | vyos-1x-2b8d48bcd77134dff741158c81f7fadf3183e280.tar.gz vyos-1x-2b8d48bcd77134dff741158c81f7fadf3183e280.zip |
T923: enable AgentX in FRR after SNMP is configured.
Diffstat (limited to 'src/conf_mode/snmp.py')
-rwxr-xr-x | src/conf_mode/snmp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/snmp.py b/src/conf_mode/snmp.py index 19d89e13c..7d695bb4c 100755 --- a/src/conf_mode/snmp.py +++ b/src/conf_mode/snmp.py @@ -830,6 +830,9 @@ 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'])) + # Enable AgentX in FRR + os.system('vtysh -c "configure terminal" -c "agentx"') + return None if __name__ == '__main__': |