diff --git a/README.md b/README.md index 542d5361..40bd13f7 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ opi_api.storage.v1.FrontendNvmeService opi_api.storage.v1.FrontendVirtioBlkService opi_api.storage.v1.FrontendVirtioScsiService opi_api.storage.v1.MiddleendEncryptionService +opi_api.storage.v1.MiddleendQosVolumeService opi_api.storage.v1.NVMfRemoteControllerService opi_api.storage.v1.NullDebugService ``` diff --git a/cmd/main.go b/cmd/main.go index af827ef3..ba42f733 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -54,6 +54,7 @@ func main() { pb.RegisterNullDebugServiceServer(s, backendOpiSpdkServer) pb.RegisterAioControllerServiceServer(s, backendOpiSpdkServer) pb.RegisterMiddleendEncryptionServiceServer(s, middleendOpiIntelServer) + pb.RegisterMiddleendQosVolumeServiceServer(s, middleendOpiIntelServer) pc.RegisterInventorySvcServer(s, &inventory.Server{}) ps.RegisterIPsecServer(s, &ipsec.Server{}) diff --git a/pkg/middleend/middleend.go b/pkg/middleend/middleend.go index bd822b77..e175e300 100644 --- a/pkg/middleend/middleend.go +++ b/pkg/middleend/middleend.go @@ -32,6 +32,7 @@ var ( // Server contains middleend related OPI services type Server struct { pb.MiddleendEncryptionServiceServer + pb.MiddleendQosVolumeServiceServer rpc spdk.JSONRPC } @@ -39,6 +40,7 @@ type Server struct { func NewServer(jsonRPC spdk.JSONRPC) *Server { opiSpdkServer := middleend.NewServer(jsonRPC) return &Server{ + opiSpdkServer, opiSpdkServer, jsonRPC, }