blob: 8debb5d09ec0d347d5c9faa18f0cfc02056aa076 [file] [log] [blame]
ChetanGaonker73cfcee2016-11-16 19:28:50 -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 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
14Verify 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
19Verify 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
24Verify 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
29Verify 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
34Verify 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
39Verify 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
44Verify 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
49Verify 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
54Verify 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
59Verify 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
64Verify 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
69Verify 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
74Verify 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
79Verify 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
84Verify 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