VOL-1643 Update voltha-go to use voltha-protos and voltha-lib-go v3.0.0

Change-Id: I86744943d59de38e9285ed7f53adc49c3b047e62
diff --git a/ro_core/core/grpc_nbi_api_handler_test.go b/ro_core/core/grpc_nbi_api_handler_test.go
index 0a95daa..a62f8e5 100644
--- a/ro_core/core/grpc_nbi_api_handler_test.go
+++ b/ro_core/core/grpc_nbi_api_handler_test.go
@@ -21,9 +21,9 @@
 	"testing"
 
 	"github.com/opencord/voltha-go/ro_core/config"
-	"github.com/opencord/voltha-lib-go/v2/pkg/log"
-	"github.com/opencord/voltha-protos/v2/go/common"
-	"github.com/opencord/voltha-protos/v2/go/voltha"
+	"github.com/opencord/voltha-lib-go/v3/pkg/log"
+	"github.com/opencord/voltha-protos/v3/go/common"
+	"github.com/opencord/voltha-protos/v3/go/voltha"
 	"github.com/phayes/freeport"
 	"github.com/stretchr/testify/assert"
 )
@@ -70,15 +70,15 @@
 	testLogDef := &voltha.Logging{
 		ComponentName: "testing",
 		PackageName:   "default",
-		Level:         voltha.LogLevel_LogLevel(log.GetDefaultLogLevel())}
+		Level:         voltha.LogLevel_Types(log.GetDefaultLogLevel())}
 	testLogEmpty := &voltha.Logging{
 		ComponentName: "testing",
 		PackageName:   "",
-		Level:         voltha.LogLevel_LogLevel(log.GetDefaultLogLevel())}
+		Level:         voltha.LogLevel_Types(log.GetDefaultLogLevel())}
 	testLog := &voltha.Logging{
 		ComponentName: "testing",
 		PackageName:   "testing",
-		Level:         voltha.LogLevel_LogLevel(log.GetDefaultLogLevel())}
+		Level:         voltha.LogLevel_Types(log.GetDefaultLogLevel())}
 	testLog3 := &voltha.Logging{
 		ComponentName: "testing",
 		PackageName:   "github.com/opencord/voltha-go/ro_core/core",
@@ -96,10 +96,10 @@
 		want    int
 		wantErr error
 	}{
-		{"TestUpdateLogLevel-1", ahndl, args{testCtx, testLogDef}, 0, nil},
-		{"TestUpdateLogLevel-2", ahndl, args{testCtx, testLogEmpty}, 5, nil},
-		{"TestUpdateLogLevel-3", ahndl, args{testCtx, testLog}, 5, nil},
-		{"TestUpdateLogLevel-4", ahndl, args{testCtx, testLog3}, 3, nil},
+		{"TestUpdateLogLevel-1", ahndl, args{testCtx, testLogDef}, log.DebugLevel, nil},
+		{"TestUpdateLogLevel-2", ahndl, args{testCtx, testLogEmpty}, log.FatalLevel, nil},
+		{"TestUpdateLogLevel-3", ahndl, args{testCtx, testLog}, log.FatalLevel, nil},
+		{"TestUpdateLogLevel-4", ahndl, args{testCtx, testLog3}, log.ErrorLevel, nil},
 	}
 	for _, tt := range tests {
 		t.Run(tt.name, func(t *testing.T) {
@@ -142,13 +142,12 @@
 		want    int
 		wantErr error
 	}{
-		{"TestGetLogLevels-1", ahndl, args{testCtx, testLc}, 0, nil},
-		{"TestGetLogLevels-2", ahndl, args{testCtx, testLc}, 1, nil},
-		{"TestGetLogLevels-3", ahndl, args{testCtx, testLc}, 2, nil},
-		{"TestGetLogLevels-4", ahndl, args{testCtx, testLc}, 3, nil},
-		{"TestGetLogLevels-5", ahndl, args{testCtx, testLc}, 4, nil},
-		{"TestGetLogLevels-6", ahndl, args{testCtx, testLc}, 5, nil},
-		{"TestGetLogLevels-7", ahndl, args{testCtx, testLc}, 3, nil},
+		{"TestGetLogLevels-1", ahndl, args{testCtx, testLc}, log.DebugLevel, nil},
+		{"TestGetLogLevels-2", ahndl, args{testCtx, testLc}, log.InfoLevel, nil},
+		{"TestGetLogLevels-3", ahndl, args{testCtx, testLc}, log.WarnLevel, nil},
+		{"TestGetLogLevels-4", ahndl, args{testCtx, testLc}, log.ErrorLevel, nil},
+		{"TestGetLogLevels-5", ahndl, args{testCtx, testLc}, log.FatalLevel, nil},
+		{"TestGetLogLevels-6", ahndl, args{testCtx, testLc}, log.ErrorLevel, nil},
 	}
 	for itt, tt := range tests {
 		t.Run(tt.name, func(t *testing.T) {