blob: 1e8720acb285923e331b9dbb0709a0335acf35f6 [file] [log] [blame]
GlennRC0243c3f2015-11-24 13:25:38 -08001CHO TEST
2
3Summary:
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
21Topology:
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
28Pre-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 Hall53c5e662016-04-13 16:06:56 -070034 Passwordless login must be set from TestStation "sdn" root user.
GlennRC0243c3f2015-11-24 13:25:38 -080035 This test relies on the topology files to start Mininet located in
Jon Hall53c5e662016-04-13 16:06:56 -070036 the dependencies folder. Be sure to check that each topology file can
GlennRC0243c3f2015-11-24 13:25:38 -080037 be loaded properly by Mininet by using this command:
38
Jon Hall53c5e662016-04-13 16:06:56 -070039 sudo ~/<dependencies path>/<topology name>
GlennRC0243c3f2015-11-24 13:25:38 -080040