DEFUN (vtysh_show_work_queues_daemon,
vtysh_show_work_queues_daemon_cmd,
- "show work-queues <zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd|pbrd|fabricd|pimd|staticd>",
+ "show work-queues " DAEMONS_LIST,
SHOW_STR
"Work Queue information\n"
- "For the zebra daemon\n"
- "For the rip daemon\n"
- "For the ripng daemon\n"
- "For the ospf daemon\n"
- "For the ospfv6 daemon\n"
- "For the bgp daemon\n"
- "For the isis daemon\n"
- "For the pbr daemon\n"
- "For the fabricd daemon\n"
- "For the pim daemon\n"
- "For the static daemon\n")
+ DAEMONS_STR)
{
int idx_protocol = 2;
unsigned int i;
DEFUN (vtysh_write_terminal,
vtysh_write_terminal_cmd,
- "write terminal [<zebra|ripd|ripngd|ospfd|ospf6d|ldpd|bgpd|isisd|fabricd|pimd|staticd>]",
+ "write terminal ["DAEMONS_LIST"]",
"Write running configuration to memory, network, or terminal\n"
"Write to terminal\n"
- "For the zebra daemon\n"
- "For the rip daemon\n"
- "For the ripng daemon\n"
- "For the ospf daemon\n"
- "For the ospfv6 daemon\n"
- "For the ldpd daemon\n"
- "For the bgp daemon\n"
- "For the isis daemon\n"
- "For the fabricd daemon\n"
- "For the pim daemon\n"
- "For the static daemon\n")
+ DAEMONS_STR)
{
unsigned int i;
char line[] = "do write terminal\n";
DEFUN (vtysh_show_running_config,
vtysh_show_running_config_cmd,
- "show running-config [<zebra|ripd|ripngd|ospfd|ospf6d|ldpd|bgpd|isisd|fabricd|pimd|staticd>]",
+ "show running-config ["DAEMONS_LIST"]",
SHOW_STR
"Current operating configuration\n"
- "For the zebra daemon\n"
- "For the rip daemon\n"
- "For the ripng daemon\n"
- "For the ospf daemon\n"
- "For the ospfv6 daemon\n"
- "For the ldp daemon\n"
- "For the bgp daemon\n"
- "For the isis daemon\n"
- "For the fabricd daemon\n"
- "For the pim daemon\n"
- "For the static daemon\n")
+ DAEMONS_STR)
{
return vtysh_write_terminal(self, vty, argc, argv);
}