blob: d6c57d46047ff7931a9a9e9b2e16accb05b6ce0e [file] [log] [blame]
ChetanGaonkerb2118652016-11-10 16:46:23 -08001***settings ***
2Documentation Run Cord verification test cases
3Resource cord_resource.robot
4Suite Setup Cord Setup
5Suite Teardown Cord Teardown
6
7*** Test Cases ***
8
9Verify ONOS DHCPRelay Functionality 1
10 [Documentation] Test ONOS DHCPRelay Application for one client
11 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_1request
12 Should Be Equal As Integers ${rc} 0
13
14Verify ONOS DHCPRelay Functionality 2
15 [Documentation] Test ONOS DHCPRelay Application for multiple clients
16 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_Nrequest
17 Should Be Equal As Integers ${rc} 0
18
19Verify ONOS DHCPRelay Functionality 3
20 [Documentation] Test ONOS DHCPRelay Application for dhcp release for one client
21 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_1release
22 Should Be Equal As Integers ${rc} 0
23
24Verify ONOS DHCPRelay Functionality 4
25 [Documentation] Test ONOS DHCPRelay Application for dhcp release for multiple clients
26 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_Nrelease
27 Should Be Equal As Integers ${rc} 0
28
29Verify ONOS DHCPRelay Functionality 5
30 [Documentation] Test ONOS DHCPRelay Application for dhcp starvation
31 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_starvation
32 Should Be Equal As Integers ${rc} 0
33
34Verify ONOS DHCPRelay Functionality 6
35 [Documentation] Test ONOS DHCPRelay Application same client sends multiple discovers
36 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_same_client_multiple_discover
37 Should Be Equal As Integers ${rc} 0
38
39Verify ONOS DHCPRelay Functionality 7
40 [Documentation] Test ONOS DHCPRelay Application same client sends multiple dhcp requests
41 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_same_client_multiple_request
42 Should Be Equal As Integers ${rc} 0
43
44Verify ONOS DHCPRelay Functionality 8
45 [Documentation] Test ONOS DHCPRelay Application client requests for desired IP
46 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_desired_address
47 Should Be Equal As Integers ${rc} 0
48
49Verify ONOS DHCPRelay Functionality 9
50 [Documentation] Test ONOS DHCPRelay Application client request for desired IP from out of pool
51 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_desired_address_out_of_pool
52 Should Be Equal As Integers ${rc} 0
53
54Verify ONOS DHCPRelay Functionality 10
55 [Documentation] Test ONOS DHCPRelay Application for dhcp nak packet
56 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_nak_packet
57 Should Be Equal As Integers ${rc} 0
58
59Verify ONOS DHCPRelay Functionality 11
60 [Documentation] Test ONOS DHCPRelay Application client requests IP for specific lease time
61 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_specific_lease_packet
62 Should Be Equal As Integers ${rc} 0
63
64Verify ONOS DHCPRelay Functionality 12
65 [Documentation] Test ONOS DHCPRelay Application clients sends dhcp requests after reboot
66 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_request_after_reboot
67 Should Be Equal As Integers ${rc} 0
68
69Verify ONOS DHCPRelay Functionality 13
70 [Documentation] Test ONOS DHCPRelay Application when dhcp server reboots
71 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_after_reboot
72 Should Be Equal As Integers ${rc} 0
73
74Verify ONOS DHCPRelay Functionality 14
75 [Documentation] Test ONOS DHCPRelay Application for specific lease in client discover packet
76 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_specific_lease_packet_in_dhcp_discover
77 Should Be Equal As Integers ${rc} 0
78
79Verify ONOS DHCPRelay Functionality 15
80 [Documentation] Test ONOS DHCPRelay Application for default lease time in server offered packet
81 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_default_lease_time
82 Should Be Equal As Integers ${rc} 0
83
84Verify ONOS DHCPRelay Functionality 16
85 [Documentation] Test ONOS DHCPRelay Application for client renew time in server offered packet
86 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_renew_time
87 Should Be Equal As Integers ${rc} 0
88
89Verify ONOS DHCPRelay Functionality 17
90 [Documentation] Test ONOS DHCPRelay Application for clients rebind time in server offered packet
91 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_rebind_time
92 Should Be Equal As Integers ${rc} 0
93
94Verify ONOS DHCPRelay Functionality 18
95 [Documentation] Test ONOS DHCPRelay Application for subnet mask in server offered packet
96 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_expected_subnet_mask
97 Should Be Equal As Integers ${rc} 0
98
99Verify ONOS DHCPRelay Functionality 19
100 [Documentation] Test ONOS DHCPRelay Application clients sends requests with wrong subnet mask
101 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_sends_dhcp_request_with_wrong_subnet_mask
102 Should Be Equal As Integers ${rc} 0
103
104Verify ONOS DHCPRelay Functionality 20
105 [Documentation] Test ONOS DHCPRelay Application for router address in server offered packet
106 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_expected_router_address
107 Should Be Equal As Integers ${rc} 0
108
109Verify ONOS DHCPRelay Functionality 21
110 [Documentation] Test ONOS DHCPRelay Application when client sends dhcp requests with wrong router address
111 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_sends_dhcp_request_with_wrong_router_address
112 Should Be Equal As Integers ${rc} 0
113
114Verify ONOS DHCPRelay Functionality 22
115 [Documentation] Test ONOS DHCPRelay Application for broadcast address in server offered packet
116 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_expected_broadcast_address
117 Should Be Equal As Integers ${rc} 0
118
119Verify ONOS DHCPRelay Functionality 23
120 [Documentation] Test ONOS DHCPRelay Application when client sends requests to wrong broadcast address
121 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_sends_dhcp_request_with_wrong_broadcast_address
122 Should Be Equal As Integers ${rc} 0
123
124Verify ONOS DHCPRelay Functionality 22
125 [Documentation] Test ONOS DHCPRelay Application for DNS IP received in server offered packet
126 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_expected_dns_address
127 Should Be Equal As Integers ${rc} 0
128
129Verify ONOS DHCPRelay Functionality 23
130 [Documentation] Test ONOS DHCPRelay Application when client sends dhcp requests with wrongs dns IP
131 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_sends_request_with_wrong_dns_address
132 Should Be Equal As Integers ${rc} 0
133
134Verify ONOS DHCPRelay Functionality 24
135 [Documentation] Test ONOS DHCPRelay Application to calculate transactions per second
136 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_transactions_per_second
137 Should Be Equal As Integers ${rc} 0
138
139Verify ONOS DHCPRelay Functionality 25
140 [Documentation] Test ONOS DHCPRelay Application to calculate consecutive successes per second
141 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_consecutive_successes_per_second
142 Should Be Equal As Integers ${rc} 0
143
144Verify ONOS DHCPRelay Functionality 26
145 [Documentation] Test ONOS DHCPRelay Application for number of clients per second
146 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_clients_per_second
147 Should Be Equal As Integers ${rc} 0
148
149Verify ONOS DHCPRelay Functionality 27
150 [Documentation] Test ONOS DHCPRelay Application to clculate number of consecutive successive clients per second
151 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_consecutive_successful_clients_per_second
152 Should Be Equal As Integers ${rc} 0
153
154Verify ONOS DHCPRelay Functionality 28
155 [Documentation] Test ONOS DHCPRelay Application to calculate concurrent transactions per second
156 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_concurrent_transactions_per_second
157 Should Be Equal As Integers ${rc} 0
158
159Verify ONOS DHCPRelay Functionality 29
160 [Documentation] Test ONOS DHCPRelay Application to calculate concurrent consecutive successes per second
161 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_concurrent_consecutive_successes_per_second
162 Should Be Equal As Integers ${rc} 0
163
164Verify ONOS DHCPRelay Functionality 30
165 [Documentation] Test ONOS DHCPRelay Application to calculate clients per second
166 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_concurrent_clients_per_second
167 Should Be Equal As Integers ${rc} 0
168
169Verify ONOS DHCPRelay Functionality 31
170 [Documentation] Test ONOS DHCPRelay Application for dhcp inform packet
171 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_inform_packet
172 Should Be Equal As Integers ${rc} 0
173
174Verify ONOS DHCPRelay Functionality 32
175 [Documentation] Test ONOS DHCPRelay Application when clients conflict happens
176 ${rc}= Run Cord Tester dhcprelay:dhcprelay_exchange.test_dhcpRelay_client_conflict
177 Should Be Equal As Integers ${rc} 0
178