]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: show isis route .. json adds the algorithm value
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 19 Dec 2022 14:39:00 +0000 (15:39 +0100)
committerLouis Scalbert <louis.scalbert@6wind.com>
Mon, 19 Feb 2024 09:10:54 +0000 (10:10 +0100)
commit4d63d8cd62b700393b07fe1487f54e38197e9979
tree4e9d5340ee6ec458c2650d28f12d0273ade32839
parent88e368b4dc9b5bebb507ca24f63afc8d57c80631
isisd: show isis route .. json adds the algorithm value

When walking over all the flex-algorithm routes, it is
difficult to know which route is associated to which
algorithm: add "algorithm" attribute to the json object.

Output example:

> ubuntu2004(config-router)# do show isis route algorithm  json
> [
>   {
>     "area":"1",
>     "algorithm":128,
>     "level-1":{
>      ]
>    },
>    "level-2":{
>      "area":"1"
>    },
>    "vrf_id":0
>  },
>  {
>    "area":"1",
>    "algorithm":129,
>    "level-1":{
>      "area":"1",

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
isisd/isis_spf.c