]> git.puffer.fish Git - matthieu/frr.git/commit
lib, doc: add "route-map NAME optimization" command
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 9 Apr 2021 16:42:23 +0000 (19:42 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 9 Apr 2021 17:58:36 +0000 (20:58 +0300)
commit38133c4a11141c60be07906ce7a0e9efc55ba318
treeea565def0566459c005462b6441183d92df0d0a9
parent3ebeec9446e4bcc29f477c778ff2b4fa276df7d3
lib, doc: add "route-map NAME optimization" command

Currently we have a "route-map optimization" command which is entered
from inside the route-map entry but actually applies to the whole
route-map. In addition, this command is not shown in the running-config
and not stored to the startup-config during "write".

Let's add a new command on the config node level to control this setting
and show it in the running-config to make possible to save it during
"write".

The old command is saved for the backward compatibility but hidden and
marked as deprecated.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
doc/user/routemap.rst
lib/routemap.h
lib/routemap_cli.c
lib/routemap_northbound.c
vtysh/vtysh_config.c