X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=test%2Fcsit%2Flibraries%2FClusterKeywords.robot;fp=test%2Fcsit%2Flibraries%2FClusterKeywords.robot;h=e3846aeaa19563a558844bcc9d957739172317d4;hb=c8ca1ab99bc755729bb319096bac808a6a7b5fc7;hp=46c1b979c177e4803a6db448e3e3458ed44adee3;hpb=27006ec33b56ab56da976b789d74dcbfbea152cb;p=integration.git diff --git a/test/csit/libraries/ClusterKeywords.robot b/test/csit/libraries/ClusterKeywords.robot index 46c1b979..e3846aea 100644 --- a/test/csit/libraries/ClusterKeywords.robot +++ b/test/csit/libraries/ClusterKeywords.robot @@ -304,11 +304,11 @@ Modify IPTables ${cmd string} Set Variable sudo iptables -L -n ${return string}= Run Command On Remote System ${isolated controller} ${cmd string} #If inserting rules: - Run Keyword If "${rule type}" == '-I' Should Match Regexp ${return string} [\s\S]*${isolated controller} *${controller}[\s\S]* - Run Keyword If "${rule type}" == '-I' Should Match Regexp ${return string} [\s\S]*${controller} *${isolated controller}[\s\S]* + Run Keyword If "${rule type}" == '-I' Should Match Regexp ${return string} [\s\S]*DROP *all *-- *${isolated controller} *${controller}[\s\S]* + Run Keyword If "${rule type}" == '-I' Should Match Regexp ${return string} [\s\S]*DROP *all *-- *${controller} *${isolated controller}[\s\S]* #If deleting rules: - Run Keyword If "${rule type}" == '-D' Should Match Regexp ${return string} (?![\s\S]*${isolated controller} *${controller}[\s\S]*) - Run Keyword If "${rule type}" == '-D' Should Match Regexp ${return string} (?![\s\S]*${controller} *${isolated controller}[\s\S]*) + Run Keyword If "${rule type}" == '-D' Should Match Regexp ${return string} (?![\s\S]*DROP *all *-- *${isolated controller} *${controller}[\s\S]*) + Run Keyword If "${rule type}" == '-D' Should Match Regexp ${return string} (?![\s\S]*DROP *all *-- *${controller} *${isolated controller}[\s\S]*) Rejoin All Isolated Controllers [Arguments] @{controllers}