[VOL-3745] Chaos Monkey: BBSIM-ONU does not respond to OMCI requests
Change-Id: I9d52a05657be448839f0a180126736ec9a33eaaf
diff --git a/internal/bbsim/devices/onu_test_helpers.go b/internal/bbsim/devices/onu_test_helpers.go
index 2f18199..e441e73 100644
--- a/internal/bbsim/devices/onu_test_helpers.go
+++ b/internal/bbsim/devices/onu_test_helpers.go
@@ -19,10 +19,11 @@
import (
"context"
"errors"
+ "time"
+
"github.com/opencord/bbsim/internal/bbsim/types"
"github.com/opencord/voltha-protos/v4/go/common"
"github.com/opencord/voltha-protos/v4/go/ext/config"
- "time"
"github.com/opencord/voltha-protos/v4/go/openolt"
"github.com/opencord/voltha-protos/v4/go/tech_profile"
@@ -145,6 +146,8 @@
AllocatedAllocIds: make(map[uint16]*openolt.SerialNumber),
Olt: &OltDevice{},
},
+ OmciResponseRate: 10,
+ OmciMsgCounter: 0,
}
o.SerialNumber = NewSN(0, ponPortId, o.ID)
o.Channel = make(chan types.Message, 10)