mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-30 18:29:22 +00:00
bgpd: change advertise-subnet to a hidden command
We have changed the flow in which we advertise the VNI subnet. We will mark this command as hidden for all future purposes. Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
This commit is contained in:
parent
0b984829be
commit
689b510143
@ -2692,10 +2692,10 @@ DEFUN (no_bgp_evpn_default_originate,
|
|||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFUN (bgp_evpn_advertise_vni_subnet,
|
DEFUN_HIDDEN (bgp_evpn_advertise_vni_subnet,
|
||||||
bgp_evpn_advertise_vni_subnet_cmd,
|
bgp_evpn_advertise_vni_subnet_cmd,
|
||||||
"advertise-subnet",
|
"advertise-subnet",
|
||||||
"Advertise the subnet corresponding to VNI\n")
|
"Advertise the subnet corresponding to VNI\n")
|
||||||
{
|
{
|
||||||
struct bgp *bgp_vrf = NULL;
|
struct bgp *bgp_vrf = NULL;
|
||||||
struct bgp *bgp = VTY_GET_CONTEXT(bgp);
|
struct bgp *bgp = VTY_GET_CONTEXT(bgp);
|
||||||
@ -2715,11 +2715,11 @@ DEFUN (bgp_evpn_advertise_vni_subnet,
|
|||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFUN (no_bgp_evpn_advertise_vni_subnet,
|
DEFUN_HIDDEN (no_bgp_evpn_advertise_vni_subnet,
|
||||||
no_bgp_evpn_advertise_vni_subnet_cmd,
|
no_bgp_evpn_advertise_vni_subnet_cmd,
|
||||||
"no advertise-subnet",
|
"no advertise-subnet",
|
||||||
NO_STR
|
NO_STR
|
||||||
"Advertise All local VNIs\n")
|
"Advertise All local VNIs\n")
|
||||||
{
|
{
|
||||||
struct bgp *bgp = VTY_GET_CONTEXT(bgp);
|
struct bgp *bgp = VTY_GET_CONTEXT(bgp);
|
||||||
VTY_DECLVAR_CONTEXT_SUB(bgpevpn, vpn);
|
VTY_DECLVAR_CONTEXT_SUB(bgpevpn, vpn);
|
||||||
|
Loading…
Reference in New Issue
Block a user