]> git.puffer.fish Git - matthieu/frr.git/commit
lib, vtysh, topotests: fix 'show ip[v6] access-list ... json' formatting
authorPiotr Suchy <piotrsuchy@proton.me>
Wed, 8 May 2024 21:04:04 +0000 (21:04 +0000)
committerPiotr Suchy <piotrsuchy6@tlen.pl>
Tue, 14 May 2024 11:22:20 +0000 (13:22 +0200)
commit70e5005cba584a000c8d4d19807565c7a3394f4e
tree867d1e0548d337972b6e354c516196f2b7fe01a6
parent281c891f167c198d0cdd90f54e06f2f30e403e87
lib, vtysh, topotests: fix 'show ip[v6] access-list ... json' formatting

Similarly to recently fixed 'show ip[v6] prefix-list ...' - PR#15750,
json output is not valid for 'show ip[v6] access-list ... json' commands,
as it goes through all the running daemons and for each one it calls
'filter_show' creating a new json object. To aggreagate the output
and create a valid json that can later be parsed, the commands were
moved to vtysh and formatted accordingly

Signed-off-by: Piotr Suchy <piotrsuchy@proton.me>
lib/filter.c
tests/topotests/nb_config/test_nb_config.py
vtysh/vtysh.c
vtysh/vtysh.h