[ONOS-7937] Automatically check switchLat results
Change-Id: If4456d475dea756f84721050321afb07225fc8e1
(cherry picked from commit 28cb85502d78cb24a8cef51ea2ad4cefdd94bc83)
diff --git a/TestON/tests/SCPF/SCPFswitchLat/SCPFswitchLat.params b/TestON/tests/SCPF/SCPFswitchLat/SCPFswitchLat.params
index 8680b5c..699baa9 100644
--- a/TestON/tests/SCPF/SCPFswitchLat/SCPFswitchLat.params
+++ b/TestON/tests/SCPF/SCPFswitchLat/SCPFswitchLat.params
@@ -1,13 +1,13 @@
<PARAMS>
- <testcases>0,1,2,1,2,1,2,1,2</testcases>
+ <testcases>0,1,2,1,2,1,2</testcases>
<GRAPH>
<nodeCluster>BM</nodeCluster>
<builds>20</builds>
</GRAPH>
- <SCALE>1,3,5,7</SCALE>
- <max>7</max>
+ <SCALE>1,3,5</SCALE>
+ <max>5</max>
<ENV>
<cellName>topo_perf_test</cellName>
@@ -61,9 +61,11 @@
<ACK>openflow\ \[ACK\]</ACK>
</down>
</TSHARK>
+
<CFG>
<defaultTopo>org.onosproject.net.topology.impl.DefaultTopologyProvider</defaultTopo>
</CFG>
+
<TEST>
#'on' or 'off' debug mode.
#If on, logging will be more verbose and
@@ -117,7 +119,7 @@
<singleSwThreshold>0,1000</singleSwThreshold>
<tabletFile>tablets_3node.json</tabletFile>
- </TEST>
+ </TEST>
<SLEEP>
<startup>5</startup>
@@ -136,4 +138,11 @@
<linkTimestamp>topologyLinkEventTimestamp</linkTimestamp>
<graphTimestamp>topologyGraphEventTimestamp</graphTimestamp>
</JSON>
+
+ <ALARM>
+ <maxSwitchUpAve>60,60,68</maxSwitchUpAve>
+ <maxSwitchUpStd>10,10,10</maxSwitchUpStd>
+ <maxSwitchDownAve>5,5,8</maxSwitchDownAve>
+ <maxSwitchDownStd>2,2,2</maxSwitchDownStd>
+ </ALARM>
</PARAMS>