5 #ifndef SRC_BGP_BGP_SANDESH_H_
6 #define SRC_BGP_BGP_SANDESH_H_
8 #include <boost/function.hpp>
9 #include <sandesh/sandesh.h>
16 class BgpNeighborResp;
18 class ShowBgpNeighborSummaryReq;
19 class ShowNeighborStatisticsReq;
20 class ShowBgpPeeringConfigReq;
21 class ShowBgpPeeringConfigReqIterate;
25 uint32_t, uint32_t,
const std::string &,
const std::string &,
51 const std::string &start_neighbor,
const std::string &search_string,
52 std::vector<BgpNeighborResp> *list, std::string *next_neighbor)
const;
54 const ShowNeighborStatisticsReq *req)
const;
58 const ShowBgpPeeringConfigReqIterate *req_iterate);
78 #endif // SRC_BGP_BGP_SANDESH_H_
BgpXmppChannelManager * xmpp_peer_manager
NeighborListExtension show_neighbor_ext_
PeeringReqIterateHandler show_peering_req_iterate_handler_
void set_iter_limit(uint32_t iter_limit)
boost::function< bool(const BgpSandeshContext *, bool, uint32_t, uint32_t, const std::string &, const std::string &, std::vector< BgpNeighborResp > *, std::string *)> NeighborListExtension
boost::function< void(const BgpSandeshContext *, const ShowBgpPeeringConfigReq *)> PeeringReqHandler
void SetPeeringShowHandlers(const PeeringReqHandler &show_peering_req_handler, const PeeringReqIterateHandler &show_peering_req_iterate_handler)
NeighborStatisticsExtension show_neighbor_statistics_ext_
void ShowNeighborStatisticsExtension(size_t *count, const ShowNeighborStatisticsReq *req) const
bool ShowNeighborExtension(const BgpSandeshContext *bsc, bool summary, uint32_t page_limit, uint32_t iter_limit, const std::string &start_neighbor, const std::string &search_string, std::vector< BgpNeighborResp > *list, std::string *next_neighbor) const
uint32_t iter_limit() const
boost::function< void(size_t *, const BgpSandeshContext *, const ShowNeighborStatisticsReq *)> NeighborStatisticsExtension
void set_test_mode(bool test_mode)
boost::function< void(const BgpSandeshContext *, const ShowBgpPeeringConfigReqIterate *)> PeeringReqIterateHandler
uint32_t page_limit() const
void SetNeighborShowExtensions(const NeighborListExtension &show_neighbor, const NeighborStatisticsExtension &show_neighbor_statistics)
void PeeringShowReqHandler(const ShowBgpPeeringConfigReq *req)
PeeringReqHandler show_peering_req_handler_
void PeeringShowReqIterateHandler(const ShowBgpPeeringConfigReqIterate *req_iterate)
void set_page_limit(uint32_t page_limit)