ChetanGaonker | 73cfcee | 2016-11-16 19:28:50 -0800 | [diff] [blame] | 1 | ***settings *** |
| 2 | Documentation Run Cord verification test cases |
| 3 | Resource cord_resource.robot |
| 4 | Suite Setup Cord Setup |
| 5 | Suite Teardown Cord Teardown |
| 6 | |
| 7 | *** Test Cases *** |
| 8 | |
| 9 | Verify ONOS DHCP Functionality 1 |
| 10 | [Documentation] Test ONOS DHCP Application for one client |
| 11 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_1request |
| 12 | Should Be Equal As Integers ${rc} 0 |
| 13 | |
| 14 | Verify ONOS DHCP Functionality 2 |
| 15 | [Documentation] Test ONOS DHCP Application for multiple clients |
| 16 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_Nrequest |
| 17 | Should Be Equal As Integers ${rc} 0 |
| 18 | |
| 19 | Verify ONOS DHCP Functionality 3 |
| 20 | [Documentation] Test ONOS DHCP Application for dhcp release for one client |
| 21 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_1release |
| 22 | Should Be Equal As Integers ${rc} 0 |
| 23 | |
| 24 | Verify ONOS DHCP Functionality 4 |
| 25 | [Documentation] Test ONOS DHCP Application for dhcp release for multiple clients |
| 26 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_Nrelease |
| 27 | Should Be Equal As Integers ${rc} 0 |
| 28 | |
| 29 | Verify ONOS DHCP Functionality 5 |
| 30 | [Documentation] Test ONOS DHCP Application for dhcp starvation |
| 31 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_starvation |
| 32 | Should Be Equal As Integers ${rc} 0 |
| 33 | |
| 34 | Verify ONOS DHCP Functionality 6 |
| 35 | [Documentation] Test ONOS DHCP Application same client sends multiple discovers |
| 36 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_same_client_multiple_discover |
| 37 | Should Be Equal As Integers ${rc} 0 |
| 38 | |
| 39 | Verify ONOS DHCP Functionality 7 |
| 40 | [Documentation] Test ONOS DHCP Application same client sends multiple dhcp requests |
| 41 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_same_client_multiple_request |
| 42 | Should Be Equal As Integers ${rc} 0 |
| 43 | |
| 44 | Verify ONOS DHCP Functionality 8 |
| 45 | [Documentation] Test ONOS DHCP Application client requests for desired IP |
| 46 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_desired_address |
| 47 | Should Be Equal As Integers ${rc} 0 |
| 48 | |
| 49 | Verify ONOS DHCP Functionality 9 |
| 50 | [Documentation] Test ONOS DHCP Application client request for desired IP from out of pool |
| 51 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_desired_address_out_of_pool |
| 52 | Should Be Equal As Integers ${rc} 0 |
| 53 | |
| 54 | Verify ONOS DHCP Functionality 10 |
| 55 | [Documentation] Test ONOS DHCP Application for dhcp nak packet |
| 56 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_server_nak_packet |
| 57 | Should Be Equal As Integers ${rc} 0 |
| 58 | |
| 59 | Verify ONOS DHCP Functionality 11 |
| 60 | [Documentation] Test ONOS DHCP Application client requests IP for specific lease time |
| 61 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_lease_packet |
| 62 | Should Be Equal As Integers ${rc} 0 |
| 63 | |
| 64 | Verify ONOS DHCP Functionality 12 |
| 65 | [Documentation] Test ONOS DHCP Application clients sends dhcp requests after reboot |
| 66 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_request_after_reboot |
| 67 | Should Be Equal As Integers ${rc} 0 |
| 68 | |
| 69 | Verify ONOS DHCP Functionality 13 |
| 70 | [Documentation] Test ONOS DHCP Application when dhcp server reboots |
| 71 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_server_after_reboot |
| 72 | Should Be Equal As Integers ${rc} 0 |
| 73 | |
| 74 | Verify ONOS DHCP Functionality 14 |
| 75 | [Documentation] Test ONOS DHCP Application for specific lease in client discover packet |
| 76 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_specific_lease_packet |
| 77 | Should Be Equal As Integers ${rc} 0 |
| 78 | |
| 79 | Verify ONOS DHCP Functionality 15 |
| 80 | [Documentation] Test ONOS DHCP Application for default lease time in server offered packet |
| 81 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_lease_packet |
| 82 | Should Be Equal As Integers ${rc} 0 |
| 83 | |
| 84 | Verify ONOS DHCP Functionality 16 |
| 85 | [Documentation] Test ONOS DHCP Application for client renew time in server offered packet |
| 86 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_renew_time |
| 87 | Should Be Equal As Integers ${rc} 0 |
| 88 | |
| 89 | Verify ONOS DHCP Functionality 17 |
| 90 | [Documentation] Test ONOS DHCP Application for clients rebind time in server offered packet |
| 91 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_rebind_time |
| 92 | Should Be Equal As Integers ${rc} 0 |
| 93 | |
| 94 | Verify ONOS DHCP Functionality 18 |
| 95 | [Documentation] Test ONOS DHCP Application for subnet mask in server offered packet |
| 96 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_expected_subnet_mask |
| 97 | Should Be Equal As Integers ${rc} 0 |
| 98 | |
| 99 | Verify ONOS DHCP Functionality 19 |
| 100 | [Documentation] Test ONOS DHCP Application clients sends requests with wrong subnet mask |
| 101 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_sends_dhcp_request_with_wrong_subnet_mask |
| 102 | Should Be Equal As Integers ${rc} 0 |
| 103 | |
| 104 | Verify ONOS DHCP Functionality 20 |
| 105 | [Documentation] Test ONOS DHCP Application for router address in server offered packet |
| 106 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_expected_router_address |
| 107 | Should Be Equal As Integers ${rc} 0 |
| 108 | |
| 109 | Verify ONOS DHCP Functionality 21 |
| 110 | [Documentation] Test ONOS DHCP Application when client sends dhcp requests with wrong router address |
| 111 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_sends_dhcp_request_with_wrong_router_address |
| 112 | Should Be Equal As Integers ${rc} 0 |
| 113 | |
| 114 | Verify ONOS DHCP Functionality 22 |
| 115 | [Documentation] Test ONOS DHCP Application for broadcast address in server offered packet |
| 116 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_expected_broadcast_address |
| 117 | Should Be Equal As Integers ${rc} 0 |
| 118 | |
| 119 | Verify ONOS DHCP Functionality 23 |
| 120 | [Documentation] Test ONOS DHCP Application when client sends requests to wrong broadcast address |
| 121 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_sends_dhcp_request_with_wrong_broadcast_address |
| 122 | Should Be Equal As Integers ${rc} 0 |
| 123 | |
| 124 | Verify ONOS DHCP Functionality 24 |
| 125 | [Documentation] Test ONOS DHCP Application for DNS IP received in server offered packet |
| 126 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_expected_dns_address |
| 127 | Should Be Equal As Integers ${rc} 0 |
| 128 | |
| 129 | Verify ONOS DHCP Functionality 25 |
| 130 | [Documentation] Test ONOS DHCP Application when client sends dhcp requests with wrongs dns IP |
| 131 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_client_sends_request_with_wrong_dns_address |
| 132 | Should Be Equal As Integers ${rc} 0 |
| 133 | |
| 134 | Verify ONOS DHCP Functionality 26 |
| 135 | [Documentation] Test ONOS DHCP Application to calculate transactions per second |
| 136 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_server_transactions_per_second |
| 137 | Should Be Equal As Integers ${rc} 0 |
| 138 | |
| 139 | Verify ONOS DHCP Functionality 27 |
| 140 | [Documentation] Test ONOS DHCP Application to calculate consecutive successes per second |
| 141 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_server_consecutive_successes_per_second |
| 142 | Should Be Equal As Integers ${rc} 0 |
| 143 | |
| 144 | Verify ONOS DHCP Functionality 28 |
| 145 | [Documentation] Test ONOS DHCP Application for number of clients per second |
| 146 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_server_client_transactions_per_second |
| 147 | Should Be Equal As Integers ${rc} 0 |
| 148 | |
| 149 | Verify ONOS DHCP Functionality 29 |
| 150 | [Documentation] Test ONOS DHCP Application to clculate number of consecutive successive clients per second |
| 151 | ${rc}= Run Cord Tester dhcp:dhcp_exchange.test_dhcp_server_consecutive_successful_clients_per_second |
| 152 | Should Be Equal As Integers ${rc} 0 |