[CORD-1977] uncomment the command to automatically build and run

Change-Id: I620fd67573ba1fda59f6d42475c06bbe81ba7cc6
diff --git a/xos/synchronizer/steps/roles/build_and_run/templates/run_with_log.sh.j2 b/xos/synchronizer/steps/roles/build_and_run/templates/run_with_log.sh.j2
index 231c296..f5a684b 100644
--- a/xos/synchronizer/steps/roles/build_and_run/templates/run_with_log.sh.j2
+++ b/xos/synchronizer/steps/roles/build_and_run/templates/run_with_log.sh.j2
@@ -13,4 +13,12 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-./udev.sh > results &
\ No newline at end of file
+./udev.sh > results &
+
+FINISH_FLAG=0
+while [ $FINISH_FLAG -eq 0 ];
+do
+    FINISH_FLAG=$(cat results | grep 'DP: RTE INFO enabled' | wc -l)
+	echo “wait until DP is coming up”
+	sleep 1
+done
\ No newline at end of file
diff --git a/xos/synchronizer/steps/vspgwutenant_playbook.yaml b/xos/synchronizer/steps/vspgwutenant_playbook.yaml
index 0d0a429..1b508b2 100644
--- a/xos/synchronizer/steps/vspgwutenant_playbook.yaml
+++ b/xos/synchronizer/steps/vspgwutenant_playbook.yaml
@@ -38,6 +38,6 @@
 
   roles:
     - interface_config
-    #- build_and_run #Temporally comment out until epc-service is completed.
+    - build_and_run