Merge pull request #3175 from donaldsharp/show_run_static

vtysh: Add some missing daemons to some commands in vtysh
This commit is contained in:
David Lamparter 2018-10-23 12:46:09 +02:00 committed by GitHub
commit 25aea4b231
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2265,7 +2265,7 @@ DEFUN (vtysh_show_work_queues,
DEFUN (vtysh_show_work_queues_daemon, DEFUN (vtysh_show_work_queues_daemon,
vtysh_show_work_queues_daemon_cmd, vtysh_show_work_queues_daemon_cmd,
"show work-queues <zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd|pbrd|fabricd>", "show work-queues <zebra|ripd|ripngd|ospfd|ospf6d|bgpd|isisd|pbrd|fabricd|pimd|staticd>",
SHOW_STR SHOW_STR
"Work Queue information\n" "Work Queue information\n"
"For the zebra daemon\n" "For the zebra daemon\n"
@ -2276,7 +2276,9 @@ DEFUN (vtysh_show_work_queues_daemon,
"For the bgp daemon\n" "For the bgp daemon\n"
"For the isis daemon\n" "For the isis daemon\n"
"For the pbr daemon\n" "For the pbr daemon\n"
"For the fabricd daemon\n") "For the fabricd daemon\n"
"For the pim daemon\n"
"For the static daemon\n")
{ {
int idx_protocol = 2; int idx_protocol = 2;
unsigned int i; unsigned int i;
@ -2614,7 +2616,7 @@ DEFUNSH(VTYSH_ALL, no_vtysh_config_enable_password,
DEFUN (vtysh_write_terminal, DEFUN (vtysh_write_terminal,
vtysh_write_terminal_cmd, vtysh_write_terminal_cmd,
"write terminal [<zebra|ripd|ripngd|ospfd|ospf6d|ldpd|bgpd|isisd|fabricd|pimd>]", "write terminal [<zebra|ripd|ripngd|ospfd|ospf6d|ldpd|bgpd|isisd|fabricd|pimd|staticd>]",
"Write running configuration to memory, network, or terminal\n" "Write running configuration to memory, network, or terminal\n"
"Write to terminal\n" "Write to terminal\n"
"For the zebra daemon\n" "For the zebra daemon\n"
@ -2626,7 +2628,8 @@ DEFUN (vtysh_write_terminal,
"For the bgp daemon\n" "For the bgp daemon\n"
"For the isis daemon\n" "For the isis daemon\n"
"For the fabricd daemon\n" "For the fabricd daemon\n"
"For the pim daemon\n") "For the pim daemon\n"
"For the static daemon\n")
{ {
unsigned int i; unsigned int i;
char line[] = "do write terminal\n"; char line[] = "do write terminal\n";
@ -2652,7 +2655,7 @@ DEFUN (vtysh_write_terminal,
DEFUN (vtysh_show_running_config, DEFUN (vtysh_show_running_config,
vtysh_show_running_config_cmd, vtysh_show_running_config_cmd,
"show running-config [<zebra|ripd|ripngd|ospfd|ospf6d|ldpd|bgpd|isisd|fabricd|pimd>]", "show running-config [<zebra|ripd|ripngd|ospfd|ospf6d|ldpd|bgpd|isisd|fabricd|pimd|staticd>]",
SHOW_STR SHOW_STR
"Current operating configuration\n" "Current operating configuration\n"
"For the zebra daemon\n" "For the zebra daemon\n"
@ -2664,7 +2667,8 @@ DEFUN (vtysh_show_running_config,
"For the bgp daemon\n" "For the bgp daemon\n"
"For the isis daemon\n" "For the isis daemon\n"
"For the fabricd daemon\n" "For the fabricd daemon\n"
"For the pim daemon\n") "For the pim daemon\n"
"For the static daemon\n")
{ {
return vtysh_write_terminal(self, vty, argc, argv); return vtysh_write_terminal(self, vty, argc, argv);
} }