mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 02:30:52 +00:00
ospfd: Add 'no ...' form of some commands to cli
Also add the ability to specify some or all of the no command. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
284a4a0c81
commit
59768a630d
@ -1313,10 +1313,11 @@ DEFUN (pce_address,
|
|||||||
|
|
||||||
DEFUN (no_pce_address,
|
DEFUN (no_pce_address,
|
||||||
no_pce_address_cmd,
|
no_pce_address_cmd,
|
||||||
"no pce address",
|
"no pce address {A.B.C.D}",
|
||||||
NO_STR
|
NO_STR
|
||||||
PCE_STR
|
PCE_STR
|
||||||
"Disable PCE address\n")
|
"Disable PCE address\n"
|
||||||
|
"PCE address in IPv4 address format\n")
|
||||||
{
|
{
|
||||||
|
|
||||||
unset_param (&OspfRI.pce_info.pce_address.header);
|
unset_param (&OspfRI.pce_info.pce_address.header);
|
||||||
@ -1362,10 +1363,11 @@ DEFUN (pce_path_scope,
|
|||||||
|
|
||||||
DEFUN (no_pce_path_scope,
|
DEFUN (no_pce_path_scope,
|
||||||
no_pce_path_scope_cmd,
|
no_pce_path_scope_cmd,
|
||||||
"no pce scope",
|
"no pce scope {BITPATTERN}",
|
||||||
NO_STR
|
NO_STR
|
||||||
PCE_STR
|
PCE_STR
|
||||||
"Disable PCE path scope\n")
|
"Disable PCE path scope\n"
|
||||||
|
"32-bit Hexadecimal value\n")
|
||||||
{
|
{
|
||||||
|
|
||||||
unset_param (&OspfRI.pce_info.pce_address.header);
|
unset_param (&OspfRI.pce_info.pce_address.header);
|
||||||
@ -1653,7 +1655,9 @@ ospf_router_info_register_vty (void)
|
|||||||
install_element (OSPF_NODE, &router_info_as_cmd);
|
install_element (OSPF_NODE, &router_info_as_cmd);
|
||||||
install_element (OSPF_NODE, &no_router_info_cmd);
|
install_element (OSPF_NODE, &no_router_info_cmd);
|
||||||
install_element (OSPF_NODE, &pce_address_cmd);
|
install_element (OSPF_NODE, &pce_address_cmd);
|
||||||
|
install_element (OSPF_NODE, &no_pce_address_cmd);
|
||||||
install_element (OSPF_NODE, &pce_path_scope_cmd);
|
install_element (OSPF_NODE, &pce_path_scope_cmd);
|
||||||
|
install_element (OSPF_NODE, &no_pce_path_scope_cmd);
|
||||||
install_element (OSPF_NODE, &pce_domain_cmd);
|
install_element (OSPF_NODE, &pce_domain_cmd);
|
||||||
install_element (OSPF_NODE, &no_pce_domain_cmd);
|
install_element (OSPF_NODE, &no_pce_domain_cmd);
|
||||||
install_element (OSPF_NODE, &pce_neighbor_cmd);
|
install_element (OSPF_NODE, &pce_neighbor_cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user