commit | d225bf4447192ce4cb815ae16ac02781ce643e35 | [log] [tgz] |
---|---|---|
author | Woojoong Kim <woojoong@opennetworking.org> | Tue Nov 28 17:03:45 2017 -0800 |
committer | Woojoong Kim <woojoong@opennetworking.org> | Tue Nov 28 18:04:08 2017 -0800 |
tree | c4223580712f94e1e14756a4f821e482a5b51ff5 | |
parent | 7c4e49c211b4a02e7ff32426b0241089e070c664 [diff] |
[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