OpenSDN source code
bgp_ifmap_sandesh.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015 Juniper Networks, Inc. All rights reserved.
3
* Copyright Contributors to the OpenSDN project
4
*/
5
#include "
bgp/bgp_ifmap_sandesh.h
"
6
7
#include "
bgp/bgp_sandesh.h
"
8
9
class
ShowBgpPeeringConfigReq;
10
class
ShowBgpPeeringConfigReqIterate;
11
12
extern
void
ShowBgpIfmapPeeringConfigReqHandler
(
13
const
BgpSandeshContext
*bsc,
14
const
ShowBgpPeeringConfigReq *req);
15
extern
void
ShowBgpIfmapPeeringConfigReqIterateHandler
(
16
const
BgpSandeshContext
*bsc,
17
const
ShowBgpPeeringConfigReqIterate *req_iterate);
18
19
void
RegisterSandeshShowIfmapHandlers
(
BgpSandeshContext
*bsc) {
20
bsc->
SetPeeringShowHandlers
(
21
ShowBgpIfmapPeeringConfigReqHandler
,
22
ShowBgpIfmapPeeringConfigReqIterateHandler
);
23
}
RegisterSandeshShowIfmapHandlers
void RegisterSandeshShowIfmapHandlers(BgpSandeshContext *bsc)
Definition:
bgp_ifmap_sandesh.cc:19
ShowBgpIfmapPeeringConfigReqHandler
void ShowBgpIfmapPeeringConfigReqHandler(const BgpSandeshContext *bsc, const ShowBgpPeeringConfigReq *req)
Definition:
bgp_show_ifmap_peering_config.cc:118
ShowBgpIfmapPeeringConfigReqIterateHandler
void ShowBgpIfmapPeeringConfigReqIterateHandler(const BgpSandeshContext *bsc, const ShowBgpPeeringConfigReqIterate *req_iterate)
Definition:
bgp_show_ifmap_peering_config.cc:144
bgp_ifmap_sandesh.h
bgp_sandesh.h
BgpSandeshContext
Definition:
bgp_sandesh.h:24
BgpSandeshContext::SetPeeringShowHandlers
void SetPeeringShowHandlers(const PeeringReqHandler &show_peering_req_handler, const PeeringReqIterateHandler &show_peering_req_iterate_handler)
Definition:
bgp_sandesh.cc:689
contrail
controller
src
bgp
bgp_ifmap_sandesh.cc
Generated by
1.9.1