Initial commit for renamed tests
diff --git a/TestON/tests/IntentEventTP/IntentEventTP.params b/TestON/tests/IntentEventTP/IntentEventTP.params
index 7f355dc..ec869bf 100644
--- a/TestON/tests/IntentEventTP/IntentEventTP.params
+++ b/TestON/tests/IntentEventTP/IntentEventTP.params
@@ -1,6 +1,6 @@
<PARAMS>
- <testcases>1,3,2,3,2,3,2,3</testcases>
+ <testcases>1,2,3</testcases>
<debugMode></debugMode> #nothing means false
@@ -9,7 +9,7 @@
<cellFeatures>"webconsole,onos-core,onos-api,onos-cli,onos-null,onos-gui,onos-rest,onos-app-metrics,onos-app-metrics-intent,onos-app-metrics-topology"</cellFeatures>
</ENV>
- <SCALE>2</SCALE>
+ <SCALE>6</SCALE>
<availableNodes>7</availableNodes>
<GIT>
diff --git a/TestON/tests/IntentEventTP/IntentEventTP.py b/TestON/tests/IntentEventTP/IntentEventTP.py
index 863599c..30c44f6 100644
--- a/TestON/tests/IntentEventTP/IntentEventTP.py
+++ b/TestON/tests/IntentEventTP/IntentEventTP.py
@@ -218,6 +218,7 @@
main.log.info("Starting ONOS " + str(node) + " at IP: " + ONOSIp[node])
main.ONOSbench.onosInstall( ONOSIp[node])
+ for node in range(1, clusterCount + 1):
for i in range( 2 ):
isup = main.ONOSbench.isup( ONOSIp[node] )
if isup:
@@ -273,19 +274,19 @@
loadFrom = ['0']
loadFrom.extend((main.params[ 'TEST' ][ 'loadFrom' ]).split(","))
-
+
for node in range(1, clusterCount+1):
if loadFrom[node] == "1":
cmd = "onos $OC" + str(node) + " feature:install onos-app-intent-perf"
main.ONOSbench.handle.sendline(cmd)
main.ONOSbench.handle.expect(":~")
- main.log.info("Load initiated on node " + str(node))
+ main.log.info( "intent-perf feature installed on: ONOS" + str(node) )
- time.sleep(5)
- actcmd = "onos $OC" + str(node) + " intent-perf-start"
- main.ONOSbench.handle.sendline(actcmd)
- main.ONOSbench.handle.expect(":~")
- main.log.info("Starting ONOS " + str(node) + " intent-perf...")
+ time.sleep(5)
+ actcmd = "onos $OC1" + " intent-perf-start"
+ main.ONOSbench.handle.sendline(actcmd)
+ main.ONOSbench.handle.expect(":~")
+ main.log.info("Starting ONOS (all nodes) intent-perf from $OC1" )
main.log.info( "Starting test loop for " + str(testDuration) + " seconds...\n" )
stop = time.time() + float( testDuration )