From: jose.lausuch Date: Tue, 20 Sep 2016 14:40:57 +0000 (+0200) Subject: [ODL-SFC] Bugfix: replace string "22" by "22/tcp" X-Git-Tag: danube.1.RC1~391 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F57%2F21857%2F1;p=functest.git [ODL-SFC] Bugfix: replace string "22" by "22/tcp" This fixes a small bug in https://gerrit.opnfv.org/gerrit/#/c/21833/ JIRA: JIRA: SFC-48 Change-Id: I92ad973369109a107700443c074dfae6f6c21516 Signed-off-by: jose.lausuch --- diff --git a/ci/exec_test.sh b/ci/exec_test.sh index 791a80bcf..676c0d520 100755 --- a/ci/exec_test.sh +++ b/ci/exec_test.sh @@ -63,7 +63,7 @@ function odl_tests(){ function sfc_prepare(){ ids=($(neutron security-group-list|grep default|awk '{print $2}')) for id in ${ids[@]}; do - if ! neutron security-group-show $id|grep 22 &>/dev/null; then + if ! neutron security-group-show $id|grep "22/tcp" &>/dev/null; then neutron security-group-rule-create --protocol tcp \ --port-range-min 22 --port-range-max 22 --direction ingress $id neutron security-group-rule-create --protocol tcp \