]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: non pretty json output for show ip route
authorSindhu Parvathi Gopinathan <sgopinathan@nvidia.com>
Wed, 19 Jul 2023 06:53:15 +0000 (23:53 -0700)
committerChirag Shah <chirag@nvidia.com>
Fri, 21 Jul 2023 17:15:11 +0000 (10:15 -0700)
commit1c67c0951bf39648ca6593449ec234aa6e046304
tree84fa954c113f0c6f764fd9c4e95cf6f1a994e39b
parent90f1e4e01781ffdba13a65577329e6380d96cee5
zebra: non pretty json output for show ip route

Currently, json output of show ip route command are no pretty format.
This is an extremely expensive operation at high scale
(with high number of routes with many paths).

Zebra json non-pretty command support added:

```
show ip route json
```

Ticket:#3513256

Issue:3513256

Testing: UT done

Signed-off-by: Sindhu Parvathi Gopinathan's <sgopinathan@nvidia.com>
zebra/zebra_vty.c