Specify the field id in neutron arguments 15/13915/3
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 11 May 2016 09:52:08 +0000 (11:52 +0200)
committerJose Lausuch <jose.lausuch@ericsson.com>
Wed, 11 May 2016 10:12:08 +0000 (10:12 +0000)
It fixes the parsing error when 2 subnets are created on a specific
network.

Change-Id: I46154a65d0e916387faea5b506ae6a93240c6726
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
ci/check_os.sh

index bb13353..c9e0b51 100755 (executable)
@@ -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