Scale-out CLI timeout issue fixed
diff --git a/TestON/tests/TopoPerfNextBM/TopoPerfNextBM.py b/TestON/tests/TopoPerfNextBM/TopoPerfNextBM.py
index f266272..872238e 100644
--- a/TestON/tests/TopoPerfNextBM/TopoPerfNextBM.py
+++ b/TestON/tests/TopoPerfNextBM/TopoPerfNextBM.py
@@ -1164,22 +1164,12 @@
main.step( "Packaging cell definition" )
main.ONOSbench.onosPackage()
- #for node in range( 1, clusterCount + 1 ):
- # main.log.info( "Starting ONOS " +str(node)+ " at IP: "+
- # main.params[ 'CTRL' ][ 'ip'+str(node) ] )
- # Concurrently install onos to avoid election timeouts
- # os.system("onos-install -f "+main.params[ 'CTRL' ][ 'ip'+str(node) ]+" &" )
-
- #time.sleep( 30 )
-
for node in range( 1, clusterCount + 1 ):
- main.ONOSbench.onosInstall(node = main.params[ 'CTRL' ][ 'ip'+str(node) ])
- time.sleep(10)
- exec "a = main.ONOS%scli.startOnosCli" %str(node)
- a(main.params[ 'CTRL' ][ 'ip'+str(node) ])
-
- time.sleep(20)
-
+ main.ONOSbench.onosInstall(
+ node = main.params[ 'CTRL' ][ 'ip'+str(node) ])
+
+ time.sleep( 20 )
+
for node in range( 1, clusterCount + 1):
for i in range( 2 ):
isup = main.ONOSbench.isup(
@@ -1189,3 +1179,8 @@
break
if not isup:
main.log.error( "ONOS "+str(node) + " did not start" )
+
+ for node in range( 1, clusterCount + 1):
+ exec "a = main.ONOS%scli.startOnosCli" %str(node)
+ a(main.params[ 'CTRL' ][ 'ip'+str(node) ])
+