[VOL-3419] Supporting new flow format.
Releasing version 1.3.0
Change-Id: Ie35c06c62797cc5966305a0a82492600a0dec871
diff --git a/internal/bbsim/devices/olt.go b/internal/bbsim/devices/olt.go
index 9610961..c3e0866 100644
--- a/internal/bbsim/devices/olt.go
+++ b/internal/bbsim/devices/olt.go
@@ -20,7 +20,7 @@
"context"
"encoding/hex"
"fmt"
- "github.com/opencord/voltha-protos/v3/go/ext/config"
+ "github.com/opencord/voltha-protos/v4/go/ext/config"
"net"
"sync"
"time"
@@ -33,9 +33,9 @@
bbsim "github.com/opencord/bbsim/internal/bbsim/types"
"github.com/opencord/bbsim/internal/common"
omcisim "github.com/opencord/omci-sim"
- common_protos "github.com/opencord/voltha-protos/v3/go/common"
- "github.com/opencord/voltha-protos/v3/go/openolt"
- "github.com/opencord/voltha-protos/v3/go/tech_profile"
+ common_protos "github.com/opencord/voltha-protos/v4/go/common"
+ "github.com/opencord/voltha-protos/v4/go/openolt"
+ "github.com/opencord/voltha-protos/v4/go/tech_profile"
log "github.com/sirupsen/logrus"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
@@ -1214,7 +1214,7 @@
return &res, nil
}
-func (o *OltDevice) GetOnuByFlowId(flowId uint32) (*Onu, error) {
+func (o *OltDevice) GetOnuByFlowId(flowId uint64) (*Onu, error) {
for _, pon := range o.Pons {
for _, onu := range pon.Onus {
for _, fId := range onu.FlowIds {