]> git.proxmox.com Git - mirror_frr.git/commitdiff
zebra: Remove MM seq from evpn rmac json output
authorTrey Aspelund <taspelund@nvidia.com>
Thu, 1 Apr 2021 04:43:55 +0000 (04:43 +0000)
committerTrey Aspelund <taspelund@nvidia.com>
Thu, 22 Jul 2021 20:23:56 +0000 (20:23 +0000)
Currently 'show evpn rmac vni .. mac .. json' includes fields for
localSequence and remoteSequence, which are misleading since they
aren't applicable to a macs in the IP-VRF mac table (RMAC).
This removes the localSequence + remoteSequence fields from the output.

Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
zebra/zebra_vxlan.c

index 2b46929acbbd40f6902363195ead62fac516a541..166079222146170ee75d5f75d305d488be271c32 100644 (file)
@@ -366,8 +366,6 @@ static void zl3vni_print_rmac(zebra_mac_t *zrmac, struct vty *vty,
                                                 buf1, sizeof(buf1)));
                json_object_int_add(json, "refCount",
                                    rb_host_count(&zrmac->host_rb));
-               json_object_int_add(json, "localSequence", zrmac->loc_seq);
-               json_object_int_add(json, "remoteSequence", zrmac->rem_seq);
                RB_FOREACH (hle, host_rb_tree_entry, &zrmac->host_rb)
                        json_object_array_add(
                                json_hosts,