blob: bcf0088be95c9d1510cf446ebcaceb5e1b42eab1 [file] [log] [blame]
Jon Hallb5488012017-06-21 14:08:36 -07001This test is designed to verify that an ONOS cluster behaves correctly when some
2ONOS nodes are stopped. Currently, we will stop nodes so that each raft partition will
3lose a member, but we make sure that there is always a majority of nodes
4available in each partition.
5
6As written, the test only supports an ONOS cluster of 3,5, or 7 nodes.
7This is because the test doesn't apply to a single node cluster, ONOS clusters
8should be deployed in odd numbers, and the partition generation and node
9killing scheme used doesn't give the same properties for clusters of more
10than 7 nodes. Namely, each partition won't have exactly one node killed.
11
12This test will repeat killing a single node then recovering multiple times.
13
14The gerneral structure for the test:
15- Startup
16- Assign switches
17- Verify ONOS state and functionality
18 - Device mastership
19 - Intents
20 - Leadership election
21 - Distributed Primitives
22- Stop some ONOS nodes
23- Verify ONOS state and functionality
24- Restart nodes
25- Verify ONOS state and functionality
26- Dataplane failures
27 - link down and up
28 - switch down and up