summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.h
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2017-05-15 23:53:31 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-12 21:04:41 +0200
commit520d5d768b996e96c375562d2b92c37801f9081b (patch)
tree6c6aeafdcea791e22ad3b19c45fb946ef2b33dab /bgpd/bgp_route.h
parentbgpd: Debug logging updates for EVPN (diff)
downloadfrr-520d5d768b996e96c375562d2b92c37801f9081b.tar.xz
frr-520d5d768b996e96c375562d2b92c37801f9081b.zip
bgpd: Display (show) commands for EVPN
Implement various operational/display commands for EVPN: - show bgp evpn summary - show bgp evpn vni [<vni>] - show bgp evpn route [type <macip|multicast>] - show bgp evpn route [rd <rd> [type <macip|multicast>]] - show bgp evpn route [rd <rd> [mac <mac> [ip <ip>]]] - show bgp evpn route vni <vni> [type <macip|multicast> | vtep <ip>] - show bgp evpn route vni <vni> [mac <mac> [ip <ip>]]] - show bgp evpn route vni <vni> [multicast <ip>] - show bgp evpn route vni all [vtep <ip>] - show bgp evpn import-rt Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_route.h')
-rw-r--r--bgpd/bgp_route.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/bgpd/bgp_route.h b/bgpd/bgp_route.h
index 01d8e62d4..cb918718f 100644
--- a/bgpd/bgp_route.h
+++ b/bgpd/bgp_route.h
@@ -430,4 +430,13 @@ extern void bgp_zebra_clear_route_change_flags (struct bgp_node *rn);
extern int
bgp_zebra_has_route_changed (struct bgp_node *rn, struct bgp_info *selected);
+extern void
+route_vty_out_detail_header (struct vty *vty, struct bgp *bgp,
+ struct bgp_node *rn,
+ struct prefix_rd *prd, afi_t afi, safi_t safi,
+ json_object *json);
+extern void
+route_vty_out_detail (struct vty *vty, struct bgp *bgp, struct prefix *p,
+ struct bgp_info *binfo, afi_t afi, safi_t safi,
+ json_object *json_paths);
#endif /* _QUAGGA_BGP_ROUTE_H */