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 6a590ae commit 4c44936
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 @@ -133,6 +133,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 @@ -160,6 +161,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 4c44936

Please sign in to comment.