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