blob: e2a72d7818abb9b761da36460429ad74101b73d7 [file] [log] [blame]
A R Karthick51e6fd82016-11-22 14:39:19 -08001*** Settings ***
2Documentation Run Cord verification test cases for Cluster
3Resource cord_resource.robot
4Suite Setup Cord Cluster Setup
5Suite Teardown Cord Teardown
6
7*** Variables ***
8${NODES} 3
9${EXTRA_OPTS} -v
10
11*** Test Cases ***
A.R Karthick45ab3e12016-11-30 11:25:51 -080012Verify Onos Controllers Restart Functionality
A R Karthick51e6fd82016-11-22 14:39:19 -080013 [Documentation] Verify ONOS cluster by restarting controllers iteratively
14 ${rc}= Run Cord Tester cluster:cluster_exchange.test_cluster_controller_restarts
15 Should Be Equal As Integers ${rc} 0
16
A.R Karthick45ab3e12016-11-30 11:25:51 -080017Verify Onos Single Controller Restart Functionality
18 [Documentation] Verify ONOS cluster by restarting the same controller
19 ${rc}= Run Cord Tester cluster:cluster_exchange.test_cluster_single_controller_restarts
20 Should Be Equal As Integers ${rc} 0
21
A.R Karthick2560f042016-11-30 14:38:52 -080022Verify Onos Cluster Restart Functionality
23 [Documentation] Verify ONOS cluster by restarting the entire cluster
24 ${rc}= Run Cord Tester cluster:cluster_exchange.test_cluster_restarts
25 Should Be Equal As Integers ${rc} 0
26
A R Karthick51e6fd82016-11-22 14:39:19 -080027*** Keywords ***
28Cord Cluster Setup
29 [Documentation] Configure a ${NODES} node ONOS cluster for cord tester
30 ${output} Run sudo docker ps |grep cord-onos | tr -s ' ' | awk '{print $NF}' | xargs docker kill
31 Cord Setup