]> git.puffer.fish Git - matthieu/pve-network.git/commit
frr: remove erroneous outfunc from frr-reload command
authorStefan Hanreich <s.hanreich@proxmox.com>
Tue, 8 Apr 2025 22:15:12 +0000 (00:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 9 Apr 2025 06:12:01 +0000 (08:12 +0200)
commit873b1431d671295809a073eb93e85d4e9e7789b3
tree0fc4f4e5c71d2709ebd84b1fb58302aa519f070b
parentf49d3689d7779fa6b5f90d636f865b851169f1c6
frr: remove erroneous outfunc from frr-reload command

Prior to the upgrade to frr-pythontools 10.2.1, frr-reload.py did not
print any output to STDOUT, which masked the erroneous outfunc
provided in run_command. With 10.2.1 frr-reload.py now prints to
STDOUT, which triggers the codepath for invoking the outfunc, leading
to an error when invoking frr-reload.py. By removing the outfunc the
invocation works again.

In addition to fixing the regression introduced, we also now print the
frr-reload.py informational output to the tasklog, which can be
helpful in debugging any issues when reloading the frr configuration.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
src/PVE/Network/SDN/Controllers/EvpnPlugin.pm