#include "command.h"
#include "vty.h"
+#include "json.h"
+
#include "ldpd/ldpd.h"
#include "ldpd/ldp_vty.h"
#include "ldpd/ldp_vty_cmds_clippy.c"
"IPv6 Address Family\n"
"Label Information Base (LIB) information\n"
"Show detailed information\n"
- "JavaScript Object Notation\n")
+ JSON_STR)
{
return (ldp_vty_show_binding(vty, af, detail, json));
}
"IPv6 Address Family\n"
"Discovery Hello Information\n"
"Show detailed information\n"
- "JavaScript Object Notation\n")
+ JSON_STR)
{
return (ldp_vty_show_discovery(vty, af, detail, json));
}
"IPv4 Address Family\n"
"IPv6 Address Family\n"
"interface information\n"
- "JavaScript Object Notation\n")
+ JSON_STR)
{
return (ldp_vty_show_interface(vty, af, json));
}
"MPLS information\n"
"Label Distribution Protocol\n"
"Display LDP Capabilities information\n"
- "JavaScript Object Notation\n")
+ JSON_STR)
{
return (ldp_vty_show_capabilities(vty, json));
}
"Label Distribution Protocol\n"
"Neighbor information\n"
"Show detailed information\n"
- "JavaScript Object Notation\n")
+ JSON_STR)
{
return (ldp_vty_show_neighbor(vty, 0, detail, json));
}
"Label Distribution Protocol\n"
"Neighbor information\n"
"Display neighbor capability information\n"
- "JavaScript Object Notation\n")
+ JSON_STR)
{
return (ldp_vty_show_neighbor(vty, 1, NULL, json));
}
"Show information about Layer2 VPN\n"
"Show Any Transport over MPLS information\n"
"Show AToM label binding information\n"
- "JavaScript Object Notation\n")
+ JSON_STR)
{
return (ldp_vty_show_atom_binding(vty, json));
}
"Show information about Layer2 VPN\n"
"Show Any Transport over MPLS information\n"
"Show AToM virtual circuit information\n"
- "JavaScript Object Notation\n")
+ JSON_STR)
{
return (ldp_vty_show_atom_vc(vty, json));
}