]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra/vty: Don't hide VNI config for default VRF
authorTuetuopay <tuetuopay@me.com>
Mon, 4 Mar 2019 10:44:19 +0000 (11:44 +0100)
committerTuetuopay <tuetuopay@me.com>
Tue, 19 Mar 2019 10:56:25 +0000 (11:56 +0100)
Since the EVPN session and underlay can be in a non-default VRF, the
default VRF can be an overlay VRF.

Signed-off-by: Tuetuopay <tuetuopay@me.com>
Sponsored-by: Scaleway
zebra/zebra_vty.c

index b88a05afa45128f9d7cc2a7a82cd6cfcf2296446..899ba21171d0730194b931855acdbbf1508e6189 100644 (file)
@@ -1609,7 +1609,7 @@ DEFUN (show_vrf,
        return CMD_SUCCESS;
 }
 
-DEFUN_HIDDEN (default_vrf_vni_mapping,
+DEFUN (default_vrf_vni_mapping,
        default_vrf_vni_mapping_cmd,
        "vni " CMD_VNI_RANGE "[prefix-routes-only]",
        "VNI corresponding to the DEFAULT VRF\n"
@@ -1639,7 +1639,7 @@ DEFUN_HIDDEN (default_vrf_vni_mapping,
        return CMD_SUCCESS;
 }
 
-DEFUN_HIDDEN (no_default_vrf_vni_mapping,
+DEFUN (no_default_vrf_vni_mapping,
        no_default_vrf_vni_mapping_cmd,
        "no vni " CMD_VNI_RANGE,
        NO_STR