mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-24 11:56:33 +00:00
Merge pull request #2470 from chiragshah6/mdev
zebra: Hide default vrf instance of l3vni cmd
This commit is contained in:
commit
fc89ac9846
@ -1829,6 +1829,7 @@ static void evpn_unconfigure_vrf_rd(struct bgp *bgp_vrf)
|
|||||||
|
|
||||||
/* fall back to default RD */
|
/* fall back to default RD */
|
||||||
bgp_evpn_derive_auto_rd_for_vrf(bgp_vrf);
|
bgp_evpn_derive_auto_rd_for_vrf(bgp_vrf);
|
||||||
|
UNSET_FLAG(bgp_vrf->vrf_flags, BGP_VRF_RD_CFGD);
|
||||||
|
|
||||||
/* We have a new RD for VRF.
|
/* We have a new RD for VRF.
|
||||||
* Advertise all type-5 routes again with the new RD
|
* Advertise all type-5 routes again with the new RD
|
||||||
|
@ -2898,7 +2898,7 @@ DEFUN (show_vrf,
|
|||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFUN (default_vrf_vni_mapping,
|
DEFUN_HIDDEN (default_vrf_vni_mapping,
|
||||||
default_vrf_vni_mapping_cmd,
|
default_vrf_vni_mapping_cmd,
|
||||||
"vni " CMD_VNI_RANGE "[prefix-routes-only]",
|
"vni " CMD_VNI_RANGE "[prefix-routes-only]",
|
||||||
"VNI corresponding to the DEFAULT VRF\n"
|
"VNI corresponding to the DEFAULT VRF\n"
|
||||||
@ -2928,7 +2928,7 @@ DEFUN (default_vrf_vni_mapping,
|
|||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFUN (no_default_vrf_vni_mapping,
|
DEFUN_HIDDEN (no_default_vrf_vni_mapping,
|
||||||
no_default_vrf_vni_mapping_cmd,
|
no_default_vrf_vni_mapping_cmd,
|
||||||
"no vni " CMD_VNI_RANGE,
|
"no vni " CMD_VNI_RANGE,
|
||||||
NO_STR
|
NO_STR
|
||||||
|
Loading…
Reference in New Issue
Block a user