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