diff options
Diffstat (limited to 'ci')
-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 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 \ |