blob: 25565dc2b88e417db691930aeb453ae8f36fd786 [file] [log] [blame]
kelvin-onlab1d381fe2015-07-14 16:24:56 -07001
2# Testing network scalability, this test suite scales up a network topology
3# using mininet and verifies ONOS stability
4
GlennRC1c5df3c2015-08-27 16:12:09 -07005class SCPFscaleTopo:
kelvin-onlab1d381fe2015-07-14 16:24:56 -07006
7 def __init__( self ):
8 self.default = ''
9
10 def CASE1( self, main ):
11 import time
12 import os
13 import imp
Jon Hallf632d202015-07-30 15:45:11 -070014 import re
kelvin-onlab1d381fe2015-07-14 16:24:56 -070015
16 """
17 - Construct tests variables
18 - GIT ( optional )
19 - Checkout ONOS master branch
20 - Pull latest ONOS code
21 - Building ONOS ( optional )
22 - Install ONOS package
23 - Build ONOS package
24 """
25
GlennRC475f50d2015-10-23 15:01:09 -070026 main.case( "Constructing test variables" )
kelvin-onlab1d381fe2015-07-14 16:24:56 -070027 main.step( "Constructing test variables" )
28 stepResult = main.FALSE
29
GlennRC475f50d2015-10-23 15:01:09 -070030 main.testOnDirectory = os.path.dirname( os.getcwd ( ) )
31 main.apps = main.params[ 'ENV' ][ 'cellApps' ]
32 gitBranch = main.params[ 'GIT' ][ 'branch' ]
33 main.dependencyPath = main.testOnDirectory + \
34 main.params[ 'DEPENDENCY' ][ 'path' ]
35 main.multiovs = main.params[ 'DEPENDENCY' ][ 'multiovs' ]
36 main.topoName = main.params[ 'TOPOLOGY' ][ 'topology' ]
37 main.numCtrls = int( main.params[ 'CTRL' ][ 'numCtrls' ] )
38 main.topoScale = ( main.params[ 'TOPOLOGY' ][ 'scale' ] ).split( "," )
39 main.topoScaleSize = len( main.topoScale )
40 wrapperFile1 = main.params[ 'DEPENDENCY' ][ 'wrapper1' ]
41 wrapperFile2 = main.params[ 'DEPENDENCY' ][ 'wrapper2' ]
42 wrapperFile3 = main.params[ 'DEPENDENCY' ][ 'wrapper3' ]
43 main.topoCmpAttempts = int( main.params[ 'ATTEMPTS' ][ 'topoCmp' ] )
44 main.pingallAttempts = int( main.params[ 'ATTEMPTS' ][ 'pingall' ] )
45 main.startUpSleep = int( main.params[ 'SLEEP' ][ 'startup' ] )
GlennRC475f50d2015-10-23 15:01:09 -070046 main.balanceSleep = int( main.params[ 'SLEEP' ][ 'balance' ] )
GlennRCe283c4b2016-01-07 13:04:10 -080047 main.nodeSleep = int( main.params[ 'SLEEP' ][ 'nodeSleep' ] )
GlennRC475f50d2015-10-23 15:01:09 -070048 main.pingallSleep = int( main.params[ 'SLEEP' ][ 'pingall' ] )
GlennRCe283c4b2016-01-07 13:04:10 -080049 main.MNSleep = int( main.params[ 'SLEEP' ][ 'MNsleep' ] )
YPZhang85024fc2016-02-09 16:59:27 -080050 main.pingTimeout = float( main.params[ 'TIMEOUT' ][ 'pingall' ] )
GlennRC475f50d2015-10-23 15:01:09 -070051 gitPull = main.params[ 'GIT' ][ 'pull' ]
52 main.homeDir = os.path.expanduser('~')
53 main.cellData = {} # for creating cell file
54 main.hostsData = {}
55 main.CLIs = []
56 main.ONOSip = []
57 main.activeNodes = []
58 main.ONOSip = main.ONOSbench.getOnosIps()
kelvin-onlab1d381fe2015-07-14 16:24:56 -070059
GlennRC475f50d2015-10-23 15:01:09 -070060 for i in range(main.numCtrls):
GlennRC632e2892015-10-19 18:58:41 -070061 main.CLIs.append( getattr( main, 'ONOScli%s' % (i+1) ) )
62
GlennRC475f50d2015-10-23 15:01:09 -070063 main.startUp = imp.load_source( wrapperFile1,
64 main.dependencyPath +
65 wrapperFile1 +
66 ".py" )
GlennRC475f50d2015-10-23 15:01:09 -070067 main.scaleTopoFunction = imp.load_source( wrapperFile2,
68 main.dependencyPath +
69 wrapperFile2 +
70 ".py" )
GlennRC475f50d2015-10-23 15:01:09 -070071 main.topo = imp.load_source( wrapperFile3,
72 main.dependencyPath +
73 wrapperFile3 +
74 ".py" )
GlennRC632e2892015-10-19 18:58:41 -070075 main.ONOSbench.scp( main.Mininet1,
76 main.dependencyPath +
77 main.multiovs,
78 main.Mininet1.home,
79 direction="to" )
80
81 if main.CLIs:
82 stepResult = main.TRUE
83 else:
84 main.log.error( "Did not properly created list of " +
85 "ONOS CLI handle" )
86 stepResult = main.FALSE
87
kelvin-onlab1d381fe2015-07-14 16:24:56 -070088 utilities.assert_equals( expect=main.TRUE,
89 actual=stepResult,
90 onpass="Successfully construct " +
91 "test variables ",
92 onfail="Failed to construct test variables" )
93
94 if gitPull == 'True':
95 main.step( "Building ONOS in " + gitBranch + " branch" )
96 onosBuildResult = main.startUp.onosBuild( main, gitBranch )
97 stepResult = onosBuildResult
98 utilities.assert_equals( expect=main.TRUE,
99 actual=stepResult,
100 onpass="Successfully compiled " +
101 "latest ONOS",
102 onfail="Failed to compile " +
103 "latest ONOS" )
104 else:
105 main.log.warn( "Did not pull new code so skipping mvn " +
106 "clean install" )
107
GlennRC632e2892015-10-19 18:58:41 -0700108
109 def CASE2( self, main):
kelvin-onlab1d381fe2015-07-14 16:24:56 -0700110 """
111 - Set up cell
112 - Create cell file
113 - Set cell file
114 - Verify cell file
115 - Kill ONOS process
116 - Uninstall ONOS cluster
117 - Verify ONOS start up
118 - Install ONOS cluster
119 - Connect to cli
120 """
121
kelvin-onlab1d381fe2015-07-14 16:24:56 -0700122 main.case( "Starting up " + str( main.numCtrls ) +
123 " node(s) ONOS cluster" )
GlennRC632e2892015-10-19 18:58:41 -0700124 main.caseExplanation = "Set up ONOS with " + str( main.numCtrls ) +\
125 " node(s) ONOS cluster"
126
127
kelvin-onlab1d381fe2015-07-14 16:24:56 -0700128
129 #kill off all onos processes
130 main.log.info( "Safety check, killing all ONOS processes" +
Jon Hall70b2ff42015-11-17 15:49:44 -0800131 " before initiating environment setup" )
kelvin-onlab1d381fe2015-07-14 16:24:56 -0700132
GlennRC632e2892015-10-19 18:58:41 -0700133 for i in range( main.numCtrls ):
kelvin-onlab1d381fe2015-07-14 16:24:56 -0700134 main.ONOSbench.onosDie( main.ONOSip[ i ] )
135
kelvin-onlab1d381fe2015-07-14 16:24:56 -0700136 tempOnosIp = []
137 for i in range( main.numCtrls ):
138 tempOnosIp.append( main.ONOSip[i] )
139
140 main.ONOSbench.createCellFile( main.ONOSbench.ip_address,
141 "temp", main.Mininet1.ip_address,
GlennRC632e2892015-10-19 18:58:41 -0700142 main.apps, tempOnosIp )
kelvin-onlab1d381fe2015-07-14 16:24:56 -0700143
144 main.step( "Apply cell to environment" )
145 cellResult = main.ONOSbench.setCell( "temp" )
146 verifyResult = main.ONOSbench.verifyCell()
147 stepResult = cellResult and verifyResult
148 utilities.assert_equals( expect=main.TRUE,
149 actual=stepResult,
150 onpass="Successfully applied cell to " + \
151 "environment",
152 onfail="Failed to apply cell to environment " )
153
154 main.step( "Creating ONOS package" )
155 packageResult = main.ONOSbench.onosPackage()
156 stepResult = packageResult
157 utilities.assert_equals( expect=main.TRUE,
158 actual=stepResult,
159 onpass="Successfully created ONOS package",
160 onfail="Failed to create ONOS package" )
161
GlennRC632e2892015-10-19 18:58:41 -0700162 time.sleep( main.startUpSleep )
163 main.step( "Uninstalling ONOS package" )
164 onosUninstallResult = main.TRUE
165 for ip in main.ONOSip:
166 onosUninstallResult = onosUninstallResult and \
167 main.ONOSbench.onosUninstall( nodeIp=ip )
168 stepResult = onosUninstallResult
169 utilities.assert_equals( expect=main.TRUE,
170 actual=stepResult,
171 onpass="Successfully uninstalled ONOS package",
172 onfail="Failed to uninstall ONOS package" )
kelvin-onlab1d381fe2015-07-14 16:24:56 -0700173
GlennRC632e2892015-10-19 18:58:41 -0700174 time.sleep( main.startUpSleep )
175 main.step( "Installing ONOS package" )
176 onosInstallResult = main.TRUE
177 for i in range( main.numCtrls ):
178 onosInstallResult = onosInstallResult and \
179 main.ONOSbench.onosInstall( node=main.ONOSip[ i ] )
180 stepResult = onosInstallResult
181 utilities.assert_equals( expect=main.TRUE,
182 actual=stepResult,
183 onpass="Successfully installed ONOS package",
184 onfail="Failed to install ONOS package" )
kelvin-onlab1d381fe2015-07-14 16:24:56 -0700185
GlennRC632e2892015-10-19 18:58:41 -0700186 time.sleep( main.startUpSleep )
187 main.step( "Starting ONOS service" )
188 stopResult = main.TRUE
189 startResult = main.TRUE
190 onosIsUp = main.TRUE
191
192 for i in range( main.numCtrls ):
193 onosIsUp = onosIsUp and main.ONOSbench.isup( main.ONOSip[ i ] )
194 if onosIsUp == main.TRUE:
195 main.log.report( "ONOS instance is up and ready" )
196 else:
197 main.log.report( "ONOS instance may not be up, stop and " +
198 "start ONOS again " )
199
200 for i in range( main.numCtrls ):
201 stopResult = stopResult and \
202 main.ONOSbench.onosStop( main.ONOSip[ i ] )
203 for i in range( main.numCtrls ):
204 startResult = startResult and \
205 main.ONOSbench.onosStart( main.ONOSip[ i ] )
206 stepResult = onosIsUp and stopResult and startResult
207 utilities.assert_equals( expect=main.TRUE,
208 actual=stepResult,
209 onpass="ONOS service is ready",
210 onfail="ONOS service did not start properly" )
211
212 main.step( "Start ONOS cli" )
213 cliResult = main.TRUE
214 for i in range( main.numCtrls ):
215 cliResult = cliResult and \
216 main.CLIs[ i ].startOnosCli( main.ONOSip[ i ] )
217 main.activeNodes.append( i )
218 stepResult = cliResult
219 utilities.assert_equals( expect=main.TRUE,
220 actual=stepResult,
221 onpass="Successfully start ONOS cli",
222 onfail="Failed to start ONOS cli" )
223
224
225 def CASE10( self, main ):
226 """
YPZhang85024fc2016-02-09 16:59:27 -0800227 Starting up torus topology
GlennRC632e2892015-10-19 18:58:41 -0700228 """
GlennRC475f50d2015-10-23 15:01:09 -0700229 import json
230
231 main.case( "Starting up Mininet and verifying topology" )
232 main.caseExplanation = "Starting Mininet with a scalling topology and " +\
233 "comparing topology elements between Mininet and ONOS"
GlennRC632e2892015-10-19 18:58:41 -0700234
235 main.log.info( "Checking if mininet is already running" )
236 if len( main.topoScale ) < main.topoScaleSize:
237 main.log.info( "Mininet is already running. Stopping mininet." )
238 main.Mininet1.stopNet()
GlennRCe283c4b2016-01-07 13:04:10 -0800239 time.sleep(main.MNSleep)
GlennRC632e2892015-10-19 18:58:41 -0700240 else:
241 main.log.info( "Mininet was not running" )
242
GlennRC475f50d2015-10-23 15:01:09 -0700243 if main.topoScale:
GlennRC90d43952015-10-27 11:36:15 -0700244 main.currScale = main.topoScale.pop(0)
GlennRC475f50d2015-10-23 15:01:09 -0700245 else: main.log.error( "topology scale is empty" )
GlennRC632e2892015-10-19 18:58:41 -0700246
YPZhang81a7d4e2016-04-18 13:10:17 -0700247 # remove device before setup topology
248 devices = main.topo.getAllDevices( main )
249 if( devices[0] != '[]' ): # because devices is a list witch contain 3 string, not contain list!
250 temp = json.loads( devices[0] )
251 devicesIdList = []
252 for d in temp:
253 main.CLIs[0].deviceRemove( d.get('id').encode() )
GlennRC475f50d2015-10-23 15:01:09 -0700254
GlennRC90d43952015-10-27 11:36:15 -0700255 main.step( "Starting up TORUS %sx%s topology" % (main.currScale, main.currScale) )
GlennRC475f50d2015-10-23 15:01:09 -0700256
257 main.log.info( "Constructing Mininet command" )
258 mnCmd = " mn --custom " + main.Mininet1.home + main.multiovs +\
GlennRC90d43952015-10-27 11:36:15 -0700259 " --switch ovsm --topo " + main.topoName + ","+ main.currScale + "," + main.currScale
GlennRC475f50d2015-10-23 15:01:09 -0700260
261 for i in range( main.numCtrls ):
262 mnCmd += " --controller remote,ip=" + main.ONOSip[ i ]
263
GlennRC632e2892015-10-19 18:58:41 -0700264 stepResult = main.Mininet1.startNet(mnCmd=mnCmd)
265 utilities.assert_equals( expect=main.TRUE,
266 actual=stepResult,
267 onpass=main.topoName +
268 " topology started successfully",
269 onfail=main.topoName +
270 " topology failed to start" )
271
GlennRCe283c4b2016-01-07 13:04:10 -0800272 time.sleep( main.MNSleep )
kelvin-onlabd9e23de2015-08-06 10:34:44 -0700273
GlennRC475f50d2015-10-23 15:01:09 -0700274 def CASE11( self, main ):
275 """
276 Pingall, and compare topo
YPZhang85024fc2016-02-09 16:59:27 -0800277 We don't care the pingall result,
278 if the topology is same, then Pass.
GlennRC475f50d2015-10-23 15:01:09 -0700279 """
280 import json
281
GlennRC90d43952015-10-27 11:36:15 -0700282 main.case( "Verifying topology: TORUS %sx%s" % (main.currScale, main.currScale) )
YPZhang85024fc2016-02-09 16:59:27 -0800283 main.caseExplanation = "Pinging all hosts and comparing topology " +\
GlennRC475f50d2015-10-23 15:01:09 -0700284 "elements between Mininet and ONOS"
GlennRCe283c4b2016-01-07 13:04:10 -0800285
GlennRC475f50d2015-10-23 15:01:09 -0700286 main.log.info( "Gathering topology information" )
YPZhang85024fc2016-02-09 16:59:27 -0800287 time.sleep( main.MNSleep )
288
GlennRC475f50d2015-10-23 15:01:09 -0700289 devicesResults = main.TRUE
290 linksResults = main.TRUE
291 hostsResults = main.TRUE
YPZhang85024fc2016-02-09 16:59:27 -0800292 stepResult = main.TRUE
GlennRC475f50d2015-10-23 15:01:09 -0700293 main.step( "Comparing MN topology to ONOS topology" )
GlennRC475f50d2015-10-23 15:01:09 -0700294
YPZhang81a7d4e2016-04-18 13:10:17 -0700295 compareRetry=0
296 while compareRetry <3:
297 #While loop for retry
298 devices = main.topo.getAllDevices( main )
299 hosts = main.topo.getAllHosts( main )
300 ports = main.topo.getAllPorts( main )
301 links = main.topo.getAllLinks( main)
302 clusters = main.topo.getAllClusters( main )
303 mnSwitches = main.Mininet1.getSwitches()
304 mnLinks = main.Mininet1.getLinks(timeout=180)
305 mnHosts = main.Mininet1.getHosts()
GlennRC475f50d2015-10-23 15:01:09 -0700306
YPZhang81a7d4e2016-04-18 13:10:17 -0700307 for controller in range(len(main.activeNodes)):
308 controllerStr = str( main.activeNodes[controller] + 1 )
309 if devices[ controller ] and ports[ controller ] and\
310 "Error" not in devices[ controller ] and\
311 "Error" not in ports[ controller ]:
YPZhang85024fc2016-02-09 16:59:27 -0800312
YPZhang81a7d4e2016-04-18 13:10:17 -0700313 currentDevicesResult = main.Mininet1.compareSwitches(
314 mnSwitches,
315 json.loads( devices[ controller ] ),
316 json.loads( ports[ controller ] ) )
317 else:
318 currentDevicesResult = main.FALSE
319
320 if links[ controller ] and "Error" not in links[ controller ]:
321 currentLinksResult = main.Mininet1.compareLinks(
322 mnSwitches, mnLinks,
323 json.loads( links[ controller ] ) )
324 else:
325 currentLinksResult = main.FALSE
326
327 if hosts[ controller ] or "Error" not in hosts[ controller ]:
328 currentHostsResult = main.Mininet1.compareHosts(
329 mnHosts,
330 json.loads( hosts[ controller ] ) )
331 else:
332 currentHostsResult = main.FALSE
333
334 stepResult = currentDevicesResult and currentLinksResult and currentHostsResult
335 if stepResult:
336 break
337 compareRetry += 1
338
339 # host discover
340 hostList=[]
341 for i in range( 1, int(main.currScale)+1 ):
342 for j in range( 1, int(main.currScale)+1 ):
343 hoststr = "h" + str(i)+ "x" + str(j)
344 hostList.append(hoststr)
345 totalNum = main.topo.sendArpPackage(main, hostList)
346 # check host number
347 main.log.info("{} hosts has been discovered".format( totalNum ))
348 if int(totalNum) == ( int(main.currScale) * int(main.currScale) ):
349 main.log.info("All hosts has been discovered")
350 stepResult = stepResult and main.TRUE
351 else:
352 main.log.warn("Hosts number is not correct!")
353 stepResult = stepResult and main.FALSE
YPZhang85024fc2016-02-09 16:59:27 -0800354
GlennRC475f50d2015-10-23 15:01:09 -0700355 utilities.assert_equals( expect=main.TRUE,
YPZhang85024fc2016-02-09 16:59:27 -0800356 actual=stepResult,
357 onpass=" Topology match Mininet",
GlennRC475f50d2015-10-23 15:01:09 -0700358 onfail="ONOS" + controllerStr +
YPZhang85024fc2016-02-09 16:59:27 -0800359 " Topology doesn't match Mininet" )
GlennRC475f50d2015-10-23 15:01:09 -0700360
361
GlennRC632e2892015-10-19 18:58:41 -0700362 def CASE100( self, main ):
363 '''
YPZhang81a7d4e2016-04-18 13:10:17 -0700364 Bring Down node 3
GlennRC632e2892015-10-19 18:58:41 -0700365 '''
GlennRC475f50d2015-10-23 15:01:09 -0700366
GlennRC90d43952015-10-27 11:36:15 -0700367 main.case("Balancing Masters and bring ONOS node 3 down: TORUS %sx%s" % (main.currScale, main.currScale))
GlennRC475f50d2015-10-23 15:01:09 -0700368 main.caseExplanation = "Balance masters to make sure " +\
369 "each controller has some devices and " +\
370 "stop ONOS node 3 service. "
371
GlennRC475f50d2015-10-23 15:01:09 -0700372 stepResult = main.FALSE
GlennRCed2122e2015-10-21 14:38:46 -0700373 main.step( "Bringing down node 3" )
GlennRCed2122e2015-10-21 14:38:46 -0700374 # Always bring down the third node
375 main.deadNode = 2
GlennRCed2122e2015-10-21 14:38:46 -0700376 # Printing purposes
GlennRC632e2892015-10-19 18:58:41 -0700377 node = main.deadNode + 1
GlennRC632e2892015-10-19 18:58:41 -0700378 main.log.info( "Stopping node %s" % node )
GlennRC475f50d2015-10-23 15:01:09 -0700379 stepResult = main.ONOSbench.onosStop( main.ONOSip[ main.deadNode ] )
GlennRC475f50d2015-10-23 15:01:09 -0700380 main.log.info( "Removing dead node from list of active nodes" )
381 main.activeNodes.pop( main.deadNode )
GlennRC632e2892015-10-19 18:58:41 -0700382
YPZhang77badfc2016-03-09 10:28:59 -0800383 utilities.assert_equals( expect=main.TRUE,
384 actual=stepResult,
385 onpass="Successfully bring down node 3",
386 onfail="Failed to bring down node 3" )
GlennRC632e2892015-10-19 18:58:41 -0700387
GlennRC475f50d2015-10-23 15:01:09 -0700388 def CASE200( self, main ):
GlennRC632e2892015-10-19 18:58:41 -0700389 '''
GlennRC475f50d2015-10-23 15:01:09 -0700390 Bring up onos node and balance masters
GlennRC632e2892015-10-19 18:58:41 -0700391 '''
GlennRC475f50d2015-10-23 15:01:09 -0700392
GlennRC90d43952015-10-27 11:36:15 -0700393 main.case("Bring ONOS node 3 up and balance masters: TORUS %sx%s" % (main.currScale, main.currScale))
GlennRC475f50d2015-10-23 15:01:09 -0700394 main.caseExplanation = "Bring node 3 back up and balance the masters"
GlennRC632e2892015-10-19 18:58:41 -0700395
396 node = main.deadNode + 1
GlennRC632e2892015-10-19 18:58:41 -0700397 main.log.info( "Starting node %s" % node )
GlennRC475f50d2015-10-23 15:01:09 -0700398 stepResult = main.ONOSbench.onosStart( main.ONOSip[ main.deadNode ] )
GlennRC632e2892015-10-19 18:58:41 -0700399 main.log.info( "Starting onos cli" )
GlennRC475f50d2015-10-23 15:01:09 -0700400 stepResult = stepResult and main.CLIs[ main.deadNode ].startOnosCli( main.ONOSip[ main.deadNode ] )
GlennRC632e2892015-10-19 18:58:41 -0700401
GlennRC475f50d2015-10-23 15:01:09 -0700402 main.log.info( "Adding previously dead node to list of active nodes" )
GlennRC632e2892015-10-19 18:58:41 -0700403 main.activeNodes.append( main.deadNode )
404
GlennRC632e2892015-10-19 18:58:41 -0700405 utilities.assert_equals( expect=main.TRUE,
406 actual=stepResult,
407 onpass="Successfully brought up onos node %s" % node,
408 onfail="Failed to bring up onos node %s" % node )
409
410
GlennRCe283c4b2016-01-07 13:04:10 -0800411 time.sleep(main.nodeSleep)
412
413 def CASE300( self, main ):
414 '''
415
416 Balancing Masters
417 '''
YPZhang85024fc2016-02-09 16:59:27 -0800418 time.sleep(main.balanceSleep)
GlennRC475f50d2015-10-23 15:01:09 -0700419 main.step( "Balancing Masters" )
GlennRCe283c4b2016-01-07 13:04:10 -0800420
GlennRC475f50d2015-10-23 15:01:09 -0700421 stepResult = main.FALSE
422 if main.activeNodes:
423 controller = main.activeNodes[0]
YPZhang924ccfe2016-01-26 14:17:30 -0800424 stepResult = utilities.retry( main.CLIs[controller].balanceMasters,
425 main.FALSE,
426 [],
427 sleep=3,
428 attempts=3 )
429
GlennRCe283c4b2016-01-07 13:04:10 -0800430 else:
431 main.log.error( "List of active nodes is empty" )
GlennRC475f50d2015-10-23 15:01:09 -0700432 utilities.assert_equals( expect=main.TRUE,
433 actual=stepResult,
434 onpass="Balance masters was successfull",
435 onfail="Failed to balance masters")
GlennRC475f50d2015-10-23 15:01:09 -0700436 time.sleep(main.balanceSleep)
437
GlennRC632e2892015-10-19 18:58:41 -0700438 def CASE1000( self, main ):
kelvin-onlab1d381fe2015-07-14 16:24:56 -0700439 '''
440 Report errors/warnings/exceptions
441 '''
GlennRC475f50d2015-10-23 15:01:09 -0700442 main.case( "Checking logs for errors, warnings, and exceptions" )
kelvin-onlab1d381fe2015-07-14 16:24:56 -0700443 main.log.info("Error report: \n" )
444 main.ONOSbench.logReport( main.ONOSip[ 0 ],
GlennRC475f50d2015-10-23 15:01:09 -0700445 [ "INFO",
446 "FOLLOWER",
447 "WARN",
448 "flow",
449 "ERROR",
450 "Except" ],
451 "s" )