[ONOS-7915] Run CHO test on Flex POD
Change-Id: Id8e59e044361a7781bed39f0878df97c2a67af8f
diff --git a/TestON/tests/CHOTestMonkey/CHOTestMonkey.params.trellis b/TestON/tests/CHOTestMonkey/CHOTestMonkey.params.trellis
index f6aa628..ae54287 100644
--- a/TestON/tests/CHOTestMonkey/CHOTestMonkey.params.trellis
+++ b/TestON/tests/CHOTestMonkey/CHOTestMonkey.params.trellis
@@ -12,7 +12,7 @@
# 100. Do nothing
<testcases>
- 0,2,4,5,6,7,10,70,100
+ 0,2,4,5,6,7,10,70
</testcases>
<GIT>
@@ -23,6 +23,7 @@
<TEST>
<topo>10</topo>
<IPv6>on</IPv6>
+ <restartCluster>True</restartCluster>
<dataPlaneConnectivity>True</dataPlaneConnectivity>
<numCtrl>3</numCtrl>
<pauseTest>on</pauseTest>
@@ -52,7 +53,7 @@
<CLI>null</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>5</rerunInterval>
- <maxRerunNum>5</maxRerunNum>
+ <maxRerunNum>3</maxRerunNum>
</Event>
<TestPause>
@@ -87,28 +88,6 @@
<CLIParamNum>0</CLIParamNum>
</TestDebug>
- <IntentCheck>
- <status>off</status>
- <typeIndex>10</typeIndex>
- <typeString>CHECK_INTENT</typeString>
- <CLI>check-intent</CLI>
- <CLIParamNum>0</CLIParamNum>
- <rerunInterval>5</rerunInterval>
- <maxRerunNum>5</maxRerunNum>
- </IntentCheck>
-
- <FlowCheck>
- <status>off</status>
- <typeIndex>11</typeIndex>
- <typeString>CHECK_FLOW</typeString>
- <CLI>check-flow</CLI>
- <CLIParamNum>0</CLIParamNum>
- <rerunInterval>5</rerunInterval>
- <maxRerunNum>5</maxRerunNum>
- <coreFlowNum>3</coreFlowNum>
- <coreFlowNum6>5</coreFlowNum6>
- </FlowCheck>
-
<TrafficCheck>
<status>on</status>
<typeIndex>12</typeIndex>
@@ -116,7 +95,7 @@
<CLI>check-traffic</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>10</rerunInterval>
- <maxRerunNum>5</maxRerunNum>
+ <maxRerunNum>3</maxRerunNum>
<pingWait>1</pingWait>
<pingTimeout>10</pingTimeout>
</TrafficCheck>
@@ -128,7 +107,7 @@
<CLI>check-topo</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>5</rerunInterval>
- <maxRerunNum>5</maxRerunNum>
+ <maxRerunNum>3</maxRerunNum>
</TopoCheck>
<ONOSCheck>
@@ -138,7 +117,7 @@
<CLI>check-onos</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>10</rerunInterval>
- <maxRerunNum>5</maxRerunNum>
+ <maxRerunNum>3</maxRerunNum>
</ONOSCheck>
<RaftLogSizeCheck>
@@ -204,7 +183,7 @@
<CLI>onos-down</CLI>
<CLIParamNum>1</CLIParamNum>
<rerunInterval>5</rerunInterval>
- <maxRerunNum>5</maxRerunNum>
+ <maxRerunNum>3</maxRerunNum>
</ONOSDown>
<ONOSUp>
@@ -214,7 +193,7 @@
<CLI>onos-up</CLI>
<CLIParamNum>1</CLIParamNum>
<rerunInterval>5</rerunInterval>
- <maxRerunNum>5</maxRerunNum>
+ <maxRerunNum>3</maxRerunNum>
</ONOSUp>
<SetCfg>
@@ -224,7 +203,7 @@
<CLI>set-cfg</CLI>
<CLIParamNum>3</CLIParamNum>
<rerunInterval>5</rerunInterval>
- <maxRerunNum>5</maxRerunNum>
+ <maxRerunNum>3</maxRerunNum>
</SetCfg>
<BalanceMasters>
@@ -234,7 +213,7 @@
<CLI>balance-masters</CLI>
<CLIParamNum>0</CLIParamNum>
<rerunInterval>5</rerunInterval>
- <maxRerunNum>5</maxRerunNum>
+ <maxRerunNum>3</maxRerunNum>
</BalanceMasters>
<addAllChecks>
@@ -244,51 +223,6 @@
<CLI>check-all</CLI>
<CLIParamNum>0</CLIParamNum>
</addAllChecks>
-
- <randomLinkToggle>
- <status>on</status>
- <typeIndex>120</typeIndex>
- <typeString>NETWORK_LINK_RANDOM_TOGGLE</typeString>
- <CLI>link-toggle-random</CLI>
- <CLIParamNum>1</CLIParamNum>
- <sleepBeforeCheck>10</sleepBeforeCheck>
- </randomLinkToggle>
-
- <randomLinkGroupToggle>
- <status>on</status>
- <typeIndex>121</typeIndex>
- <typeString>NETWORK_LINK_GROUP_RANDOM_TOGGLE</typeString>
- <CLI>link-group-toggle-random</CLI>
- <CLIParamNum>3</CLIParamNum>
- <sleepBeforeCheck>10</sleepBeforeCheck>
- </randomLinkGroupToggle>
-
- <randomDeviceToggle>
- <status>on</status>
- <typeIndex>122</typeIndex>
- <typeString>NETWORK_DEVICE_RANDOM_TOGGLE</typeString>
- <CLI>device-toggle-random</CLI>
- <CLIParamNum>1</CLIParamNum>
- <sleepBeforeCheck>10</sleepBeforeCheck>
- </randomDeviceToggle>
-
- <randomDeviceGroupToggle>
- <status>on</status>
- <typeIndex>123</typeIndex>
- <typeString>NETWORK_DEVICE_GROUP_RANDOM_TOGGLE</typeString>
- <CLI>device-group-toggle-random</CLI>
- <CLIParamNum>3</CLIParamNum>
- <sleepBeforeCheck>10</sleepBeforeCheck>
- </randomDeviceGroupToggle>
-
- <randomONOSToggle>
- <status>on</status>
- <typeIndex>140</typeIndex>
- <typeString>ONOS_ONOS_RANDOM_TOGGLE</typeString>
- <CLI>onos-toggle-random</CLI>
- <CLIParamNum>1</CLIParamNum>
- <sleepBeforeCheck>10</sleepBeforeCheck>
- </randomONOSToggle>
</EVENT>
<SCHEDULER>
@@ -308,7 +242,7 @@
</topo10>
<mininetArgs>--dhcp=1 --routers=1 --ipv6=1 --ipv4=1</mininetArgs>
<loadTopoSleep>120</loadTopoSleep>
- <excludeSwitches>leaf5</excludeSwitches>
+ <excludeNodes>cs0,cs1,r1,r2,nat,bgp1,bgp2,dhcp,dhcp6</excludeNodes>
</TOPO>
<CASE2>
@@ -323,18 +257,18 @@
<CASE70>
<sleepSec>60</sleepSec>
- <addHostIntentWeight>0</addHostIntentWeight>
- <addPointIntentWeight>0</addPointIntentWeight>
- <linkDownWeight>0</linkDownWeight>
- <deviceDownWeight>2</deviceDownWeight>
- <portDownWeight>3</portDownWeight>
- <onosDownWeight>1</onosDownWeight>
- <toggleFlowObj>0</toggleFlowObj>
+ <eventWeight>
+ <port-down>3</port-down>
+ <device-down>2</device-down>
+ <onos-down>1</onos-down>
+ </eventWeight>
+ <skipSwitches>leaf5</skipSwitches>
+ <skipLinks>spine103,spine104,leaf1,leaf6</skipLinks>
</CASE70>
<CASE80>
<filePath>/home/sdn/log-for-replay</filePath>
- <sleepTime>10</sleepTime>
+ <sleepTime>5</sleepTime>
<skipChecks>on</skipChecks>
</CASE80>
</PARAMS>