summaryrefslogtreecommitdiff
path: root/src/conf_mode/snmp.py
diff options
context:
space:
mode:
authorApachez <Apachez-@users.noreply.github.com>2023-09-21 07:31:51 +0200
committerGitHub <noreply@github.com>2023-09-21 07:31:51 +0200
commitd9d2b2b96b372b678af33ce0e0b9d26dfb732934 (patch)
treed01365d10df0769987d9be2d4394ebf140142f6b /src/conf_mode/snmp.py
parentcb06343979c08b9b45ada95b8c96dcaeb5ea6466 (diff)
downloadvyos-1x-d9d2b2b96b372b678af33ce0e0b9d26dfb732934.tar.gz
vyos-1x-d9d2b2b96b372b678af33ce0e0b9d26dfb732934.zip
frr: T5591: cleanup of daemons file
Diffstat (limited to 'src/conf_mode/snmp.py')
-rwxr-xr-xsrc/conf_mode/snmp.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/conf_mode/snmp.py b/src/conf_mode/snmp.py
index 7882f8510..d2ed5414f 100755
--- a/src/conf_mode/snmp.py
+++ b/src/conf_mode/snmp.py
@@ -253,9 +253,8 @@ def apply(snmp):
# Enable AgentX in FRR
# This should be done for each daemon individually because common command
# works only if all the daemons started with SNMP support
- frr_daemons_list = [
- 'bgpd', 'ospf6d', 'ospfd', 'ripd', 'ripngd', 'isisd', 'ldpd', 'zebra'
- ]
+ # Following daemons from FRR 9.0/stable have SNMP module compiled in VyOS
+ frr_daemons_list = ['zebra', 'bgpd', 'ospf6d', 'ospfd', 'ripd', 'isisd', 'ldpd']
for frr_daemon in frr_daemons_list:
call(
f'vtysh -c "configure terminal" -d {frr_daemon} -c "agentx" >/dev/null'