[VOL-2974] - drive the adapter implementation forward to reach active OperState of ONU UNI ports
[VOL-2978] - MibSync - Store selected MEs received from ONUs during Mib-Upload
Change-Id: If391bf02adc05bf0b0ecd78c52a5407805981745
Signed-off-by: Holger Hildebrandt <holger.hildebrandt@adtran.com>
diff --git a/internal/pkg/onuadaptercore/onu_uni_port.go b/internal/pkg/onuadaptercore/onu_uni_port.go
index adf2b6c..f5fc224 100644
--- a/internal/pkg/onuadaptercore/onu_uni_port.go
+++ b/internal/pkg/onuadaptercore/onu_uni_port.go
@@ -78,7 +78,7 @@
return &onuUniPort
}
-//Start starts (logs) the omci agent
+//creates the Voltha port based on ONU UNI Port
func (oo *OnuUniPort) CreateVolthaPort(a_pDeviceHandler *DeviceHandler) error {
logger.Debug("adding-uni-port")
pUniPort := &voltha.Port{
@@ -105,3 +105,8 @@
}
return nil
}
+
+//mofify OperState of the the UniPort
+func (oo *OnuUniPort) SetOperState(a_NewOperState vc.OperStatus_Types) {
+ oo.operState = a_NewOperState
+}