zebra: print rmac nexthop list
Ticket:#
2798406
Reviewed By:
Testing Done:
Before change:
--------------
TORS1# show evpn rmac vni 4001 mac 44:38:39:ff:ff:01
MAC: 44:38:39:ff:ff:01
Remote VTEP: 36.0.0.11
Refcount: 1
Prefixes:
[1]:[00:00:00:00:00:00:00:00:00:00]:[::]/352
TORS1#
TORS1# show evpn rmac vni 4001 mac 44:38:39:ff:ff:01 json
{
"routerMac":"44:38:39:ff:ff:01",
"vtepIp":"36.0.0.11",
"refCount":1,
"localSequence":0,
"remoteSequence":0,
"prefixList":[
"[1]:[00:00:00:00:00:00:00:00:00:00]:[::]\/352"
]
}
After change:
-------------
TORS1# show evpn rmac vni 4001 mac 44:38:39:ff:ff:01
MAC: 44:38:39:ff:ff:01
Remote VTEP: 36.0.0.11
Refcount: 0
Prefixes:
TORS1#
TORS1# show evpn rmac vni 4001 mac 44:38:39:ff:ff:01 json
{
"routerMac":"44:38:39:ff:ff:01",
"vtepIp":"36.0.0.11",
"nexthops":[
"36.0.0.11"
]
}
Signed-off-by: Chirag Shah <chirag@nvidia.com>