blob: dfc0f42778127e2d01b8dd0777055ac8bd0bcd72 [file] [log] [blame]
GlennRC0243c3f2015-11-24 13:25:38 -08001SWITCH LATENCY
2
3Summary: This is a performance test suite to measure the time it takes ONOS
4 to recognize a switch going up and down.
5
6Pre-requisites: To run out-of-the box this test requires 7 NODES.
7 OC1->OC7 must be set before initiating the test. Passwordless login
Jon Hall53c5e662016-04-13 16:06:56 -07008 must be set from TestStation "sdn" root user. The 7 NODES must have
GlennRC0243c3f2015-11-24 13:25:38 -08009 their clocks synced to TestStation via ptpd and be accurate to the
10 millisecond. You will also need the Wireshark disector to see openflow packets.
11
12*** If you wish to run this test with less than 7 nodes the following
13 alterations must be made:
14
15NOTE: Only scale sizes 1,3,5 and 7 will be functional
16
17Modifying .params file:
18-- Remove any values in the comma separated list in the
19 <scale> tag that are above your desired cluster size.
20
21-- Remove one instance of 1,2 from the <testcases> tag for each
22 value you removed from <scale> (case 1 and 2 are each called once
23 for each scale value)
24
25-- Change the value in the <max> tag to your desired scale size (1,3,5)
26
27Modifying .topo file:
28-- Change the <ONOSbench/COMPONENTS/nodes> tag to your
29 desired scale size
30
31-- Remove all unneeded <ONOS#cli> tags and their contents