summaryrefslogtreecommitdiff
path: root/tests/topotests/tc_basic/test_tc_basic.py
diff options
context:
space:
mode:
authorStephen Worley <sworley@nvidia.com>2021-11-09 17:52:03 -0500
committerStephen Worley <sworley@nvidia.com>2022-10-11 16:18:21 -0400
commit15919b89154199f59a60f439e426ced4cd602d2a (patch)
tree9a632f00d737b59fa206ad23dd22c1556747bdfb /tests/topotests/tc_basic/test_tc_basic.py
parent0653625d3b8ba939b8b1cf1785a2dc12baecee74 (diff)
bgpd: add show bgp vni <VNI|all> json commands
Add add show bgp vni <VNI|all> json commands. This is very similar to the old `show bgp evpn l2vpn vni route json` commands but adds a new `macTable` object under the normal output. This may change in the future but doing it like this for now VNI ALL: ``` { "1002":{ "vni":1002, "[2]:[0]:[48]:[00:00:00:00:00:00]:[128]:[fe80::202:ff:fe00:9]":{ "prefix":"[2]:[0]:[48]:[00:00:00:00:00:00]:[128]:[fe80::202:ff:fe00:9]", "prefixLen":352, "paths":[ [ { "valid":true, "pathFrom":"external", ... ... ... "numPrefix":4, "numPaths":7, "macTable":{ "[2]:[0]:[48]:[00:02:00:00:00:09]":{ "prefix":"[2]:[0]:[48]:[00:02:00:00:00:09]", "prefixLen":352, "paths":[ [ { "valid":true, "pathFrom":"external", ``` VNI 1002: ``` { "[2]:[0]:[48]:[00:00:00:00:00:00]:[128]:[fe80::202:ff:fe00:9]":{ "prefix":"[2]:[0]:[48]:[00:00:00:00:00:00]:[128]:[fe80::202:ff:fe00:9]", "prefixLen":352, "paths":[ [ { "valid":true, "pathFrom":"external", ... ... ... "numPrefix":4, "numPaths":7, "macTable":{ "[2]:[0]:[48]:[00:02:00:00:00:09]":{ "prefix":"[2]:[0]:[48]:[00:02:00:00:00:09]", "prefixLen":352, "paths":[ [ { "valid":true, "pathFrom":"external", ``` Signed-off-by: Stephen Worley <sworley@nvidia.com>
Diffstat (limited to 'tests/topotests/tc_basic/test_tc_basic.py')
0 files changed, 0 insertions, 0 deletions