summaryrefslogtreecommitdiff
path: root/tests/topotests/example-test/test_example.py
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-04-13 22:17:01 +0300
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-16 14:16:39 +0000
commitd6da504af7d60f121e49bbac4b137060c23e5193 (patch)
tree27f263548db107b79d3106af489303909972ba18 /tests/topotests/example-test/test_example.py
parent0cccf718e7b21e5ac9f1146cb6257da0cd2685e8 (diff)
bgpd: Drop newline in JSON output for `show bgp afi safi json detail`
Before: ``` { "vrfId": 0, "vrfName": "default", "tableVersion": 2, "routerId": "1.1.1.1", "defaultLocPrf": 100, "localAS": 65001, "routes": { "192.168.1.0/24": { "prefix": "192.168.1.0/24", "version": "1", "paths": [{"aspath":{"string":"Local","segments":[],"length":0},"origin":"IGP","metric":0,"weight":32768,"valid":true,"version":1,"sourced":true,"local":true,"bestpath":{"overall":true,"selectionReason":"First path received"},"lastUpdate":{"epoch":1713035588,"string":"Sat Apr 13 22:13:08 2024\n"},"nexthops":[{"ip":"0.0.0.0","hostname":"donatas.net","afi":"ipv4","metric":0,"accessible":true,"used":true}],"peer":{"peerId":"0.0.0.0","routerId":"1.1.1.1"}}] } ,"192.168.11.0/24": { "prefix": "192.168.11.0/24", "version": "2", "paths": [{"aspath":{"string":"Local","segments":[],"length":0},"origin":"IGP","metric":0,"weight":32768,"valid":true,"version":2,"sourced":true,"local":true,"bestpath":{"overall":true,"selectionReason":"First path received"},"lastUpdate":{"epoch":1713035588,"string":"Sat Apr 13 22:13:08 2024\n"},"nexthops":[{"ip":"0.0.0.0","hostname":"donatas.net","afi":"ipv4","metric":0,"accessible":true,"used":true}],"peer":{"peerId":"0.0.0.0","routerId":"1.1.1.1"}}] } } } ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> (cherry picked from commit 1dc28e1d735614715bab5d438bddcb2def6c8f3c)
Diffstat (limited to 'tests/topotests/example-test/test_example.py')
0 files changed, 0 insertions, 0 deletions