diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-09-20 16:40:57 +0200 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-09-20 16:40:57 +0200 |
commit | 248af30770fc0c882122c429a3bf033a37c5c167 (patch) | |
tree | 190a34de41bdc8430402c7a3151df58fc18599d6 | |
parent | 738246d6c7ea3e175f49d75b87c60ed3a0a0f601 (diff) |
[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 <jose.lausuch@ericsson.com>
-rwxr-xr-x | ci/exec_test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/exec_test.sh b/ci/exec_test.sh index 791a80bc..676c0d52 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 \ |