diff options
| author | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-10-27 20:01:24 +0200 |
|---|---|---|
| committer | Carmine Scarpitta <carmine.scarpitta@uniroma2.it> | 2022-11-08 22:44:23 +0100 |
| commit | a3ff3dff3fcf3e264d4484a1ce5bbe40db3edcb7 (patch) | |
| tree | e5c65a9b497c37ea6ce1efc66cb8cfee0cc27958 /zebra/zebra_srv6.h | |
| parent | 05d99980f36769778ebba434b0c101d36bf5fb4f (diff) | |
lib,zebra: Add SRv6 uSID info to VTY output
In this commit, we extend to print the `SRV6_LOCATOR_USID` flag.
The output appears as follows:
```
{
"locators":[
{
"name":"loc1",
"prefix":"fc00:0:1::/48",
"blockBitsLength":32,
"nodeBitsLength":16,
"functionBitsLength":16,
"argumentBitsLength":0,
"uSID":true,
"statusUp":true,
"chunks":[
{
"prefix":"fc00:0:1::/48",
"proto":"bgp"
}
]
}
]
}
```
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
Diffstat (limited to 'zebra/zebra_srv6.h')
0 files changed, 0 insertions, 0 deletions
