]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: review the hierarchy for bgp statistics in json format
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 18 Feb 2020 13:51:28 +0000 (14:51 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 31 Mar 2020 12:38:15 +0000 (14:38 +0200)
commit6c9d22e2233ac4ba46dbd556ee7acd957367b218
treeaba1a6abd2e8871ccbcc40b3e3f57236869a8277
parent799cc002866c077fcc4012caa8b0d604924c7e32
bgpd: review the hierarchy for bgp statistics in json format

- each statistics is encapsulated into concatenated "<afi><safi>" value.
- the json encoding for floating and double values is using json api
double api. this change is done for bgp statistics.
- the lines over 80 characters have been handled.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_route.c