blob: ac5be42f9a77fdd586dd9082d7722df7e45a8877 [file] [log] [blame]
You Wangb1665b52019-02-01 15:49:48 -08001<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
9 # 10. Run all enabled checks
10 # 70. Run randomly generated events
11 # 80. Replay events from log file
12 # 100. Do nothing
13
14 <testcases>
15 0,2,5,6,7,10,70
16 </testcases>
17
18 <GIT>
19 <pull>False</pull>
20 <branch>master</branch>
21 </GIT>
22
23 <TEST>
24 <IPv6>off</IPv6>
You Wang17f344b2019-03-13 15:25:44 -070025 <restartCluster>True</restartCluster>
You Wangb1665b52019-02-01 15:49:48 -080026 <dataPlaneConnectivity>True</dataPlaneConnectivity>
27 <numCtrl>3</numCtrl>
28 <pauseTest>on</pauseTest>
29 <caseSleep>0</caseSleep>
30 <ipv6Regex>10[0-9]+::[0-9]+</ipv6Regex>
31 <ipv4Regex>10\.0\.[0-9]+\.[0-9]+</ipv4Regex>
32 <karafCliTimeout>7200000</karafCliTimeout>
33 <testDuration>86400</testDuration>
34 <package>on</package>
35 </TEST>
36
You Wang57d2f462019-03-06 16:24:35 -080037 <LOGGING>
38 <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>
39 <TRACE>org.onosproject.events</TRACE>
40 </LOGGING>
41
You Wangb1665b52019-02-01 15:49:48 -080042 <GRAPH>
43 <nodeCluster>CHO</nodeCluster>
44 <builds>20</builds>
45 </GRAPH>
46
47 <ENV>
48 <cellName>choFlexCell</cellName>
49 <cellApps>drivers,openflow,segmentrouting,fpm,dhcprelay,netcfghostprovider,routeradvertisement,t3,hostprobingprovider</cellApps>
50 </ENV>
51
52 <EVENT>
53 <Event>
54 <status>on</status>
55 <typeIndex>0</typeIndex>
56 <typeString>NULL</typeString>
57 <CLI>null</CLI>
58 <CLIParamNum>0</CLIParamNum>
59 <rerunInterval>5</rerunInterval>
60 <maxRerunNum>3</maxRerunNum>
61 </Event>
62
63 <TestPause>
64 <status>on</status>
65 <typeIndex>1</typeIndex>
66 <typeString>TEST_PAUSE</typeString>
67 <CLI>pause-test</CLI>
68 <CLIParamNum>0</CLIParamNum>
69 </TestPause>
70
71 <TestResume>
72 <status>on</status>
73 <typeIndex>2</typeIndex>
74 <typeString>TEST_RESUME</typeString>
75 <CLI>resume-test</CLI>
76 <CLIParamNum>0</CLIParamNum>
77 </TestResume>
78
79 <TestSleep>
80 <status>on</status>
81 <typeIndex>3</typeIndex>
82 <typeString>TEST_SLEEP</typeString>
83 <CLI>sleep</CLI>
84 <CLIParamNum>1</CLIParamNum>
85 </TestSleep>
86
87 <TestDebug>
88 <status>on</status>
89 <typeIndex>4</typeIndex>
90 <typeString>TEST_DEBUG</typeString>
91 <CLI>debug-test</CLI>
92 <CLIParamNum>0</CLIParamNum>
93 </TestDebug>
94
95 <TrafficCheck>
96 <status>on</status>
97 <typeIndex>12</typeIndex>
98 <typeString>CHECK_TRAFFIC</typeString>
99 <CLI>check-traffic</CLI>
100 <CLIParamNum>0</CLIParamNum>
101 <rerunInterval>10</rerunInterval>
102 <maxRerunNum>3</maxRerunNum>
103 <pingWait>1</pingWait>
104 <pingTimeout>10</pingTimeout>
105 </TrafficCheck>
106
107 <TopoCheck>
108 <status>on</status>
109 <typeIndex>13</typeIndex>
110 <typeString>CHECK_TOPO</typeString>
111 <CLI>check-topo</CLI>
112 <CLIParamNum>0</CLIParamNum>
113 <rerunInterval>5</rerunInterval>
114 <maxRerunNum>3</maxRerunNum>
115 </TopoCheck>
116
117 <ONOSCheck>
118 <status>on</status>
119 <typeIndex>14</typeIndex>
120 <typeString>CHECK_ONOS</typeString>
121 <CLI>check-onos</CLI>
122 <CLIParamNum>0</CLIParamNum>
123 <rerunInterval>10</rerunInterval>
124 <maxRerunNum>3</maxRerunNum>
125 </ONOSCheck>
126
127 <RaftLogSizeCheck>
128 <status>on</status>
129 <typeIndex>15</typeIndex>
130 <typeString>CHECK_RAFT_LOG_SIZE</typeString>
131 <CLI>check-raft-size</CLI>
132 <CLIParamNum>0</CLIParamNum>
133 </RaftLogSizeCheck>
134
135 <DeviceDown>
136 <status>on</status>
137 <typeIndex>22</typeIndex>
138 <typeString>NETWORK_DEVICE_DOWN</typeString>
139 <CLI>device-down</CLI>
140 <CLIParamNum>1</CLIParamNum>
141 </DeviceDown>
142
143 <DeviceUp>
144 <status>on</status>
145 <typeIndex>23</typeIndex>
146 <typeString>NETWORK_DEVICE_UP</typeString>
147 <CLI>device-up</CLI>
148 <CLIParamNum>1</CLIParamNum>
149 </DeviceUp>
150
151 <PortDown>
152 <status>on</status>
153 <typeIndex>24</typeIndex>
154 <typeString>NETWORK_PORT_DOWN</typeString>
155 <CLI>port-down</CLI>
156 <CLIParamNum>2</CLIParamNum>
157 </PortDown>
158
159 <PortUp>
160 <status>on</status>
161 <typeIndex>25</typeIndex>
162 <typeString>NETWORK_PORT_UP</typeString>
163 <CLI>port-up</CLI>
164 <CLIParamNum>2</CLIParamNum>
165 </PortUp>
166
167 <ONOSDown>
168 <status>on</status>
169 <typeIndex>40</typeIndex>
170 <typeString>ONOS_ONOS_DOWN</typeString>
171 <CLI>onos-down</CLI>
172 <CLIParamNum>1</CLIParamNum>
173 <rerunInterval>5</rerunInterval>
174 <maxRerunNum>3</maxRerunNum>
175 </ONOSDown>
176
177 <ONOSUp>
178 <status>on</status>
179 <typeIndex>41</typeIndex>
180 <typeString>ONOS_ONOS_UP</typeString>
181 <CLI>onos-up</CLI>
182 <CLIParamNum>1</CLIParamNum>
183 <rerunInterval>5</rerunInterval>
184 <maxRerunNum>3</maxRerunNum>
185 </ONOSUp>
186
187 <SetCfg>
188 <status>on</status>
189 <typeIndex>42</typeIndex>
190 <typeString>ONOS_SET_CFG</typeString>
191 <CLI>set-cfg</CLI>
192 <CLIParamNum>3</CLIParamNum>
193 <rerunInterval>5</rerunInterval>
194 <maxRerunNum>3</maxRerunNum>
195 </SetCfg>
196
197 <BalanceMasters>
198 <status>on</status>
199 <typeIndex>44</typeIndex>
200 <typeString>ONOS_BALANCE_MASTERS</typeString>
201 <CLI>balance-masters</CLI>
202 <CLIParamNum>0</CLIParamNum>
203 <rerunInterval>5</rerunInterval>
204 <maxRerunNum>3</maxRerunNum>
205 </BalanceMasters>
206
207 <addAllChecks>
208 <status>on</status>
209 <typeIndex>110</typeIndex>
210 <typeString>CHECK_ALL</typeString>
211 <CLI>check-all</CLI>
212 <CLIParamNum>0</CLIParamNum>
213 </addAllChecks>
214 </EVENT>
215
216 <SCHEDULER>
217 <pendingEventsCapacity>1</pendingEventsCapacity>
218 <runningEventsCapacity>10</runningEventsCapacity>
219 <scheduleLoopSleep>0.1</scheduleLoopSleep>
220 </SCHEDULER>
221
222 <GENERATOR>
223 <listenerPort>6000</listenerPort>
224 <insertEventRetryInterval>1</insertEventRetryInterval>
225 </GENERATOR>
226
227 <TOPO>
228 <loadTopoSleep>60</loadTopoSleep>
229 <excludeNodes></excludeNodes>
230 </TOPO>
231
232 <CASE2>
233 <fileName>flex.json</fileName>
234 <hostFileName>flex.host</hostFileName>
235 </CASE2>
236
237 <CASE70>
238 <sleepSec>60</sleepSec>
239 <eventWeight>
240 <port-down>2</port-down>
241 <device-down>2</device-down>
242 <onos-down>1</onos-down>
243 </eventWeight>
You Wang17f344b2019-03-13 15:25:44 -0700244 <skipSwitches>s201,s228,s203,s225,s204</skipSwitches>
You Wangb1665b52019-02-01 15:49:48 -0800245 <skipLinks></skipLinks>
246 </CASE70>
247
248 <CASE80>
249 <filePath>/home/sdn/log-for-replay</filePath>
250 <sleepTime>5</sleepTime>
251 <skipChecks>off</skipChecks>
252 </CASE80>
253</PARAMS>