VOL-2011 bugfix for discovering pon ports
Change-Id: I951b493ecf4ce0c59b353ffb338494a290f75b35
diff --git a/adaptercore/device_handler.go b/adaptercore/device_handler.go
index 9ad9941..b157ca6 100644
--- a/adaptercore/device_handler.go
+++ b/adaptercore/device_handler.go
@@ -336,6 +336,7 @@
} else if intfOperInd.GetType() == "pon" {
// TODO: Check what needs to be handled here for When PON PORT down, ONU will be down
// Handle pon port update
+ go dh.addPort(intfOperInd.GetIntfId(), voltha.Port_PON_OLT, intfOperInd.GetOperState())
}
log.Infow("Received interface oper indication ", log.Fields{"InterfaceOperInd": intfOperInd})
case *oop.Indication_OnuDiscInd: