blob: fe1d2fdae2014dce5244a0df5660775dd6fef6e9 [file] [log] [blame]
A.R Karthickc3eb12b2016-10-20 17:39:47 -07001*** 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
A R Karthick51e6fd82016-11-22 14:39:19 -08009${EXTRA_OPTS} -v
A.R Karthickc3eb12b2016-10-20 17:39:47 -070010
11*** Test Cases ***
12Verify Onos DHCP Server Functionality
13 [Documentation] Make a DHCP request to ONOS to get an IP
14 ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_1request
15 Should Be Equal As Integers ${rc} 0
16
17Verify ONOS DHCP Relay Server Functionality
18 [Documentation] Make a DHCP request to a relay server through ONOS to get an IP
19 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_1request
20 Should Be Equal As Integers ${rc} 0
21
22Verify Onos AAA Functionality
23 [Documentation] Make a TLS client request to a RADIUS server through ONOS AAA application
24 ${rc}= Run Cord Tester tls:eap_auth_exchange.test_eap_tls
25 Should Be Equal As Integers ${rc} 0
26
27Verify Onos IGMP Functionality
28 [Documentation] Make a IGMP join leave request through ONOS IGMP snooping application
29 ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_join_verify_traffic
30 Should Be Equal As Integers ${rc} 0
31
32Verify Cord SUBSCRIBER Functionality
33 [Documentation] Simulate Channel Surfing experience
34 ${rc}= Run Cord Tester cordSubscriber:subscriber_exchange.test_cord_subscriber_join_jump
35 Should Be Equal As Integers ${rc} 0
36
37Verify Cord VROUTER Functionality
38 [Documentation] Start Quagga container, connect it to ONOS before validating ONOS routing works
39 ${rc}= Run Cord Tester vrouter:vrouter_exchange.test_vrouter_with_5_routes
40 Should Be Equal As Integers ${rc} 0
41
42*** Keywords ***
43Cord Cluster Setup
44 [Documentation] Configure a ${NODES} node ONOS cluster for cord tester
45 ${output} Run sudo docker ps |grep cord-onos | tr -s ' ' | awk '{print $NF}' | xargs docker kill
46 Cord Setup