From: Donatas Abraitis Date: Thu, 22 Dec 2022 15:55:40 +0000 (+0200) Subject: tools: Ignore agentx command for frr-reload.py X-Git-Tag: base_8.5~110^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4a9ea00a27c4edfb21e1efaed468a9eefc389d79;p=matthieu%2Ffrr.git tools: Ignore agentx command for frr-reload.py agentx can't be disabled once enabled, so we should ignore it for frr-reload.py. ``` $ /usr/lib/frr/frr-reload.py --reload /etc/frr/bgpd.conf --bindir /usr/local/bin "no agentx" we failed to remove this command SNMP AgentX support cannot be disabled once enabled ``` Signed-off-by: Donatas Abraitis --- diff --git a/tools/frr-reload.py b/tools/frr-reload.py index 7c5d91d4dc..bf402e1bef 100755 --- a/tools/frr-reload.py +++ b/tools/frr-reload.py @@ -1514,6 +1514,7 @@ def ignore_unconfigurable_lines(lines_to_add, lines_to_del): [ ctx_keys[0].startswith(x) for x in [ + "agentx", "frr version", "frr defaults", "username",