diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-11-24 15:51:51 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-11-24 16:04:45 +0200 |
| commit | 0e1f8ab575301467d895cd8c65f075d70957b510 (patch) | |
| tree | 7e990a60ff2ca15e41c992ed3923e8ac3c0c2321 /tests/topotests/bgp_rfapi_basic_sanity/scripts/check_timeout.py | |
| parent | 0b34518c5671ac3cc5efd01b3c0b9d7a08c89efa (diff) | |
bgpd: Add peerState field into JSON output for show bgp summary
vtysh -c 'show bgp summary json' | \
> jq '.ipv4Unicast.peers."192.168.0.2".peerState'
"Passive"
vtysh -c 'show bgp summary json' | \
> jq '.ipv4Unicast.peers."192.168.0.2".state'
"Established"
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'tests/topotests/bgp_rfapi_basic_sanity/scripts/check_timeout.py')
0 files changed, 0 insertions, 0 deletions
