diff options
author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-06-25 14:34:14 +0200 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-06-25 14:34:14 +0200 |
commit | fdf8ac87f8a6256dd657d61517cdce6642098464 (patch) | |
tree | f150876c32e53613226b711d3edbe5392d234648 /bfdd/bfdd_vty.c | |
parent | bfdd: small tweaks on northbound (diff) | |
download | frr-fdf8ac87f8a6256dd657d61517cdce6642098464.tar.xz frr-fdf8ac87f8a6256dd657d61517cdce6642098464.zip |
bfdd: convert `bfd` command to northbound
This helps northbound to create the `bfd` node on the configuration
output sooner than adding a peer.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'bfdd/bfdd_vty.c')
-rw-r--r-- | bfdd/bfdd_vty.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bfdd/bfdd_vty.c b/bfdd/bfdd_vty.c index c3ca7a43f..a211f3421 100644 --- a/bfdd/bfdd_vty.c +++ b/bfdd/bfdd_vty.c @@ -72,15 +72,6 @@ _find_peer_or_error(struct vty *vty, int argc, struct cmd_token **argv, const char *local_str, const char *ifname, const char *vrfname); -/* - * Commands definition. - */ -DEFUN_NOSH(bfd_enter, bfd_enter_cmd, "bfd", "Configure BFD peers\n") -{ - vty->node = BFD_NODE; - return CMD_SUCCESS; -} - /* * Show commands helper functions @@ -743,7 +734,6 @@ void bfdd_vty_init(void) install_element(ENABLE_NODE, &bfd_show_peer_counters_cmd); install_element(ENABLE_NODE, &bfd_show_peers_cmd); install_element(ENABLE_NODE, &bfd_show_peer_cmd); - install_element(CONFIG_NODE, &bfd_enter_cmd); install_element(ENABLE_NODE, &show_debugging_bfd_cmd); /* Install BFD node and commands. */ |