A.R Karthick | c3eb12b | 2016-10-20 17:39:47 -0700 | [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 | |
| 10 | *** Test Cases *** |
| 11 | Verify 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 | |
| 16 | Verify 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 | |
| 21 | Verify 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 | |
| 26 | Verify 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 | |
| 31 | Verify 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 | |
| 36 | Verify 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 *** |
| 42 | Cord 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 |