]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Evpn mac vni detail show command 12578/head
authorPooja Jagadeesh Doijode <pdoijode@nvidia.com>
Tue, 3 Jan 2023 23:17:58 +0000 (15:17 -0800)
committerPooja Jagadeesh Doijode <pdoijode@nvidia.com>
Tue, 3 Jan 2023 23:17:58 +0000 (15:17 -0800)
commit283ef1b0d396f39d44528f75f75f9d3add1b2622
treed5a78856f2fe618cdb694b47a98bfcc6b667e0ff
parentcb8d1c5598290e88f89c5bfcd13050fe4de4a154
zebra: Evpn mac vni detail show command

New show command "show evpn mac vni xx detail [json]"
to display details of all the mac entries for the
requested VNI.

Output of show evpn mac vni xx detail json:
        {
          "numMacs":2,
          "macs":{
            "ca:be:63:7c:81:05":{
              "type":"local",
              "intf":"veth100",
              "ifindex":8,
              "uptime":"00:06:55",
              "localSequence":0,
              "remoteSequence":0,
              "detectionCount":0,
              "isDuplicate":false,
              "syncNeighCount":0,
              "neighbors":{
                "active":[
                  "fe80::c8be:63ff:fe7c:8105"
                ],
                "inactive":[
                ]
              }
            }
          }
        }

Also added remoteEs field in the JSON output of
"show evpn mac vni xx json".

Output of show evpn mac vni xx json:
"00:02:00:00:00:0d":{
  "type":"remote",
  "remoteEs":"03:44:38:39:ff:ff:02:00:00:02",
  "localSequence":0,
  "remoteSequence":0,
  "detectionCount":0,
  "isDuplicate":false
}

Signed-off-by: Pooja Jagadeesh Doijode <pdoijode@nvidia.com>
doc/user/evpn.rst
zebra/zebra_evpn_mac.c
zebra/zebra_vty.c
zebra/zebra_vxlan.c
zebra/zebra_vxlan.h