From: Cédric Ollivier Date: Wed, 11 May 2016 09:52:08 +0000 (+0200) Subject: Specify the field id in neutron arguments X-Git-Tag: colorado.1.0~388 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=5becfff224002673ff107357d19350b553ca9916;p=functest.git Specify the field id in neutron arguments It fixes the parsing error when 2 subnets are created on a specific network. Change-Id: I46154a65d0e916387faea5b506ae6a93240c6726 Signed-off-by: Cédric Ollivier --- diff --git a/ci/check_os.sh b/ci/check_os.sh index bb1335306..c9e0b5136 100755 --- a/ci/check_os.sh +++ b/ci/check_os.sh @@ -72,7 +72,7 @@ done echo "OpenStack services are OK." echo "Checking External network..." -networks=($(neutron net-list | tail -n +4 | head -n -1 | awk '{print $2}')) +networks=($(neutron net-list -F id | tail -n +4 | head -n -1 | awk '{print $2}')) is_external=False for net in "${networks[@]}" do