Updated sleep time between each xconnect installation in master physical-build pipeline
Change-Id: I8a246bb4b82ae597deb4294cd159561a330ca18a
diff --git a/jjb/pipeline/voltha/master/physical-build.groovy b/jjb/pipeline/voltha/master/physical-build.groovy
index 2107f21..6dddc0b 100644
--- a/jjb/pipeline/voltha/master/physical-build.groovy
+++ b/jjb/pipeline/voltha/master/physical-build.groovy
@@ -280,7 +280,7 @@
return sr_active_out == 0
}
}
- timeout(7) {
+ timeout(5) {
for(int i=0; i < deployment_config.hosts.src.size(); i++) {
for(int j=0; j < deployment_config.olts.size(); j++) {
def aggPort = -1
@@ -290,7 +290,7 @@
throw new Exception("Upstream port for the olt is not configured, field aggPort is empty")
}
sh """
- sleep 30 # NOTE why are we sleeping?
+ sleep 10 # NOTE why are we sleeping?
curl -X POST --user karaf:karaf --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{"deviceId": "${deployment_config.fabric_switches[0].device_id}", "vlanId": "${deployment_config.hosts.src[i].s_tag}", "endpoints": [${deployment_config.fabric_switches[0].bngPort},${aggPort}]}' 'http://${deployment_config.nodes[0].ip}:30120/onos/segmentrouting/xconnect'
"""
}