Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CUMULUS] bgpd: add evpn prefix in json output
PR 4850 has changed JSON output format where evpn prefix is dissected to display each fields. In effort to do so, it removed the evpn prefix and prefixlen fields which causes a regression issue in exisitng cli parser. Adding back evpn prefix and prefixlen. Ticket: CM-30105 Reviewed By:CCR-10420 Testing Done: TORS1# show bgp l2vpn evpn route vni 1002 mac 00:02:00:00:00:01 ip fe80::202:ff:fe00:1 json { "prefix":"[2]:[0]:[48]:[00:02:00:00:00:01]:[128]:[fe80::202:ff:fe00:1]", "prefixLen":352, "rd":"", "routeType":2, "ethTag":0, "macLen":48, "mac":"00:02:00:00:00:01", "ipLen":128, "ip":"fe80::202:ff:fe00:1", "paths":[ [ { "VNI":"1002\/4001", "aspath":{ ... Signed-off-by: Chirag Shah <[email protected]>
- Loading branch information