[VOL-4678] BBSIM: OMCI extended message set - make OMCC version configurable
Change-Id: I6a6bdde944612621dd8e5696075fe09b3c341709
diff --git a/internal/common/omci/get_test.go b/internal/common/omci/get_test.go
index 82bbe7a..94422c1 100644
--- a/internal/common/omci/get_test.go
+++ b/internal/common/omci/get_test.go
@@ -23,6 +23,7 @@
"testing"
"github.com/google/gopacket"
+ "github.com/opencord/bbsim/internal/common"
"github.com/opencord/omci-lib-go/v2"
me "github.com/opencord/omci-lib-go/v2/generated"
"github.com/opencord/voltha-protos/v5/go/openolt"
@@ -69,6 +70,8 @@
func TestGetResponse(t *testing.T) {
+ common.Config = common.GetDefaultOps()
+
// NOTE that we're not testing the SerialNumber attribute part of the ONU-G
// response here as it is a special case and it requires transformation.
// we specifically test that in TestCreateOnugResponse
@@ -83,7 +86,7 @@
}{
{"getOnu2gResponse",
getArgs{createOnu2gResponse(false, 57344, 10), 1},
- getWant{1, map[string]interface{}{"OpticalNetworkUnitManagementAndControlChannelOmccVersion": uint8(180)}},
+ getWant{1, map[string]interface{}{"OpticalNetworkUnitManagementAndControlChannelOmccVersion": uint8(163)}},
},
{"getOnugResponse",
getArgs{createOnugResponse(false, 40960, 10, sn), 1},