summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh.c
diff options
context:
space:
mode:
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r--vtysh/vtysh.c33
1 files changed, 4 insertions, 29 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index d0c710494..ff7394014 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -66,7 +66,6 @@ struct vtysh_client vtysh_client[] =
{ .fd = -1, .name = "ospf6d", .flag = VTYSH_OSPF6D, .path = OSPF6_VTYSH_PATH, .next = NULL},
{ .fd = -1, .name = "bgpd", .flag = VTYSH_BGPD, .path = BGP_VTYSH_PATH, .next = NULL},
{ .fd = -1, .name = "isisd", .flag = VTYSH_ISISD, .path = ISIS_VTYSH_PATH, .next = NULL},
- { .fd = -1, .name = "babeld", .flag = VTYSH_BABELD, .path = BABEL_VTYSH_PATH, .next = NULL},
};
/*
@@ -988,12 +987,6 @@ static struct cmd_node ospf6_node =
"%s(config-ospf6)# "
};
-static struct cmd_node babel_node =
-{
- BABEL_NODE,
- "%s(config-babel)# "
-};
-
static struct cmd_node keychain_node =
{
KEYCHAIN_NODE,
@@ -1221,17 +1214,6 @@ DEFUNSH (VTYSH_OSPF6D,
return CMD_SUCCESS;
}
-DEFUNSH (VTYSH_BABELD,
- router_babel,
- router_babel_cmd,
- "router babel",
- ROUTER_STR
- "Babel")
-{
- vty->node = BABEL_NODE;
- return CMD_SUCCESS;
-}
-
DEFUNSH (VTYSH_ISISD,
router_isis,
router_isis_cmd,
@@ -1321,7 +1303,6 @@ vtysh_exit (struct vty *vty)
case RIPNG_NODE:
case OSPF_NODE:
case OSPF6_NODE:
- case BABEL_NODE:
case ISIS_NODE:
case MASC_NODE:
case RMAP_NODE:
@@ -2058,7 +2039,7 @@ DEFUN (vtysh_write_terminal,
DEFUN (vtysh_write_terminal_daemon,
vtysh_write_terminal_daemon_cmd,
- "write terminal (zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd|babeld)",
+ "write terminal (zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd)",
"Write running configuration to memory, network, or terminal\n"
"Write to terminal\n"
"For the zebra daemon\n"
@@ -2067,8 +2048,7 @@ DEFUN (vtysh_write_terminal_daemon,
"For the ospf daemon\n"
"For the ospfv6 daemon\n"
"For the bgp daemon\n"
- "For the isis daemon\n"
- "For the babel daemon\n")
+ "For the isis daemon\n")
{
unsigned int i;
int ret = CMD_SUCCESS;
@@ -2255,7 +2235,7 @@ ALIAS (vtysh_write_terminal,
ALIAS (vtysh_write_terminal_daemon,
vtysh_show_running_config_daemon_cmd,
- "show running-config (zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd|babeld)",
+ "show running-config (zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd)",
SHOW_STR
"Current operating configuration\n"
"For the zebra daemon\n"
@@ -2264,8 +2244,7 @@ ALIAS (vtysh_write_terminal_daemon,
"For the ospf daemon\n"
"For the ospfv6 daemon\n"
"For the bgp daemon\n"
- "For the isis daemon\n"
- "For the babel daemon\n")
+ "For the isis daemon\n")
DEFUN (vtysh_terminal_length,
vtysh_terminal_length_cmd,
@@ -2757,7 +2736,6 @@ vtysh_init_vty (void)
install_node (&ripng_node, NULL);
install_node (&ospf6_node, NULL);
/* #endif */
- install_node (&babel_node, NULL);
install_node (&keychain_node, NULL);
install_node (&keychain_key_node, NULL);
install_node (&isis_node, NULL);
@@ -2780,7 +2758,6 @@ vtysh_init_vty (void)
vtysh_install_default (OSPF_NODE);
vtysh_install_default (RIPNG_NODE);
vtysh_install_default (OSPF6_NODE);
- vtysh_install_default (BABEL_NODE);
vtysh_install_default (ISIS_NODE);
vtysh_install_default (KEYCHAIN_NODE);
vtysh_install_default (KEYCHAIN_KEY_NODE);
@@ -2835,7 +2812,6 @@ vtysh_init_vty (void)
install_element (RIPNG_NODE, &vtysh_end_all_cmd);
install_element (OSPF_NODE, &vtysh_end_all_cmd);
install_element (OSPF6_NODE, &vtysh_end_all_cmd);
- install_element (BABEL_NODE, &vtysh_end_all_cmd);
install_element (BGP_NODE, &vtysh_end_all_cmd);
install_element (BGP_IPV4_NODE, &vtysh_end_all_cmd);
install_element (BGP_IPV4M_NODE, &vtysh_end_all_cmd);
@@ -2867,7 +2843,6 @@ vtysh_init_vty (void)
#ifdef HAVE_IPV6
install_element (CONFIG_NODE, &router_ospf6_cmd);
#endif
- install_element (CONFIG_NODE, &router_babel_cmd);
install_element (CONFIG_NODE, &router_isis_cmd);
install_element (CONFIG_NODE, &router_bgp_cmd);
install_element (CONFIG_NODE, &router_bgp_asn_cmd);