A R Karthick | 51e6fd8 | 2016-11-22 14:39:19 -0800 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Run Cord verification test cases for Cluster |
| 3 | Resource cord_resource.robot |
| 4 | Suite Setup Cord Cluster Setup |
| 5 | Suite Teardown Cord Teardown |
| 6 | |
| 7 | *** Variables *** |
| 8 | ${NODES} 3 |
| 9 | ${EXTRA_OPTS} -v |
| 10 | |
| 11 | *** Test Cases *** |
A.R Karthick | 45ab3e1 | 2016-11-30 11:25:51 -0800 | [diff] [blame] | 12 | Verify Onos Controllers Restart Functionality |
A R Karthick | 3b2e037 | 2016-12-14 17:37:43 -0800 | [diff] [blame] | 13 | [Documentation] Verify ONOS cluster by restarting controllers |
A R Karthick | 51e6fd8 | 2016-11-22 14:39:19 -0800 | [diff] [blame] | 14 | ${rc}= Run Cord Tester cluster:cluster_exchange.test_cluster_controller_restarts |
| 15 | Should Be Equal As Integers ${rc} 0 |
| 16 | |
A R Karthick | 3b2e037 | 2016-12-14 17:37:43 -0800 | [diff] [blame] | 17 | Verify Onos Controllers Graceful Restart Functionality |
| 18 | [Documentation] Verify ONOS cluster by restarting controllers gracefully |
| 19 | Cord Setup |
| 20 | ${rc}= Run Cord Tester cluster:cluster_exchange.test_cluster_graceful_controller_restarts |
| 21 | Should Be Equal As Integers ${rc} 0 |
| 22 | |
A.R Karthick | 45ab3e1 | 2016-11-30 11:25:51 -0800 | [diff] [blame] | 23 | Verify Onos Single Controller Restart Functionality |
| 24 | [Documentation] Verify ONOS cluster by restarting the same controller |
A R Karthick | 6c527a0 | 2016-12-01 14:37:42 -0800 | [diff] [blame] | 25 | Cord Setup |
A.R Karthick | 45ab3e1 | 2016-11-30 11:25:51 -0800 | [diff] [blame] | 26 | ${rc}= Run Cord Tester cluster:cluster_exchange.test_cluster_single_controller_restarts |
| 27 | Should Be Equal As Integers ${rc} 0 |
| 28 | |
A.R Karthick | 2560f04 | 2016-11-30 14:38:52 -0800 | [diff] [blame] | 29 | Verify Onos Cluster Restart Functionality |
| 30 | [Documentation] Verify ONOS cluster by restarting the entire cluster |
A R Karthick | 6c527a0 | 2016-12-01 14:37:42 -0800 | [diff] [blame] | 31 | Cord Setup |
A.R Karthick | 2560f04 | 2016-11-30 14:38:52 -0800 | [diff] [blame] | 32 | ${rc}= Run Cord Tester cluster:cluster_exchange.test_cluster_restarts |
| 33 | Should Be Equal As Integers ${rc} 0 |
| 34 | |
A R Karthick | 51e6fd8 | 2016-11-22 14:39:19 -0800 | [diff] [blame] | 35 | *** Keywords *** |
| 36 | Cord Cluster Setup |
| 37 | [Documentation] Configure a ${NODES} node ONOS cluster for cord tester |
| 38 | ${output} Run sudo docker ps |grep cord-onos | tr -s ' ' | awk '{print $NF}' | xargs docker kill |
| 39 | Cord Setup |