A.R Karthick | 8fa7c36 | 2016-10-19 19:51:35 -0700 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Run Cord verification test cases |
A.R Karthick | c3eb12b | 2016-10-20 17:39:47 -0700 | [diff] [blame] | 3 | Resource cord_resource.robot |
A.R Karthick | 8fa7c36 | 2016-10-19 19:51:35 -0700 | [diff] [blame] | 4 | Suite Setup Cord Setup |
| 5 | Suite Teardown Cord Teardown |
A.R Karthick | 8fa7c36 | 2016-10-19 19:51:35 -0700 | [diff] [blame] | 6 | |
| 7 | *** Test Cases *** |
| 8 | Verify Onos DHCP Server Functionality |
| 9 | [Documentation] Make a DHCP request to ONOS to get an IP |
| 10 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_1request |
| 11 | Should Be Equal As Integers ${rc} 0 |
| 12 | |
ChetanGaonker | 307d006 | 2016-11-03 12:56:09 -0700 | [diff] [blame] | 13 | Verify ONOS DHCP Server Functionality 1 |
| 14 | [Documentation] Make a DHCP release to ONOS to release the dhcp IP |
| 15 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_1release |
| 16 | Should Be Equal As Integers ${rc} 0 |
| 17 | |
| 18 | Verify ONOS DHCP Server Functionality 2 |
| 19 | [Documentation] Make a DHCP request to ONOS to get desired dhcp IP |
| 20 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_desired_address |
| 21 | Should Be Equal As Integers ${rc} 0 |
| 22 | |
| 23 | Verify ONOS FLOWS Functionality 1 |
| 24 | [Documentation] Send a Mac flow request to ONOS to verify flow traffic |
| 25 | ${rc}= Run Cord Tester flows:flows_exchange.test_flow_mac |
| 26 | Should Be Equal As Integers ${rc} 0 |
| 27 | |
| 28 | Verify ONOS FLOWS Functionality 2 |
| 29 | [Documentation] Send a TCP flow request to ONOS to verify tcp flow traffic |
| 30 | ${rc}= Run Cord Tester flows:flows_exchange.test_flow_tcp_port |
| 31 | Should Be Equal As Integers ${rc} 0 |
| 32 | |
| 33 | Verify ONOS FLOWS Functionality 3 |
| 34 | [Documentation] Send a Ipv6 flow request to ONOS to verify Icmpv6 Echo request flow traffic |
| 35 | ${rc}= Run Cord Tester flows:flows_exchange.test_flow_icmpv6_EchoRequest |
| 36 | Should Be Equal As Integers ${rc} 0 |
| 37 | |
| 38 | Verify ONOS DHCP Relay Functionality 1 |
A.R Karthick | 8fa7c36 | 2016-10-19 19:51:35 -0700 | [diff] [blame] | 39 | [Documentation] Make a DHCP request to a relay server through ONOS to get an IP |
| 40 | ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_1request |
| 41 | Should Be Equal As Integers ${rc} 0 |
| 42 | |
ChetanGaonker | 307d006 | 2016-11-03 12:56:09 -0700 | [diff] [blame] | 43 | Verify ONOS DHCP Relay Functionality 2 |
| 44 | [Documentation] Make a DHCP request to a relay server through ONOS to get an IP |
| 45 | ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_starvation |
| 46 | Should Be Equal As Integers ${rc} 0 |
| 47 | |
| 48 | Verify ONOS DHCP Relay Functionality 3 |
| 49 | [Documentation] Make a DHCP request to a relay server through ONOS to get an IP with specifif lease time requested |
| 50 | ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_specific_lease_packet_in_dhcp_discover |
| 51 | Should Be Equal As Integers ${rc} 0 |
| 52 | |
| 53 | Verify ONOS DHCP Relay Functionality 4 |
| 54 | [Documentation] Make a DHCP request to a relay server through ONOS to get an IP from out of pool |
| 55 | ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_desired_address_out_of_pool |
| 56 | Should Be Equal As Integers ${rc} 0 |
| 57 | |
| 58 | Verify ONOS AAA Functionality 1 |
A.R Karthick | 8fa7c36 | 2016-10-19 19:51:35 -0700 | [diff] [blame] | 59 | [Documentation] Make a TLS client request to a RADIUS server through ONOS AAA application |
| 60 | ${rc}= Run Cord Tester tls:eap_auth_exchange.test_eap_tls |
| 61 | Should Be Equal As Integers ${rc} 0 |
| 62 | |
ChetanGaonker | 307d006 | 2016-11-03 12:56:09 -0700 | [diff] [blame] | 63 | Verify ONOS AAA Functionality 2 |
| 64 | [Documentation] Make a TLS client request to a RADIUS server through ONOS AAA application with invalid certificates |
| 65 | ${rc}= Run Cord Tester tls:eap_auth_exchange.test_eap_tls_with_invalid_cert |
| 66 | Should Be Equal As Integers ${rc} 0 |
| 67 | |
| 68 | Verify ONOS AAA Functionality 3 |
| 69 | [Documentation] Make a TLS client request to a RADIUS server through ONOS AAA application without sending client hello packet |
| 70 | ${rc}= Run Cord Tester tls:eap_auth_exchange.test_eap_tls_without_sending_client_hello |
| 71 | Should Be Equal As Integers ${rc} 0 |
| 72 | |
| 73 | Verify ONOS AAA Functionality 4 |
| 74 | [Documentation] Make a TLS client request to a RADIUS server through ONOS AAA application with disabling and re-enabling the app |
| 75 | ${rc}= Run Cord Tester tls:eap_auth_exchange.test_eap_tls_aaa_app_deactivate |
| 76 | Should Be Equal As Integers ${rc} 0 |
| 77 | |
| 78 | Verify ONOS AAA Functionality 5 |
| 79 | [Documentation] Make a TLS client request to a RADIUS server through ONOS AAA application with cleintkeyex replace with serverkeyex |
| 80 | ${rc}= Run Cord Tester tls:eap_auth_exchange.test_eap_tls_clientkeyex_replace_with_serverkeyex |
| 81 | Should Be Equal As Integers ${rc} 0 |
| 82 | |
| 83 | Verify ONOS IGMP Functionality 1 |
A.R Karthick | 8fa7c36 | 2016-10-19 19:51:35 -0700 | [diff] [blame] | 84 | [Documentation] Make a IGMP join leave request through ONOS IGMP snooping application |
| 85 | ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_join_verify_traffic |
| 86 | Should Be Equal As Integers ${rc} 0 |
| 87 | |
ChetanGaonker | 307d006 | 2016-11-03 12:56:09 -0700 | [diff] [blame] | 88 | Verify ONOS IGMP Functionality 2 |
| 89 | [Documentation] Test for igmp query packet from ONOS igmpsnooping application |
| 90 | ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_query |
| 91 | Should Be Equal As Integers ${rc} 0 |
| 92 | |
| 93 | Verify ONOS IGMP Functionality 3 |
| 94 | [Documentation] Test for igmp allow new source record type functionilty of ONOS igmpsnooping application |
| 95 | ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_allow_new_source_mode |
| 96 | Should Be Equal As Integers ${rc} 0 |
| 97 | |
| 98 | Verify ONOS IGMP Functionality 4 |
| 99 | [Documentation] Test for ONOS igmpsnooping functionality with app disable and re-enable |
| 100 | ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_toggling_app_activation |
| 101 | Should Be Equal As Integers ${rc} 0 |
| 102 | |
| 103 | Verify ONOS IGMP Functionality 5 |
| 104 | [Documentation] Test for ONOS igmpsnooping functionality by sending igmp data traffic without sending join |
| 105 | ${rc}= Run Cord Tester igmp:igmp_exchange.test_igmp_traffic_verification_for_registered_group_with_no_join_sent |
| 106 | Should Be Equal As Integers ${rc} 0 |
| 107 | |
| 108 | Verify ONOS CORDd SUBSCRIBER Functionality 1 |
A.R Karthick | 8fa7c36 | 2016-10-19 19:51:35 -0700 | [diff] [blame] | 109 | [Documentation] Simulate Channel Surfing experience |
| 110 | ${rc}= Run Cord Tester cordSubscriber:subscriber_exchange.test_cord_subscriber_join_jump |
| 111 | Should Be Equal As Integers ${rc} 0 |
| 112 | |
ChetanGaonker | 307d006 | 2016-11-03 12:56:09 -0700 | [diff] [blame] | 113 | Verify ONOS CORD SUBSCRIBER Functionality 2 |
| 114 | [Documentation] Simulate Cord subscriber join channel change |
| 115 | ${rc}= Run Cord Tester cordSubscriber:subscriber_exchange.test_cord_subscriber_join_next |
| 116 | Should Be Equal As Integers ${rc} 0 |
| 117 | |
| 118 | Verify ONOS CORD SUBSCRIBER Functionality 3 |
| 119 | [Documentation] Simulate Cord Subscriber Channel surfing for authentication with dhcp client rebind |
| 120 | ${rc}= Run Cord Tester cordSubscriber:subscriber_exchange.test_cord_subscriber_authentication_with_dhcp_client_rebind_and_channel_surfing |
| 121 | Should Be Equal As Integers ${rc} 0 |
| 122 | |
| 123 | Verify ONOS CORD SUBSCRIBER Functionality 4 |
| 124 | [Documentation] Simulate Cord Subscriber Authentication with and without certificates and channel surfing |
| 125 | ${rc}= Run Cord Tester cordSubscriber:subscriber_exchange.test_2_cord_subscribers_authentication_with_valid_and_no_certificates_and_channel_surfing |
| 126 | Should Be Equal As Integers ${rc} 0 |
| 127 | |
| 128 | Verify ONOS VROUTER Functionality 1 |
A.R Karthick | 8fa7c36 | 2016-10-19 19:51:35 -0700 | [diff] [blame] | 129 | [Documentation] Start Quagga container, connect it to ONOS before validating ONOS routing works |
| 130 | ${rc}= Run Cord Tester vrouter:vrouter_exchange.test_vrouter_with_5_routes |
| 131 | Should Be Equal As Integers ${rc} 0 |
ChetanGaonker | 307d006 | 2016-11-03 12:56:09 -0700 | [diff] [blame] | 132 | |
| 133 | Verify ONOS VROUTER Functionality 2 |
| 134 | [Documentation] Start Quagga container, connect it to ONOS before validating ONOS routing works |
| 135 | ${rc}= Run Cord Tester vrouter:vrouter_exchange.test_vrouter_with_6_routes_3_peers |
| 136 | Should Be Equal As Integers ${rc} 0 |
| 137 | |
| 138 | Verify ONOS VROUTER Functionality 3 |
| 139 | [Documentation] To verify vrouter functionality with dynamic addition or deletion of routes |
| 140 | ${rc}= Run Cord Tester vrouter:vrouter_exchange.test_vrouter_deleting_and_adding_routes_in_routing_table |
| 141 | Should Be Equal As Integers ${rc} 0 |
| 142 | |
| 143 | Verify ONOS VROUTER Functionality 4 |
| 144 | [Documentation] To verify vrouter functionality for classB duplicate route update |
| 145 | ${rc}= Run Cord Tester vrouter:vrouter_exchange.test_vrouter_with_classB_duplicate_route_update |
| 146 | Should Be Equal As Integers ${rc} 0 |
| 147 | |
| 148 | Verify ONOS PROXY-ARP Functionality 1 |
| 149 | [Documentation] Create a host in different subnet and arp to the host IP to test ONOS proxy-arp app |
| 150 | ${rc}= Run Cord Tester proxyarp:proxyarp_exchange.test_proxyarp_with_1_host |
| 151 | Should Be Equal As Integers ${rc} 0 |
| 152 | |
| 153 | Verify ONOS PROXY-ARP Functionality 2 |
| 154 | [Documentation] Test ONOS proxyarp app with disable and re-enable the app |
| 155 | ${rc}= Run Cord Tester proxyarp:proxyarp_exchange.test_proxyarp_app_with_disabling_and_re_enabling |
| 156 | Should Be Equal As Integers ${rc} 0 |
| 157 | |
| 158 | Verify ONOS PROXY-ARP Functionality 3 |
| 159 | [Documentation] Test ONOS proxyarp functionality with multiple hosts |
| 160 | ${rc}= Run Cord Tester proxyarp:proxyarp_exchange.test_proxyarp_concurrent_requests_with_multiple_host_and_different_interfaces |
| 161 | Should Be Equal As Integers ${rc} 0 |
| 162 | |