diff options
Diffstat (limited to 'server/grpc_server.go')
-rw-r--r-- | server/grpc_server.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/server/grpc_server.go b/server/grpc_server.go index cf0a883d..31afc6e8 100644 --- a/server/grpc_server.go +++ b/server/grpc_server.go @@ -50,7 +50,6 @@ const ( REQ_MONITOR_GLOBAL_BEST_CHANGED REQ_MONITOR_INCOMING REQ_MONITOR_NEIGHBOR_PEER_STATE - REQ_MONITOR_ROA_VALIDATION_RESULT REQ_MRT_GLOBAL_RIB REQ_MRT_LOCAL_RIB REQ_MOD_MRT @@ -204,15 +203,6 @@ func (s *Server) MonitorPeerState(arg *api.Arguments, stream api.GobgpApi_Monito }) } -func (s *Server) MonitorROAValidation(arg *api.Arguments, stream api.GobgpApi_MonitorROAValidationServer) error { - req := NewGrpcRequest(REQ_MONITOR_ROA_VALIDATION_RESULT, "", bgp.RouteFamily(arg.Family), nil) - s.bgpServerCh <- req - - return handleMultipleResponses(req, func(res *GrpcResponse) error { - return stream.Send(res.Data.(*api.ROAResult)) - }) -} - func (s *Server) neighbor(reqType int, arg *api.Arguments) (*api.Error, error) { none := &api.Error{} req := NewGrpcRequest(reqType, arg.Name, bgp.RouteFamily(arg.Family), nil) |