Skip to content

Commit

Permalink
ldpd now supports reload, also ldpctl now supports l2vpn info
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowman committed May 28, 2016
1 parent 60ed899 commit aae40db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion commands.h
Expand Up @@ -128,10 +128,14 @@ struct prot1 lics[] = {
{ LDPCTL, "show", "fib", OPT, NULL } },
{ "interfaces", "Interfaces",
{ LDPCTL, "show", "interfaces", NULL } },
{ "neighbor", "Neighbor",
{ "neighbor", "Neighbors",
{ LDPCTL, "show", "neighbor", NULL } },
{ "lib", "Label Information Base",
{ LDPCTL, "show", "lib", NULL } },
{ "discovery", "Adjacencies",
{ LDPCTL, "show", "discovery", NULL } },
{ "l2vpn", "Pseudowire",
{ LDPCTL, "show", "l2vpn", OPT, NULL } },
{ 0, 0, { 0 } }
};

Expand Down
2 changes: 2 additions & 0 deletions ctl.c
Expand Up @@ -210,6 +210,8 @@ struct ctl ctl_ldp[] = {
{ "edit", "edit configuration",
{ "ldp", (char *)ctl_ldp_test, NULL }, call_editor, 0,
T_HANDLER_FILL1 },
{ "reload", "reload service",
{ LDPCTL, "reload", NULL }, NULL, 0, T_EXEC },
{ "fib", "fib couple/decouple",
{ LDPCTL, "fib", REQ, NULL }, NULL, 0, T_EXEC },
{ 0, 0, { 0 }, 0, 0, 0 }
Expand Down

0 comments on commit aae40db

Please sign in to comment.