diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-02-03 09:00:25 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-02-03 09:00:25 -0500 |
| commit | 19dc275e1f22d6821c60ef50759b591849fad40a (patch) | |
| tree | 7e54cccce8df5687e2cc9559bbfefe2d0e5ea4f3 /lib/command.c | |
| parent | 96f7d5a8dbabb1464bd576f018cb22c4a9038d0f (diff) | |
lib, vtysh, zebra: Better VRF debug handling
Fixup the debug handling of vrf's to be a bit
more explicit how we create a vrf internally.
Add code to turn on/off debugging of vrf's.
Ticket: CM-9063
Testing: Manual
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index ed337cbccf..4d4a72a03a 100644 --- a/lib/command.c +++ b/lib/command.c @@ -32,6 +32,7 @@ Boston, MA 02111-1307, USA. */ #include "vty.h" #include "command.h" #include "workqueue.h" +#include "vrf.h" /* Command vector which includes some level of command lists. Normally each daemon maintains each own cmdvec. */ @@ -4194,6 +4195,8 @@ cmd_init (int terminal) install_element (ENABLE_NODE, &clear_thread_cpu_cmd); install_element (VIEW_NODE, &show_work_queues_cmd); install_element (ENABLE_NODE, &show_work_queues_cmd); + + vrf_install_commands (); } srand(time(NULL)); } |
