Skip to content

Commit

Permalink
feat: add malloc volume service
Browse files Browse the repository at this point in the history
Signed-off-by: Moshe Shahar <[email protected]>
  • Loading branch information
moshe-shahar authored and artek-koltun committed Apr 22, 2024
1 parent 91b1f89 commit f73b574
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ func runGrpcServer(grpcPort int, spdkAddress string, tlsFiles string, store gokv
pb.RegisterFrontendVirtioScsiServiceServer(s, frontendOpiSpdkServer)
pb.RegisterNvmeRemoteControllerServiceServer(s, backendOpiSpdkServer)
pb.RegisterNullVolumeServiceServer(s, backendOpiSpdkServer)
pb.RegisterMallocVolumeServiceServer(s, backendOpiSpdkServer)
pb.RegisterAioVolumeServiceServer(s, backendOpiSpdkServer)
pb.RegisterMiddleendEncryptionServiceServer(s, middleendOpiSpdkServer)
pc.RegisterInventoryServiceServer(s, &inventory.Server{})
Expand Down Expand Up @@ -159,6 +160,7 @@ func runGatewayServer(grpcPort int, httpPort int) {

registerGatewayHandler(ctx, mux, endpoint, opts, pb.RegisterAioVolumeServiceHandlerFromEndpoint, "backend aio")
registerGatewayHandler(ctx, mux, endpoint, opts, pb.RegisterNullVolumeServiceHandlerFromEndpoint, "backend null")
registerGatewayHandler(ctx, mux, endpoint, opts, pb.RegisterMallocVolumeServiceHandlerFromEndpoint, "backend malloc")
registerGatewayHandler(ctx, mux, endpoint, opts, pb.RegisterNvmeRemoteControllerServiceHandlerFromEndpoint, "backend nvme")

registerGatewayHandler(ctx, mux, endpoint, opts, pb.RegisterMiddleendEncryptionServiceHandlerFromEndpoint, "middleend encryption")
Expand Down

0 comments on commit f73b574

Please sign in to comment.