Increase waitTimer for OLT to be up in case of in-band mode to 540s

Change-Id: I885d48ff6c186c04fa7f9e8008fa2f846f3197b5
diff --git a/Jenkinsfile-voltha-build b/Jenkinsfile-voltha-build
index 24d6d14..768b01d 100644
--- a/Jenkinsfile-voltha-build
+++ b/Jenkinsfile-voltha-build
@@ -338,11 +338,15 @@
                 }
                 stage('Restart OLT processes') {
                     for(int i=0; i < deployment_config.olts.size(); i++) {
+                        int waitTimerForOltUp = 360
+                        if ( params.inBandManagement ) {
+                            waitTimerForOltUp = 540
+                        }
                         timeout(15) {
                             sh returnStdout: true, script: """
                             ssh-keyscan -H ${deployment_config.olts[i].sship} >> ~/.ssh/known_hosts
                             sshpass -p ${deployment_config.olts[i].pass} ssh -l ${deployment_config.olts[i].user} ${deployment_config.olts[i].sship} 'rm -f /var/log/openolt.log; rm -f /var/log/dev_mgmt_daemon.log; rm -f /var/log/openolt_process_watchdog.log; reboot' || true
-                            sleep 360
+                            sleep waitTimerForOltUp
                             """
                         }
                         timeout(15) {