diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2023-10-05 09:14:45 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2023-10-18 17:45:29 +0200 |
| commit | 0bd8a160822bf7fe4aafab6eede73b83552f32bc (patch) | |
| tree | c5d50e8bdd1177add15496823f645c05b9525af5 /lib/openbsd-tree.c | |
| parent | 8a400bb70adddd6b701ec50c10d186322e7ae45d (diff) | |
zebra: add json support to 'show debugging label-table'
Add the json keyword to dump the label chunks of
the zebra label manager in json format.
>dut# show debugging label-table json
> {
> "chunks":[
> {
> "protocol":"bgp",
> "instance":0,
> "sessionId":1,
> "start":16,
> "end":16,
> "dynamic":true
> },
> {
> "protocol":"ldp",
> "instance":0,
> "sessionId":1,
> "start":17,
> "end":80,
> "dynamic":true
> }
> ]
> }
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/openbsd-tree.c')
0 files changed, 0 insertions, 0 deletions
