summaryrefslogtreecommitdiff
path: root/tests/lib/cli/test_cli.py
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-07-25 15:07:57 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-07-25 15:07:57 +0300
commit968ae852523381cf727a6491c5e22a02a5de8077 (patch)
tree45fca0a7f717c5f9aea7555ba9246f4905c189e3 /tests/lib/cli/test_cli.py
parentbd86964db816ba1ac628f1b1f5099fd35f157ea5 (diff)
bgpd: Show software version in bgp summary
E.g.: ``` $ vtysh -c 'show bgp summary json' | jq '.ipv4Unicast.peers' { "127.0.0.1": { "hostname": "donatas.net", "softwareVersion": "GoBGP/3.26.0", "remoteAs": 65001, "localAs": 65001, "version": 4, "msgRcvd": 12, "msgSent": 16, "tableVersion": 0, "outq": 0, "inq": 0, "peerUptime": "00:00:10", "peerUptimeMsec": 10000, "peerUptimeEstablishedEpoch": 1721908563, "pfxRcd": 0, "pfxSnt": 0, "state": "Established", "peerState": "OK", "connectionsEstablished": 1, "connectionsDropped": 0, "idType": "ipv4" }, "127.0.0.3": { "hostname": "putin-xujlo", "domainname": "donatas.net", "softwareVersion": "ExaBGP/5.0.0-20240725+main-a56c70e84a", "remoteAs": 65003, "localAs": 65001, "version": 4, "msgRcvd": 3, "msgSent": 7, "tableVersion": 0, "outq": 0, "inq": 0, "peerUptime": "00:00:13", "peerUptimeMsec": 13000, "peerUptimeEstablishedEpoch": 1721908560, "pfxRcd": 0, "pfxSnt": 0, "state": "Established", "peerState": "OK", "connectionsEstablished": 1, "connectionsDropped": 0, "idType": "ipv4" } } ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'tests/lib/cli/test_cli.py')
0 files changed, 0 insertions, 0 deletions