diff options
| -rw-r--r-- | zebra/zebra_vty.c | 36 | ||||
| -rw-r--r-- | zebra/zebra_vxlan.c | 8 |
2 files changed, 18 insertions, 26 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index dc620685b0..58b0c9910a 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -3197,16 +3197,16 @@ DEFUN (show_evpn_nh_vni_ip, return CMD_SUCCESS; } -DEFUN (show_evpn_nh_svd_ip, - show_evpn_nh_svd_ip_cmd, - "show evpn next-hops svd ip WORD [json]", - SHOW_STR - "EVPN\n" - "Remote Vteps\n" - "Single Vxlan Device\n" - "Ip address\n" - "Host address (ipv4 or ipv6)\n" - JSON_STR) +DEFUN_HIDDEN (show_evpn_nh_svd_ip, + show_evpn_nh_svd_ip_cmd, + "show evpn next-hops svd ip WORD [json]", + SHOW_STR + "EVPN\n" + "Remote Vteps\n" + "Single Vxlan Device\n" + "Ip address\n" + "Host address (ipv4 or ipv6)\n" + JSON_STR) { struct ipaddr ip; bool uj = use_json(argc, argv); @@ -3240,14 +3240,14 @@ DEFUN (show_evpn_nh_vni, return CMD_SUCCESS; } -DEFUN (show_evpn_nh_svd, - show_evpn_nh_svd_cmd, - "show evpn next-hops svd [json]", - SHOW_STR - "EVPN\n" - "Remote VTEPs\n" - "Single Vxlan Device\n" - JSON_STR) +DEFUN_HIDDEN (show_evpn_nh_svd, + show_evpn_nh_svd_cmd, + "show evpn next-hops svd [json]", + SHOW_STR + "EVPN\n" + "Remote VTEPs\n" + "Single Vxlan Device\n" + JSON_STR) { bool uj = use_json(argc, argv); diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index 7e151e01c8..f4090b6d20 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -653,11 +653,6 @@ static void zl3vni_print_nh_all_table(struct hash *nh_table, vni_t vni, json_object_object_add(json, vni_str, json_evpn); } -static void svd_print_nh_all_table(struct vty *vty, json_object *json) -{ - zl3vni_print_nh_all_table(svd_nh_table, 0, vty, json); -} - static void zl3vni_print_nh_hash_all_vni(struct hash_bucket *bucket, void **args) { @@ -2836,9 +2831,6 @@ void zebra_vxlan_print_nh_all_l3vni(struct vty *vty, bool use_json) void *))zl3vni_print_nh_hash_all_vni, args); - /* Global svd table */ - svd_print_nh_all_table(vty, json); - if (use_json) vty_json(vty, json); } |
