[VOL-5470] Add config options for grpc start to limit the grpc nbi maxStreams

Change-Id: Ic07a97d4688880c3685698471932390d0237262f
Signed-off-by: Abhay Kumar <abhay.kumar@radisys.com>
diff --git a/pkg/grpc/server.go b/pkg/grpc/server.go
index c2f4aed..815990c 100644
--- a/pkg/grpc/server.go
+++ b/pkg/grpc/server.go
@@ -94,7 +94,7 @@
 /*
 Start prepares the GRPC server and starts servicing requests
 */
-func (s *GrpcServer) Start(ctx context.Context) {
+func (s *GrpcServer) Start(ctx context.Context, opts ...grpc.ServerOption) {
 
 	lis, err := net.Listen("tcp", s.address)
 	if err != nil {
@@ -118,10 +118,10 @@
 		}
 
 		serverOptions = append(serverOptions, grpc.Creds(creds))
-		s.gs = grpc.NewServer(serverOptions...)
+		s.gs = grpc.NewServer(append(serverOptions, opts...)...)
 	} else {
 		logger.Info(ctx, "starting-insecure-grpc-server")
-		s.gs = grpc.NewServer(serverOptions...)
+		s.gs = grpc.NewServer(append(serverOptions, opts...)...)
 	}
 
 	// Register all required services