SEBA-758 send periodic port stats to voltha
SEBA-790 get flow, gemport, and tcont information through API
fix lint errors
Change-Id: I10909e1992eba71d8e54c976ccbcea8778e35539
diff --git a/core/omci.go b/core/omci.go
index 857e98e..3caed49 100644
--- a/core/omci.go
+++ b/core/omci.go
@@ -86,5 +86,16 @@
logger.Info("ONU reboot recieved")
s.handleONUSoftReboot(IntfID, OnuID)
}
+ } else if MEClass == omci.GEMPortNetworkCTP {
+ switch msgType {
+ case omci.Create:
+ logger.Info("GEMPort created")
+ gemport, err := omci.GetGemPortId(IntfID, OnuID)
+ if err != nil {
+ logger.Error("error in getting gemport %v", err)
+ return
+ }
+ logger.Info("GEM Port %d created at ONU %d intf-id %d", gemport, OnuID, IntfID)
+ }
}
}