[VOL-2778] Introducing Service definition in order to support the TT workflow
Change-Id: Ib171502e8940b5d0b219620a4503f7095d376d7a
diff --git a/internal/bbsim/devices/messageTypes.go b/internal/bbsim/devices/messageTypes.go
index f59ea5c..d9ed620 100644
--- a/internal/bbsim/devices/messageTypes.go
+++ b/internal/bbsim/devices/messageTypes.go
@@ -20,6 +20,7 @@
"github.com/google/gopacket"
"github.com/opencord/bbsim/internal/bbsim/packetHandlers"
"github.com/opencord/voltha-protos/v2/go/openolt"
+ "net"
)
type MessageType int
@@ -33,8 +34,6 @@
OMCI MessageType = 5
FlowAdd MessageType = 6
FlowRemoved MessageType = 18
- StartEAPOL MessageType = 7
- StartDHCP MessageType = 8
OnuPacketOut MessageType = 9
// BBR messages
@@ -130,10 +129,12 @@
}
type OnuPacketMessage struct {
- IntfId uint32
- OnuId uint32
- Packet gopacket.Packet
- Type packetHandlers.PacketType
+ IntfId uint32
+ OnuId uint32
+ Packet gopacket.Packet
+ Type packetHandlers.PacketType
+ MacAddress net.HardwareAddr
+ GemPortId uint32 // this is used by BBR
}
type OperState int