VOL-4140 Added new field into ONU_ACTIVATED_EVENT for TT workflow.

Change-Id: I34c79b64e8c997e33d983f98d6c58513c146a443
diff --git a/internal/pkg/onuadaptercore/onu_device_entry.go b/internal/pkg/onuadaptercore/onu_device_entry.go
index d3e7238..0b2a218 100644
--- a/internal/pkg/onuadaptercore/onu_device_entry.go
+++ b/internal/pkg/onuadaptercore/onu_device_entry.go
@@ -892,6 +892,22 @@
 	logger.Debugf(ctx, "mibDataSync updated - mds: %d - device-id: %s", oo.sOnuPersistentData.PersMibDataSyncAdpt, oo.deviceID)
 }
 
+func (oo *OnuDeviceEntry) getActiveImageVersion(ctx context.Context) string {
+	if oo.onuSwImageIndications.activeEntityEntry.valid {
+		return oo.onuSwImageIndications.activeEntityEntry.version
+	}
+	logger.Debugw(ctx, "Active Image is not valid", log.Fields{"device-id": oo.deviceID})
+	return ""
+}
+
+func (oo *OnuDeviceEntry) getInactiveImageVersion(ctx context.Context) string {
+	if oo.onuSwImageIndications.inactiveEntityEntry.valid {
+		return oo.onuSwImageIndications.inactiveEntityEntry.version
+	}
+	logger.Debugw(ctx, "Inactive Image is not valid", log.Fields{"device-id": oo.deviceID})
+	return ""
+}
+
 func (oo *OnuDeviceEntry) buildMibTemplatePath() string {
 	oo.mutexPersOnuConfig.RLock()
 	defer oo.mutexPersOnuConfig.RUnlock()