mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-06 03:22:51 +00:00
ospfd: add support for "no router-info [<area|as>] command"
frr-reload.py will walk through all config contexts and prepend no to the CLI command. This requires that the vtysh shell code accepts a full command. To Reproduce vtysh -c "conf t" -c "router ospf" -c "router-info area" vtysh -c "conf t" -c "router ospf" -c "no router-info area" % Unknown command: no router-info area vtysh -c "conf t" -c "router ospf" -c "no router-info" Signed-off-by: Christian Breunig <christian@breunig.cc>
This commit is contained in:
parent
1bc2fa3584
commit
e744db5098
@ -1723,9 +1723,11 @@ DEFUN (router_info,
|
|||||||
|
|
||||||
DEFUN (no_router_info,
|
DEFUN (no_router_info,
|
||||||
no_router_info_cmd,
|
no_router_info_cmd,
|
||||||
"no router-info",
|
"no router-info [<area|as>]",
|
||||||
NO_STR
|
NO_STR
|
||||||
"Disable the Router Information functionality\n")
|
"Disable the Router Information functionality\n"
|
||||||
|
"Disable the Router Information functionality with AS flooding scope\n"
|
||||||
|
"Disable the Router Information functionality with Area flooding scope\n")
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!OspfRI.enabled)
|
if (!OspfRI.enabled)
|
||||||
|
Loading…
Reference in New Issue
Block a user