Migrates more commands to openstack-pythonclient cmds 05/28005/2
authorTim Rozet <trozet@redhat.com>
Fri, 3 Feb 2017 18:53:03 +0000 (13:53 -0500)
committerJose Lausuch <jose.lausuch@ericsson.com>
Mon, 6 Feb 2017 09:33:25 +0000 (09:33 +0000)
Change-Id: I7be6a89d7b0fb7997ea05607d45e792e0ce57051
Signed-off-by: Tim Rozet <trozet@redhat.com>
functest/ci/check_os.sh

index e247102..b875a17 100755 (executable)
@@ -57,11 +57,11 @@ echo "  ...OK"
 
 
 echo "Checking OpenStack basic services:"
-commands=('openstack endpoint list' 'nova list' 'neutron net-list' \
-            'glance image-list' 'cinder list')
+commands=('openstack endpoint list' 'openstack server list' 'openstack network list' \
+            'openstack image list' 'openstack volume list')
 for cmd in "${commands[@]}"
 do
-    service=$(echo $cmd | awk '{print $1}')
+    service=$(echo $cmd | awk '{print $1, $2}')
     echo ">>Checking $service service..."
     $cmd &>/dev/null
     result=$?