GlennRC | 0243c3f | 2015-11-24 13:25:38 -0800 | [diff] [blame] | 1 | CHO TEST |
| 2 | |
| 3 | Summary: |
| 4 | This is a long-term regression test that is aimed to run |
| 5 | for weeks at a time. It's goal is to find memory leaks or bugs that |
| 6 | otherwise cannot be easily seen with short-term tests. The following |
| 7 | is an overview of the steps that are performed in this test. |
| 8 | Steps: |
| 9 | - Discover IPv4 and IPv6 hosts |
| 10 | - Add host intents |
| 11 | - Ping all hosts |
| 12 | - Bring links down |
| 13 | - Ping all hosts |
| 14 | - Bring links back up |
| 15 | - Ping all hosts |
| 16 | - remove intents |
| 17 | |
| 18 | These steps are iterated over and over again. The number of iterations can |
| 19 | be found in the params file. |
| 20 | |
| 21 | Topology: |
| 22 | Att topology - 25 switches and 25 hosts and its structure is designed to simulate |
| 23 | a real world configuration, |
| 24 | Chordal topology - 25 swithces and 25 hosts and because of its chordal graph structure, |
| 25 | it's particulary useful in testing the rerouting capability of ONOS. |
| 26 | Leaf-spine topology - 78 switches and 68 hosts and designed to simulate modern data centers. |
| 27 | |
| 28 | Pre-requisites: |
| 29 | To run out-of-the box this test requires 3 NODES. The cell file |
| 30 | must be passed through the startup test command, e.g., |
| 31 | |
| 32 | ./cli.py run CHOtest onoscell <cell name>. |
| 33 | |
Jon Hall | 53c5e66 | 2016-04-13 16:06:56 -0700 | [diff] [blame] | 34 | Passwordless login must be set from TestStation "sdn" root user. |
GlennRC | 0243c3f | 2015-11-24 13:25:38 -0800 | [diff] [blame] | 35 | This test relies on the topology files to start Mininet located in |
Jon Hall | 53c5e66 | 2016-04-13 16:06:56 -0700 | [diff] [blame] | 36 | the dependencies folder. Be sure to check that each topology file can |
GlennRC | 0243c3f | 2015-11-24 13:25:38 -0800 | [diff] [blame] | 37 | be loaded properly by Mininet by using this command: |
| 38 | |
Jon Hall | 53c5e66 | 2016-04-13 16:06:56 -0700 | [diff] [blame] | 39 | sudo ~/<dependencies path>/<topology name> |
GlennRC | 0243c3f | 2015-11-24 13:25:38 -0800 | [diff] [blame] | 40 | |