diff options
Diffstat (limited to 'server/grpc_server.go')
-rw-r--r-- | server/grpc_server.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/grpc_server.go b/server/grpc_server.go index 5ec5947b..68d0e72b 100644 --- a/server/grpc_server.go +++ b/server/grpc_server.go @@ -50,6 +50,7 @@ const ( REQ_MRT_LOCAL_RIB REQ_MOD_MRT REQ_RPKI + REQ_MOD_RPKI REQ_ROA REQ_VRF REQ_VRFS @@ -264,6 +265,10 @@ func (s *Server) ModMrt(ctx context.Context, arg *api.ModMrtArguments) (*api.Err return s.mod(REQ_MOD_MRT, arg) } +func (s *Server) ModRPKI(ctx context.Context, arg *api.ModRpkiArguments) (*api.Error, error) { + return s.mod(REQ_MOD_RPKI, arg) +} + func (s *Server) GetRPKI(arg *api.Arguments, stream api.GobgpApi_GetRPKIServer) error { req := NewGrpcRequest(REQ_RPKI, "", bgp.RouteFamily(arg.Rf), nil) s.bgpServerCh <- req |