diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-05-23 19:40:45 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-05-24 00:06:07 +0300 |
| commit | ae872c2f88a0fae01760d9125f710604cb653609 (patch) | |
| tree | b34cae67b194fd88f6f02caac5025589d5483a21 /ospfd/ospf_api.c | |
| parent | ac425bfc2baaa94e81cb50118f98c6ad36e26232 (diff) | |
bgpd: Add JSON output for `show rpki cache-connection`
```
spine1-debian-11# sh rpki cache-connection
Connected to group 1
rpki tcp cache 192.168.10.17 8283 pref 1 (connected)
rpki tcp cache 192.168.10.17 8282 pref 2
spine1-debian-11# sh rpki cache-connection json
{
"connectedGroup":1,
"connections":[
{
"mode":"tcp",
"host":"192.168.10.17",
"port":"8283",
"preference":1,
"state":"connected"
},
{
"mode":"tcp",
"host":"192.168.10.17",
"port":"8282",
"preference":2,
"state":"disconnected"
}
]
}
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_api.c')
0 files changed, 0 insertions, 0 deletions
