[SEBA-434] Replacing omci-sim with omci-lib-go
Change-Id: I499afc9ec49bb483467ea93bd6ce3077dd0ccc6e
diff --git a/internal/bbsim/devices/onu_flow_test.go b/internal/bbsim/devices/onu_flow_test.go
index 1464ae5..e0ad9fe 100644
--- a/internal/bbsim/devices/onu_flow_test.go
+++ b/internal/bbsim/devices/onu_flow_test.go
@@ -19,6 +19,7 @@
import (
"github.com/google/gopacket/layers"
"github.com/looplab/fsm"
+ "github.com/opencord/bbsim/internal/bbsim/types"
"github.com/opencord/voltha-protos/v4/go/openolt"
"gotest.tools/assert"
"testing"
@@ -54,7 +55,7 @@
FlowId: 64,
Classifier: &openolt.Classifier{},
}
- msg := OnuFlowUpdateMessage{
+ msg := types.OnuFlowUpdateMessage{
OnuID: onu.ID,
PonPortID: onu.PonPortID,
Flow: &flow,
@@ -74,7 +75,7 @@
FlowId: 64,
Classifier: &openolt.Classifier{},
}
- msg := OnuFlowUpdateMessage{
+ msg := types.OnuFlowUpdateMessage{
OnuID: onu.ID,
PonPortID: onu.PonPortID,
Flow: &flow,
@@ -107,7 +108,7 @@
FlowId: 64,
Classifier: &openolt.Classifier{},
}
- msg := OnuFlowUpdateMessage{
+ msg := types.OnuFlowUpdateMessage{
OnuID: onu.ID,
PonPortID: onu.PonPortID,
Flow: &flow,
@@ -147,7 +148,7 @@
PortNo: uint32(onu.ID), // NOTE we are using this to map an incoming packetIndication to an ONU
}
- msg := OnuFlowUpdateMessage{
+ msg := types.OnuFlowUpdateMessage{
PonPortID: 1,
OnuID: 1,
Flow: &flow,
@@ -194,7 +195,7 @@
PortNo: uint32(onu.ID), // NOTE we are using this to map an incoming packetIndication to an ONU
}
- msg := OnuFlowUpdateMessage{
+ msg := types.OnuFlowUpdateMessage{
PonPortID: 1,
OnuID: 1,
Flow: &flow,
@@ -235,7 +236,7 @@
PortNo: uint32(onu.ID), // NOTE we are using this to map an incoming packetIndication to an ONU
}
- msg := OnuFlowUpdateMessage{
+ msg := types.OnuFlowUpdateMessage{
PonPortID: 1,
OnuID: 1,
Flow: &flow,
@@ -279,7 +280,7 @@
PortNo: uint32(onu.ID), // NOTE we are using this to map an incoming packetIndication to an ONU
}
- msg := OnuFlowUpdateMessage{
+ msg := types.OnuFlowUpdateMessage{
PonPortID: 1,
OnuID: 1,
Flow: &flow,
@@ -323,7 +324,7 @@
PortNo: uint32(onu.ID), // NOTE we are using this to map an incoming packetIndication to an ONU
}
- msg := OnuFlowUpdateMessage{
+ msg := types.OnuFlowUpdateMessage{
PonPortID: 1,
OnuID: 1,
Flow: &flow,
@@ -367,7 +368,7 @@
PortNo: uint32(onu.ID), // NOTE we are using this to map an incoming packetIndication to an ONU
}
- msg := OnuFlowUpdateMessage{
+ msg := types.OnuFlowUpdateMessage{
PonPortID: 1,
OnuID: 1,
Flow: &flow,
@@ -409,7 +410,7 @@
PortNo: uint32(onu.ID), // NOTE we are using this to map an incoming packetIndication to an ONU
}
- msg := OnuFlowUpdateMessage{
+ msg := types.OnuFlowUpdateMessage{
PonPortID: 1,
OnuID: 1,
Flow: &flow,
@@ -457,7 +458,7 @@
PortNo: uint32(onu.ID), // NOTE we are using this to map an incoming packetIndication to an ONU
}
- msg := OnuFlowUpdateMessage{
+ msg := types.OnuFlowUpdateMessage{
PonPortID: 1,
OnuID: 1,
Flow: &flow,