blob: 612b4fa38af49bf4a0fbbd9e09f6062f3c5fb2b0 [file] [log] [blame]
A.R Karthick8fa7c362016-10-19 19:51:35 -07001*** Settings ***
2Documentation Run Cord verification test cases
A.R Karthickc3eb12b2016-10-20 17:39:47 -07003Resource cord_resource.robot
A.R Karthick8fa7c362016-10-19 19:51:35 -07004Suite Setup Cord Setup
5Suite Teardown Cord Teardown
A.R Karthick8fa7c362016-10-19 19:51:35 -07006
7*** Test Cases ***
8Verify 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
ChetanGaonker307d0062016-11-03 12:56:09 -070013Verify 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
18Verify 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
23Verify 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
28Verify 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
33Verify 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
38Verify ONOS DHCP Relay Functionality 1
A.R Karthick8fa7c362016-10-19 19:51:35 -070039 [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
ChetanGaonker307d0062016-11-03 12:56:09 -070043Verify 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
48Verify 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
53Verify 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
58Verify ONOS AAA Functionality 1
A.R Karthick8fa7c362016-10-19 19:51:35 -070059 [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
ChetanGaonker307d0062016-11-03 12:56:09 -070063Verify 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
68Verify 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
73Verify 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
A R Karthickefa2bd32016-12-16 10:51:26 -080075 ${rc}= Run Cord Tester tls:eap_auth_exchange.test_eap_tls_with_aaa_app_deactivation
ChetanGaonker307d0062016-11-03 12:56:09 -070076 Should Be Equal As Integers ${rc} 0
77
78Verify 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
83Verify ONOS IGMP Functionality 1
A.R Karthick8fa7c362016-10-19 19:51:35 -070084 [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
ChetanGaonker307d0062016-11-03 12:56:09 -070088Verify 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
93Verify 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
98Verify 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
103Verify 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
108Verify ONOS CORDd SUBSCRIBER Functionality 1
A.R Karthick8fa7c362016-10-19 19:51:35 -0700109 [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
ChetanGaonker307d0062016-11-03 12:56:09 -0700113Verify 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
118Verify 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
123Verify 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
128Verify ONOS VROUTER Functionality 1
A.R Karthick8fa7c362016-10-19 19:51:35 -0700129 [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
ChetanGaonker307d0062016-11-03 12:56:09 -0700132
133Verify 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
138Verify 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
143Verify 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
148Verify 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
153Verify 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
158Verify 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