Initial prototype of synchronizer
Change-Id: I45de04debd89e7007d7985728d51aa5d03178675
diff --git a/xos/synchronizer/steps/sync_images.py b/xos/synchronizer/steps/sync_images.py
new file mode 100644
index 0000000..5b8e227
--- /dev/null
+++ b/xos/synchronizer/steps/sync_images.py
@@ -0,0 +1,18 @@
+import os
+import base64
+from django.db.models import F, Q
+from xos.config import Config
+from core.models.image import Image
+from xos.logger import observer_logger as logger
+from synchronizers.base.syncstep import *
+
+class SyncImages(SyncStep):
+ provides=[Image]
+ requested_interval=0
+ observes=Image
+
+ # We're not sync'ing sites with L-XOS
+ # Just mark it as sync'ed
+ def sync_record(self, image):
+ image.backend_status = "0 - not sync'ed by globalxos"
+ image.save()