add back 'run.sh' and 'stop.sh' to start and stop the synchronizer
Change-Id: I1158a4e8357395a5874d5db23621b19c693cae79
(cherry picked from commit 7b99c848e3b99d75d8008192680aa26621a0e682)
diff --git a/xos/synchronizer/manifest b/xos/synchronizer/manifest
index 8aea7f7..c2a8545 100644
--- a/xos/synchronizer/manifest
+++ b/xos/synchronizer/manifest
@@ -1,6 +1,8 @@
manifest
model-deps
+run.sh
steps/sync_vmmetenant.py
steps/vmmetenant_playbook.yaml
+stop.sh
vmmeservice-synchronizer.py
vmmeservice_config
diff --git a/xos/synchronizer/run.sh b/xos/synchronizer/run.sh
new file mode 100644
index 0000000..62a21eb
--- /dev/null
+++ b/xos/synchronizer/run.sh
@@ -0,0 +1,3 @@
+# Runs the XOS observer using vmmeservice_config
+export XOS_DIR=/opt/xos
+python vmme-synchronizer.py -C $XOS_DIR/synchronizers/vmme/vmme_config
diff --git a/xos/synchronizer/stop.sh b/xos/synchronizer/stop.sh
new file mode 100644
index 0000000..489997e
--- /dev/null
+++ b/xos/synchronizer/stop.sh
@@ -0,0 +1,2 @@
+# Kill the observer
+pkill -9 -f vmme-synchronizer.py