You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 1 | <PARAMS> |
| 2 | # 0. Initialize CHOTestMonkey |
| 3 | # 1. Set IPv6 configure |
| 4 | # 2. Load network configuration files |
| 5 | # 4. Copy topology libs and config files to Mininet |
| 6 | # 5. Load topology and balances all switches |
| 7 | # 6. Collect and store device and link data from ONOS |
| 8 | # 7. Collect and store host data from ONOS |
You Wang | a9a5e00 | 2019-01-31 12:33:26 -0800 | [diff] [blame] | 9 | # 10. Run all enabled checks |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 10 | # 70. Run randomly generated events |
You Wang | a9a5e00 | 2019-01-31 12:33:26 -0800 | [diff] [blame] | 11 | # 80. Replay events from log file |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 12 | # 100. Do nothing |
| 13 | |
| 14 | <testcases> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 15 | 0,2,4,5,6,7,10,70 |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 16 | </testcases> |
| 17 | |
| 18 | <GIT> |
| 19 | <pull>False</pull> |
| 20 | <branch>master</branch> |
| 21 | </GIT> |
| 22 | |
| 23 | <TEST> |
| 24 | <topo>10</topo> |
| 25 | <IPv6>on</IPv6> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 26 | <restartCluster>True</restartCluster> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 27 | <dataPlaneConnectivity>True</dataPlaneConnectivity> |
| 28 | <numCtrl>3</numCtrl> |
| 29 | <pauseTest>on</pauseTest> |
| 30 | <caseSleep>0</caseSleep> |
| 31 | <ipv6Regex>10[0-9]+::[0-9]+</ipv6Regex> |
| 32 | <ipv4Regex>10\.[0-9]+\.[0-9]+\.[0-9]+</ipv4Regex> |
| 33 | <karafCliTimeout>7200000</karafCliTimeout> |
| 34 | <testDuration>86400</testDuration> |
| 35 | <package>on</package> |
| 36 | </TEST> |
| 37 | |
You Wang | 57d2f46 | 2019-03-06 16:24:35 -0800 | [diff] [blame] | 38 | <LOGGING> |
| 39 | <DEBUG>org.onosproject.segmentrouting,org.onosproject.driver,org.onosproject.net.flowobjective.impl,org.onosproject.routeservice.impl,org.onosproject.routeservice.store,org.onosproject.routing.fpm,org.onosproject.mcast</DEBUG> |
| 40 | <TRACE>org.onosproject.events</TRACE> |
| 41 | </LOGGING> |
| 42 | |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 43 | <GRAPH> |
| 44 | <nodeCluster>CHO</nodeCluster> |
| 45 | <builds>20</builds> |
| 46 | </GRAPH> |
| 47 | |
| 48 | <ENV> |
| 49 | <cellName>choTrellisCell</cellName> |
| 50 | <cellApps>drivers,openflow,segmentrouting,fpm,dhcprelay,netcfghostprovider,routeradvertisement,t3,hostprobingprovider</cellApps> |
| 51 | </ENV> |
| 52 | |
| 53 | <EVENT> |
| 54 | <Event> |
| 55 | <status>on</status> |
| 56 | <typeIndex>0</typeIndex> |
| 57 | <typeString>NULL</typeString> |
| 58 | <CLI>null</CLI> |
| 59 | <CLIParamNum>0</CLIParamNum> |
| 60 | <rerunInterval>5</rerunInterval> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 61 | <maxRerunNum>3</maxRerunNum> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 62 | </Event> |
| 63 | |
| 64 | <TestPause> |
| 65 | <status>on</status> |
| 66 | <typeIndex>1</typeIndex> |
| 67 | <typeString>TEST_PAUSE</typeString> |
| 68 | <CLI>pause-test</CLI> |
| 69 | <CLIParamNum>0</CLIParamNum> |
| 70 | </TestPause> |
| 71 | |
| 72 | <TestResume> |
| 73 | <status>on</status> |
| 74 | <typeIndex>2</typeIndex> |
| 75 | <typeString>TEST_RESUME</typeString> |
| 76 | <CLI>resume-test</CLI> |
| 77 | <CLIParamNum>0</CLIParamNum> |
| 78 | </TestResume> |
| 79 | |
| 80 | <TestSleep> |
| 81 | <status>on</status> |
| 82 | <typeIndex>3</typeIndex> |
| 83 | <typeString>TEST_SLEEP</typeString> |
| 84 | <CLI>sleep</CLI> |
| 85 | <CLIParamNum>1</CLIParamNum> |
| 86 | </TestSleep> |
| 87 | |
| 88 | <TestDebug> |
| 89 | <status>on</status> |
| 90 | <typeIndex>4</typeIndex> |
| 91 | <typeString>TEST_DEBUG</typeString> |
| 92 | <CLI>debug-test</CLI> |
| 93 | <CLIParamNum>0</CLIParamNum> |
| 94 | </TestDebug> |
| 95 | |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 96 | <TrafficCheck> |
| 97 | <status>on</status> |
| 98 | <typeIndex>12</typeIndex> |
| 99 | <typeString>CHECK_TRAFFIC</typeString> |
| 100 | <CLI>check-traffic</CLI> |
| 101 | <CLIParamNum>0</CLIParamNum> |
| 102 | <rerunInterval>10</rerunInterval> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 103 | <maxRerunNum>3</maxRerunNum> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 104 | <pingWait>1</pingWait> |
| 105 | <pingTimeout>10</pingTimeout> |
| 106 | </TrafficCheck> |
| 107 | |
| 108 | <TopoCheck> |
| 109 | <status>on</status> |
| 110 | <typeIndex>13</typeIndex> |
| 111 | <typeString>CHECK_TOPO</typeString> |
| 112 | <CLI>check-topo</CLI> |
| 113 | <CLIParamNum>0</CLIParamNum> |
| 114 | <rerunInterval>5</rerunInterval> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 115 | <maxRerunNum>3</maxRerunNum> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 116 | </TopoCheck> |
| 117 | |
| 118 | <ONOSCheck> |
| 119 | <status>on</status> |
| 120 | <typeIndex>14</typeIndex> |
| 121 | <typeString>CHECK_ONOS</typeString> |
| 122 | <CLI>check-onos</CLI> |
| 123 | <CLIParamNum>0</CLIParamNum> |
| 124 | <rerunInterval>10</rerunInterval> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 125 | <maxRerunNum>3</maxRerunNum> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 126 | </ONOSCheck> |
| 127 | |
| 128 | <RaftLogSizeCheck> |
| 129 | <status>on</status> |
| 130 | <typeIndex>15</typeIndex> |
| 131 | <typeString>CHECK_RAFT_LOG_SIZE</typeString> |
| 132 | <CLI>check-raft-size</CLI> |
| 133 | <CLIParamNum>0</CLIParamNum> |
| 134 | </RaftLogSizeCheck> |
| 135 | |
| 136 | <LinkDown> |
| 137 | <status>on</status> |
| 138 | <typeIndex>20</typeIndex> |
| 139 | <typeString>NETWORK_LINK_DOWN</typeString> |
| 140 | <CLI>link-down</CLI> |
| 141 | <CLIParamNum>2</CLIParamNum> |
| 142 | </LinkDown> |
| 143 | |
| 144 | <LinkUp> |
| 145 | <status>on</status> |
| 146 | <typeIndex>21</typeIndex> |
| 147 | <typeString>NETWORK_LINK_UP</typeString> |
| 148 | <CLI>link-up</CLI> |
| 149 | <CLIParamNum>2</CLIParamNum> |
| 150 | </LinkUp> |
| 151 | |
| 152 | <DeviceDown> |
| 153 | <status>on</status> |
| 154 | <typeIndex>22</typeIndex> |
| 155 | <typeString>NETWORK_DEVICE_DOWN</typeString> |
| 156 | <CLI>device-down</CLI> |
| 157 | <CLIParamNum>1</CLIParamNum> |
| 158 | </DeviceDown> |
| 159 | |
| 160 | <DeviceUp> |
| 161 | <status>on</status> |
| 162 | <typeIndex>23</typeIndex> |
| 163 | <typeString>NETWORK_DEVICE_UP</typeString> |
| 164 | <CLI>device-up</CLI> |
| 165 | <CLIParamNum>1</CLIParamNum> |
| 166 | </DeviceUp> |
| 167 | |
| 168 | <PortDown> |
| 169 | <status>on</status> |
| 170 | <typeIndex>24</typeIndex> |
| 171 | <typeString>NETWORK_PORT_DOWN</typeString> |
| 172 | <CLI>port-down</CLI> |
| 173 | <CLIParamNum>2</CLIParamNum> |
| 174 | </PortDown> |
| 175 | |
| 176 | <PortUp> |
| 177 | <status>on</status> |
| 178 | <typeIndex>25</typeIndex> |
| 179 | <typeString>NETWORK_PORT_UP</typeString> |
| 180 | <CLI>port-up</CLI> |
| 181 | <CLIParamNum>2</CLIParamNum> |
| 182 | </PortUp> |
| 183 | |
| 184 | <ONOSDown> |
| 185 | <status>on</status> |
| 186 | <typeIndex>40</typeIndex> |
| 187 | <typeString>ONOS_ONOS_DOWN</typeString> |
| 188 | <CLI>onos-down</CLI> |
| 189 | <CLIParamNum>1</CLIParamNum> |
| 190 | <rerunInterval>5</rerunInterval> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 191 | <maxRerunNum>3</maxRerunNum> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 192 | </ONOSDown> |
| 193 | |
| 194 | <ONOSUp> |
| 195 | <status>on</status> |
| 196 | <typeIndex>41</typeIndex> |
| 197 | <typeString>ONOS_ONOS_UP</typeString> |
| 198 | <CLI>onos-up</CLI> |
| 199 | <CLIParamNum>1</CLIParamNum> |
| 200 | <rerunInterval>5</rerunInterval> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 201 | <maxRerunNum>3</maxRerunNum> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 202 | </ONOSUp> |
| 203 | |
| 204 | <SetCfg> |
| 205 | <status>on</status> |
| 206 | <typeIndex>42</typeIndex> |
| 207 | <typeString>ONOS_SET_CFG</typeString> |
| 208 | <CLI>set-cfg</CLI> |
| 209 | <CLIParamNum>3</CLIParamNum> |
| 210 | <rerunInterval>5</rerunInterval> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 211 | <maxRerunNum>3</maxRerunNum> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 212 | </SetCfg> |
| 213 | |
| 214 | <BalanceMasters> |
| 215 | <status>on</status> |
| 216 | <typeIndex>44</typeIndex> |
| 217 | <typeString>ONOS_BALANCE_MASTERS</typeString> |
| 218 | <CLI>balance-masters</CLI> |
| 219 | <CLIParamNum>0</CLIParamNum> |
| 220 | <rerunInterval>5</rerunInterval> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 221 | <maxRerunNum>3</maxRerunNum> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 222 | </BalanceMasters> |
| 223 | |
| 224 | <addAllChecks> |
| 225 | <status>on</status> |
| 226 | <typeIndex>110</typeIndex> |
| 227 | <typeString>CHECK_ALL</typeString> |
| 228 | <CLI>check-all</CLI> |
| 229 | <CLIParamNum>0</CLIParamNum> |
| 230 | </addAllChecks> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 231 | </EVENT> |
| 232 | |
| 233 | <SCHEDULER> |
| 234 | <pendingEventsCapacity>1</pendingEventsCapacity> |
| 235 | <runningEventsCapacity>10</runningEventsCapacity> |
| 236 | <scheduleLoopSleep>0.1</scheduleLoopSleep> |
| 237 | </SCHEDULER> |
| 238 | |
| 239 | <GENERATOR> |
| 240 | <listenerPort>6000</listenerPort> |
| 241 | <insertEventRetryInterval>1</insertEventRetryInterval> |
| 242 | </GENERATOR> |
| 243 | |
| 244 | <TOPO> |
| 245 | <topo10> |
| 246 | <fileName>hagg.py</fileName> |
| 247 | </topo10> |
| 248 | <mininetArgs>--dhcp=1 --routers=1 --ipv6=1 --ipv4=1</mininetArgs> |
You Wang | a9a5e00 | 2019-01-31 12:33:26 -0800 | [diff] [blame] | 249 | <loadTopoSleep>120</loadTopoSleep> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 250 | <excludeNodes>cs0,cs1,r1,r2,nat,bgp1,bgp2,dhcp,dhcp6</excludeNodes> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 251 | </TOPO> |
| 252 | |
| 253 | <CASE2> |
| 254 | <fileName>hagg.json</fileName> |
| 255 | <hostFileName>hagg.host</hostFileName> |
| 256 | </CASE2> |
| 257 | |
| 258 | <CASE4> |
| 259 | <lib>routinglib.py,trellislib.py,trellis_fabric.py</lib> |
| 260 | <conf>bgpdbgp1.conf,bgpdbgp2.conf,bgpdr1.conf,bgpdr2.conf,dhcpd6.conf,dhcpd.conf,zebradbgp1.conf,zebradbgp2.conf</conf> |
| 261 | </CASE4> |
| 262 | |
| 263 | <CASE70> |
You Wang | a9a5e00 | 2019-01-31 12:33:26 -0800 | [diff] [blame] | 264 | <sleepSec>60</sleepSec> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 265 | <eventWeight> |
| 266 | <port-down>3</port-down> |
| 267 | <device-down>2</device-down> |
| 268 | <onos-down>1</onos-down> |
| 269 | </eventWeight> |
| 270 | <skipSwitches>leaf5</skipSwitches> |
| 271 | <skipLinks>spine103,spine104,leaf1,leaf6</skipLinks> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 272 | </CASE70> |
| 273 | |
| 274 | <CASE80> |
| 275 | <filePath>/home/sdn/log-for-replay</filePath> |
You Wang | b1665b5 | 2019-02-01 15:49:48 -0800 | [diff] [blame] | 276 | <sleepTime>5</sleepTime> |
You Wang | 7d14d64 | 2019-01-23 15:10:08 -0800 | [diff] [blame] | 277 | <skipChecks>on</skipChecks> |
| 278 | </CASE80> |
| 279 | </PARAMS> |