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 ACL Application Functionality 1 |
| 10 | [Documentation] Test ONOS ACL Application for allow rule |
| 11 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_allow_rule |
| 12 | Should Be Equal As Integers ${rc} 0 |
| 13 | |
| 14 | Verify ONOS ACL Application Functionality 2 |
| 15 | [Documentation] Test ONOS ACL Application for allow rule with 24 bit mask |
| 16 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_allow_rule_with_24_bit_mask |
| 17 | Should Be Equal As Integers ${rc} 0 |
| 18 | |
| 19 | Verify ONOS ACL Application Functionality 3 |
| 20 | [Documentation] Test ONOS ACL Application for deny rule |
| 21 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_deny_rule |
| 22 | Should Be Equal As Integers ${rc} 0 |
| 23 | |
| 24 | Verify ONOS ACL Application Functionality 4 |
| 25 | [Documentation] Test ONOS ACL Application for deny rule with 24 bit mask |
| 26 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_deny_rule_with_24_bit_mask |
| 27 | Should Be Equal As Integers ${rc} 0 |
| 28 | |
| 29 | Verify ONOS ACL Application Functionality 5 |
| 30 | [Documentation] Test ONOS ACL Application for add and remove a rule |
| 31 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_add_remove_rule |
| 32 | Should Be Equal As Integers ${rc} 0 |
| 33 | |
| 34 | Verify ONOS ACL Application Functionality 6 |
| 35 | [Documentation] Test ONOS ACL Application for add and remove all rules |
| 36 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_add_remove_all_rules |
| 37 | Should Be Equal As Integers ${rc} 0 |
| 38 | |
| 39 | Verify ONOS ACL Application Functionality 7 |
| 40 | [Documentation] Test ONOS ACL Application for remove all rules without add |
| 41 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_remove_all_rules_without_add |
| 42 | Should Be Equal As Integers ${rc} 0 |
| 43 | |
| 44 | Verify ONOS ACL Application Functionality 8 |
| 45 | [Documentation] Test ONOS ACL Application for allow and deny |
| 46 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_allow_and_deny_rule_for_same_src_and_dst_ip |
| 47 | Should Be Equal As Integers ${rc} 0 |
| 48 | |
| 49 | Verify ONOS ACL Application Functionality 9 |
| 50 | [Documentation] Test ONOS ACL Application for allow rule for matched dest IP |
| 51 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_allow_rules_for_matched_dst_ips |
| 52 | Should Be Equal As Integers ${rc} 0 |
| 53 | |
| 54 | Verify ONOS ACL Application Functionality 10 |
| 55 | [Documentation] Test ONOS ACL Application for matching src and dest IPs |
| 56 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_with_matching_src_and_dst_ip_traffic |
| 57 | Should Be Equal As Integers ${rc} 0 |
| 58 | |
| 59 | Verify ONOS ACL Application Functionality 11 |
| 60 | [Documentation] Test ONOS ACL Application for matching 24 bit src and dest IPs |
| 61 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_with_matching_24bit_mask_src_and_dst_ip_traffic |
| 62 | Should Be Equal As Integers ${rc} 0 |
| 63 | |
| 64 | Verify ONOS ACL Application Functionality 12 |
| 65 | [Documentation] Test ONOS ACL Application for non-matching IP traffic |
| 66 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_with_non_matching_src_and_dst_ip_traffic |
| 67 | Should Be Equal As Integers ${rc} 0 |
| 68 | |
| 69 | Verify ONOS ACL Application Functionality 13 |
| 70 | [Documentation] Test ONOS ACL Application for allow rule |
| 71 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_allow_rule |
| 72 | Should Be Equal As Integers ${rc} 0 |
| 73 | |
| 74 | Verify ONOS ACL Application Functionality 14 |
| 75 | [Documentation] Test ONOS ACL Application for allow rule |
| 76 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_allow_rule |
| 77 | Should Be Equal As Integers ${rc} 0 |
| 78 | |
| 79 | Verify ONOS ACL Application Functionality 15 |
| 80 | [Documentation] Test ONOS ACL Application for allow rule |
| 81 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_allow_rule |
| 82 | Should Be Equal As Integers ${rc} 0 |
| 83 | |
| 84 | Verify ONOS ACL Application Functionality 16 |
| 85 | [Documentation] Test ONOS ACL Application for allow rule |
| 86 | ${rc}= Run Cord Tester acl:acl_exchange.test_acl_allow_rule |
| 87 | Should Be Equal As Integers ${rc} 0 |
| 88 | |