Omci receive workaround for Adtran OLT-Sim, some preparations for OnuSwUpgrade

Signed-off-by: mpagenko <michael.pagenkopf@adtran.com>
Change-Id: Iceb5c2309d65bf2893105c7701125606ef9c095b
diff --git a/internal/pkg/onuadaptercore/device_handler.go b/internal/pkg/onuadaptercore/device_handler.go
index de71501..0e0c1af 100644
--- a/internal/pkg/onuadaptercore/device_handler.go
+++ b/internal/pkg/onuadaptercore/device_handler.go
@@ -909,6 +909,13 @@
 	return nil
 }
 
+//doOnuSwUpgrade initiates the SW download transfer to the ONU and on success activates the (inactive) image
+func (dh *deviceHandler) doOnuSwUpgrade(ctx context.Context, apImageDsc *voltha.ImageDownload) error {
+	logger.Warnw(ctx, "onuSwUpgrade not yet implemented in deviceHandler", log.Fields{
+		"device-id": dh.deviceID, "image-name": (*apImageDsc).Name})
+	return fmt.Errorf("onuSwUpgrade not yet implemented in deviceHandler: %s", dh.deviceID)
+}
+
 //  deviceHandler methods that implement the adapters interface requests## end #########
 // #####################################################################################