X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fsxp%2Ffiltering%2F020_Outbound_Filtering.robot;h=1677d42a7b76c7d9cb7f422c82c8b7b7afd6d8fd;hb=af0da3b174a87b0e570187c513147aeb06e93163;hp=dc89a8f9904ebda00ba1ac0711f42a9abccbe468;hpb=01a21a497c1a827d80a113cc3b3e85533749ff30;p=integration%2Ftest.git diff --git a/csit/suites/sxp/filtering/020_Outbound_Filtering.robot b/csit/suites/sxp/filtering/020_Outbound_Filtering.robot index dc89a8f990..1677d42a7b 100644 --- a/csit/suites/sxp/filtering/020_Outbound_Filtering.robot +++ b/csit/suites/sxp/filtering/020_Outbound_Filtering.robot @@ -25,13 +25,13 @@ Access List Filtering ${entry3} Get Filter Entry 30 permit acl=10.0.0.0,0.255.255.0 ${entries} Combine Strings ${entry1} ${entry2} ${entry3} Add Filter GROUP outbound ${entries} - Wait Until Keyword Succeeds 4 1 Check One Group 4-5 + Wait Until Keyword Succeeds 4 1 Check One Group 4-5 Delete Filter GROUP outbound ${entry1} Get Filter Entry 10 permit acl=10.20.0.0,0.0.255.255 ${entry2} Get Filter Entry 20 permit acl=10.10.0.0,0.0.255.0 ${entries} Combine Strings ${entry1} ${entry2} Add Filter GROUP outbound ${entries} - Wait Until Keyword Succeeds 4 1 Check Two Group 4-5 + Wait Until Keyword Succeeds 4 1 Check Two Group 4-5 Access List Sgt Filtering [Documentation] Test ACL and SGT filter behaviour during filter update @@ -42,11 +42,11 @@ Access List Sgt Filtering ${entry3} Get Filter Entry 30 permit sgt=30 acl=10.10.10.0,0.0.0.255 ${entries} Combine Strings ${entry1} ${entry2} ${entry3} Add Filter GROUP outbound ${entries} - Wait Until Keyword Succeeds 4 1 Check One Group 2-5 + Wait Until Keyword Succeeds 4 1 Check One Group 2-5 Delete Filter GROUP outbound ${entries} Get Filter Entry 10 permit esgt=20,40 acl=10.10.0.0,0.0.255.255 Add Filter GROUP outbound ${entries} - Wait Until Keyword Succeeds 4 1 Check Two Group 2-5 + Wait Until Keyword Succeeds 4 1 Check Two Group 2-5 Prefix List Filtering [Documentation] Test Prefix List filter behaviour during filter update @@ -57,13 +57,13 @@ Prefix List Filtering ${entry3} Get Filter Entry 30 permit epl=10.0.0.0/8,le,24 ${entries} Combine Strings ${entry1} ${entry2} ${entry3} Add Filter GROUP outbound ${entries} - Wait Until Keyword Succeeds 4 1 Check One Group 4-5 + Wait Until Keyword Succeeds 4 1 Check One Group 4-5 Delete Filter GROUP outbound ${entry1} Get Filter Entry 10 permit pl=10.20.0.0/16 ${entry2} Get Filter Entry 20 permit epl=10.10.0.0/16,le,24 ${entries} Combine Strings ${entry1} ${entry2} Add Filter GROUP outbound ${entries} - Wait Until Keyword Succeeds 4 1 Check Two Group 4-5 + Wait Until Keyword Succeeds 4 1 Check Two Group 4-5 Prefix List Sgt Filtering [Documentation] Test Prefix List and SGT filter behaviour during filter update @@ -74,11 +74,11 @@ Prefix List Sgt Filtering ${entry3} Get Filter Entry 30 permit sgt=30 pl=10.10.10.0/24 ${entries} Combine Strings ${entry1} ${entry2} ${entry3} Add Filter GROUP outbound ${entries} - Wait Until Keyword Succeeds 4 1 Check One Group 2-5 + Wait Until Keyword Succeeds 4 1 Check One Group 2-5 Delete Filter GROUP outbound ${entries} Get Filter Entry 10 permit esgt=20,40 pl=10.10.0.0/16 Add Filter GROUP outbound ${entries} - Wait Until Keyword Succeeds 4 1 Check Two Group 2-5 + Wait Until Keyword Succeeds 4 1 Check Two Group 2-5 *** Keywords *** Setup Nodes @@ -102,12 +102,12 @@ Setup Nodes Wait Until Keyword Succeeds 15 4 Verify Connection ${version} speaker 127.0.0.5 Check One Group 4-5 - [Documentation] Check if only bindings matching filter nodes 4 and 5 - ... Database should contains only Bindings regarding to these matches: - ... permit ACL 10.10.10.0 0.0.0.255 - ... deny ACL 10.10.0.0 0.0.255.0 - ... permit ACL 10.0.0.0 0.255.255.0 - ... Info regarding filtering https://wiki.opendaylight.org/view/SXP:Beryllium:Developer_Guide + [Documentation] Check if only bindings matching filter nodes 4 and 5 + ... Database should contains only Bindings regarding to these matches: + ... permit ACL 10.10.10.0 0.0.0.255 + ... deny ACL 10.10.0.0 0.0.255.0 + ... permit ACL 10.0.0.0 0.255.255.0 + ... Info regarding filtering https://wiki.opendaylight.org/view/SXP:Beryllium:Developer_Guide : FOR ${node} IN RANGE 4 6 \ ${resp} Get Bindings Master Database 127.0.0.${node} \ Should Contain Binding ${resp} 10 10.10.10.10/32 sxp @@ -137,11 +137,11 @@ Check One Group 4-5 Should Contain Binding ${resp} 40 40.0.0.0/8 sxp Check Two Group 4-5 - [Documentation] Check if only bindings matching filter nodes 4 and 5 - ... Database should contains only Bindings regarding to these matches: - ... permit ACL 10.20.0.0 0.0.255.255 - ... permit ACL 10.10.0.0 0.0.255.0 - ... Info regarding filtering https://wiki.opendaylight.org/view/SXP:Beryllium:Developer_Guide + [Documentation] Check if only bindings matching filter nodes 4 and 5 + ... Database should contains only Bindings regarding to these matches: + ... permit ACL 10.20.0.0 0.0.255.255 + ... permit ACL 10.10.0.0 0.0.255.0 + ... Info regarding filtering https://wiki.opendaylight.org/view/SXP:Beryllium:Developer_Guide : FOR ${node} IN RANGE 4 6 \ ${resp} Get Bindings Master Database 127.0.0.${node} \ Should Not Contain Binding ${resp} 10 10.10.10.10/32 sxp @@ -171,12 +171,12 @@ Check Two Group 4-5 Should Contain Binding ${resp} 40 40.0.0.0/8 sxp Check One Group 2-5 - [Documentation] Check if only bindings matching filter nodes 2 and 5 - ... Database should contains only Bindings regarding to these matches: - ... deny ACL 10.10.20.0 0.0.0.255 - ... permit ACL 10.10.0.0 0.0.255.0 - ... permit SGT 30 ACL 10.10.10.0 0.0.0.255 - ... Info regarding filtering https://wiki.opendaylight.org/view/SXP:Beryllium:Developer_Guide + [Documentation] Check if only bindings matching filter nodes 2 and 5 + ... Database should contains only Bindings regarding to these matches: + ... deny ACL 10.10.20.0 0.0.0.255 + ... permit ACL 10.10.0.0 0.0.255.0 + ... permit SGT 30 ACL 10.10.10.0 0.0.0.255 + ... Info regarding filtering https://wiki.opendaylight.org/view/SXP:Beryllium:Developer_Guide @{list} Create List 127.0.0.2 127.0.0.5 : FOR ${node} IN @{list} \ ${resp} Get Bindings Master Database ${node} @@ -207,10 +207,10 @@ Check One Group 2-5 Should Contain Binding ${resp} 30 30.0.0.0/8 sxp Check Two Group 2-5 - [Documentation] Check if only bindings matching filter nodes 2 and 5 - ... Database should contains only Bindings regarding to these matches: - ... permit SGT 20,40 ACL 10.10.0.0 0.0.255.255 - ... Info regarding filtering https://wiki.opendaylight.org/view/SXP:Beryllium:Developer_Guide + [Documentation] Check if only bindings matching filter nodes 2 and 5 + ... Database should contains only Bindings regarding to these matches: + ... permit SGT 20,40 ACL 10.10.0.0 0.0.255.255 + ... Info regarding filtering https://wiki.opendaylight.org/view/SXP:Beryllium:Developer_Guide @{list} Create List 127.0.0.2 127.0.0.5 : FOR ${node} IN @{list} \ ${resp} Get Bindings Master Database ${node}