summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-05-15 21:24:43 -0700
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-25 11:13:40 -0400
commit1e9aad82ba65df9c50eb819334cb2caace57df6c (patch)
tree5d9401dcaddaae0017bcbb62486722d52043a3d5 /zebra/interface.c
parent2d3c57e671d713feb7a6ef34982c375616368dc6 (diff)
zebra: Add cli show NHE by ID and interface groups
Add cli to show nhg_hash_entry's by ID. Add cli to show nhg_hash_entry info for interfaces and remove just listing ID's in `show interface *` Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 94f5cb58cd..2cfceaa6d9 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -1220,12 +1220,6 @@ static void nbr_connected_dump_vty(struct vty *vty,
vty_out(vty, "\n");
}
-static void nhg_dependent_dump_vty(struct vty *vty,
- struct nhg_connected *connected)
-{
- vty_out(vty, " (%u)", connected->nhe->id);
-}
-
static const char *zebra_ziftype_2str(zebra_iftype_t zif_type)
{
switch (zif_type) {
@@ -1458,17 +1452,6 @@ static void if_dump_vty(struct vty *vty, struct interface *ifp)
connected_dump_vty(vty, connected);
}
- if (!if_nhg_dependents_is_empty(ifp)) {
- struct nhg_connected *rb_node_dep = NULL;
-
- vty_out(vty, " Nexthop IDs connected:");
- RB_FOREACH (rb_node_dep, nhg_connected_head,
- &zebra_if->nhg_dependents) {
- nhg_dependent_dump_vty(vty, rb_node_dep);
- }
- vty_out(vty, "\n");
- }
-
vty_out(vty, " Interface Type %s\n",
zebra_ziftype_2str(zebra_if->zif_type));
if (IS_ZEBRA_IF_BRIDGE(ifp)) {