From 99cfc17f76c5a87ea51bd6a4682f37abae9aba25 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Fri, 17 Mar 2017 20:55:42 -0300 Subject: [PATCH] ldpd: add commands to show sent/rcvd capabilities Signed-off-by: Renato Westphal --- ldpd/ldp_vty.h | 1 + ldpd/ldp_vty.xml | 6 ++ ldpd/ldp_vty_exec.c | 202 +++++++++++++++++++++++++++++++++++++++++++- ldpd/ldpd.h | 1 + ldpd/neighbor.c | 1 + 5 files changed, 210 insertions(+), 1 deletion(-) diff --git a/ldpd/ldp_vty.h b/ldpd/ldp_vty.h index b0dc291434..0b05e6fbf1 100644 --- a/ldpd/ldp_vty.h +++ b/ldpd/ldp_vty.h @@ -71,6 +71,7 @@ int ldp_vty_l2vpn_pw_pwstatus(struct vty *, struct vty_arg *[]); int ldp_vty_show_binding(struct vty *, struct vty_arg *[]); int ldp_vty_show_discovery(struct vty *, struct vty_arg *[]); int ldp_vty_show_interface(struct vty *, struct vty_arg *[]); +int ldp_vty_show_capabilities(struct vty *, struct vty_arg *[]); int ldp_vty_show_neighbor(struct vty *, struct vty_arg *[]); int ldp_vty_show_atom_binding(struct vty *, struct vty_arg *[]); int ldp_vty_show_atom_vc(struct vty *, struct vty_arg *[]); diff --git a/ldpd/ldp_vty.xml b/ldpd/ldp_vty.xml index 141b14d83f..cd5c92c7b1 100644 --- a/ldpd/ldp_vty.xml +++ b/ldpd/ldp_vty.xml @@ -353,7 +353,13 @@