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:
Mitesh Kanjariya 2018-03-15 03:29:50 -07:00 committed by Donald Sharp
parent 0b984829be
commit 689b510143

View File

@ -2692,7 +2692,7 @@ DEFUN (no_bgp_evpn_default_originate,
return CMD_SUCCESS;
}
DEFUN (bgp_evpn_advertise_vni_subnet,
DEFUN_HIDDEN (bgp_evpn_advertise_vni_subnet,
bgp_evpn_advertise_vni_subnet_cmd,
"advertise-subnet",
"Advertise the subnet corresponding to VNI\n")
@ -2715,7 +2715,7 @@ DEFUN (bgp_evpn_advertise_vni_subnet,
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 advertise-subnet",
NO_STR