blob: b3ffbfa1b90837930be8ba84b6540d4f64f55816 [file] [log] [blame]
Jon Halla478b852017-12-04 15:00:15 -08001This test is designed to verify that an ONOS cluster behaves correctly when some
2ONOS nodes are upgrade. Then test will initilize the upgrade then stop, upgrade,
3and restart a minority of the nodes in the cluster. Then we will start the first
4phase of the upgrade process to transfer to the new version. Then we will upgrade
5and restart the rest of the cluster. After that the test will verify everything
6works and commit the upgrade.
7
8As written, the test only supports an ONOS cluster of 3, 5, or 7 nodes.
9This is because the test doesn't apply to a single node cluster and ONOS clusters
10should be deployed in odd numbers.
11
12The gerneral structure for the test:
13- Startup
14- Assign switches
15- Verify ONOS state and functionality
16 - Device mastership
17 - Intents
18 - Leadership election
19 - Distributed Primitives
20- Initialize an upgrade
21- Upgrade some ONOS nodes
22- Verify ONOS state and functionality
23- Transfer to new version
24- Upgrade the rest of the nodes
25- Verify ONOS state and functionality
26- Commit the upgrade
27- Dataplane failures
28 - link down and up
29 - switch down and up