diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2024-03-21 19:17:49 +0100 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2024-04-22 15:36:23 +0200 |
commit | 6e0e84491b684167324052f8d20a930505795d29 (patch) | |
tree | 7b4756e7248b5a8f5bb080fae6fc3cd12a2882ba /ripngd/ripngd.c | |
parent | ripd: convert RPC commands to mgmtd (diff) | |
download | frr-6e0e84491b684167324052f8d20a930505795d29.tar.xz frr-6e0e84491b684167324052f8d20a930505795d29.zip |
ripngd: convert RPC commands to mgmtd
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'ripngd/ripngd.c')
-rw-r--r-- | ripngd/ripngd.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index e26acf59d..f4dadf377 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -2231,25 +2231,6 @@ DEFUN (show_ipv6_ripng_status, return CMD_SUCCESS; } -#include "ripngd/ripngd_clippy.c" - -/* - * XPath: /frr-ripngd:clear-ripng-route - */ -DEFPY_YANG (clear_ipv6_rip, - clear_ipv6_rip_cmd, - "clear ipv6 ripng [vrf WORD]", - CLEAR_STR - IPV6_STR - "Clear IPv6 RIP database\n" - VRF_CMD_HELP_STR) -{ - if (vrf) - nb_cli_rpc_enqueue(vty, "vrf", vrf); - - return nb_cli_rpc(vty, "/frr-ripngd:clear-ripng-route", NULL); -} - /* Update ECMP routes to zebra when ECMP is disabled. */ void ripng_ecmp_disable(struct ripng *ripng) { @@ -2667,7 +2648,6 @@ void ripng_init(void) /* Install ripng commands. */ install_element(VIEW_NODE, &show_ipv6_ripng_cmd); install_element(VIEW_NODE, &show_ipv6_ripng_status_cmd); - install_element(ENABLE_NODE, &clear_ipv6_rip_cmd); ripng_if_init(); ripng_debug_init(); |