Kailash Khalasi | 80b8218 | 2015-06-26 22:58:40 +0000 | [diff] [blame] | 1 | This is a scale test find the max number of switches that can connect to one ONOS Controller. The test script does not create a cluster of nodes, but that can be easily implemented. |
| 2 | |
| 3 | Pre-conditions to running this test is Robot Framework + external robot libraries: |
| 4 | |
| 5 | pip install pybot |
| 6 | pip install robotframework-ride |
| 7 | pip install robotframework-requests |
| 8 | pip install robotframework-sshlibrary |
| 9 | pip install robotframework-httplibrary |
| 10 | pip install robotframework-archivelibrary |
Kailash Khalasi | 80b8218 | 2015-06-26 22:58:40 +0000 | [diff] [blame] | 11 | |
Kailash Khalasi | 4d7ba02 | 2015-06-30 03:11:14 +0000 | [diff] [blame^] | 12 | Also, you must have a "test cell" as this test leverages the bash scripts that are used to install the controller. |
| 13 | To override any variables used in the suite, you can do so from the command line. eg "-v ONOS_HOME:/opt/onos" |
Kailash Khalasi | 80b8218 | 2015-06-26 22:58:40 +0000 | [diff] [blame] | 14 | Usage eg. "pybot -v USER_HOME:/home/fedora -v ONOS_HOME:/opt/onos -v start:10 -v end:30 -v increments:10 ScalePOC.robot" |
| 15 | |
| 16 | After the test complete, three files will be generate from where you issued the "pybot" command. The "report.html" file will be your results! |