GlennRC | 0243c3f | 2015-11-24 13:25:38 -0800 | [diff] [blame] | 1 | SWITCH LATENCY |
| 2 | |
| 3 | Summary: This is a performance test suite to measure the time it takes ONOS |
| 4 | to recognize a switch going up and down. |
| 5 | |
| 6 | Pre-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 Hall | 53c5e66 | 2016-04-13 16:06:56 -0700 | [diff] [blame] | 8 | must be set from TestStation "sdn" root user. The 7 NODES must have |
GlennRC | 0243c3f | 2015-11-24 13:25:38 -0800 | [diff] [blame] | 9 | 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 | |
| 15 | NOTE: Only scale sizes 1,3,5 and 7 will be functional |
| 16 | |
| 17 | Modifying .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 | |
| 27 | Modifying .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 |