summaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
Diffstat (limited to 'testcases')
-rwxr-xr-xtestcases/VIM/OpenStack/CI/libraries/check_os.sh35
1 files changed, 18 insertions, 17 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/check_os.sh b/testcases/VIM/OpenStack/CI/libraries/check_os.sh
index ab3d21922..98b8605cd 100755
--- a/testcases/VIM/OpenStack/CI/libraries/check_os.sh
+++ b/testcases/VIM/OpenStack/CI/libraries/check_os.sh
@@ -93,21 +93,22 @@ fi
# To see the initial OpenStack defaults
# in case we delete something later on.
# This is to be removed for the release
-echo "nova list:"
-nova list
-echo "cinder list"
-cinder list
-echo "nova floating-ip-list:"
-nova floating-ip-list
-echo "neutron net-list:"
-neutron net-list
-echo "neutron router-list:"
-neutron router-list
-echo "neutron security-group-list:"
-neutron security-group-list
-echo "openstack project list:"
-openstack project list
-echo "openstack user list:"
-openstack user list
-
+if [[ "${CI_DEBUG,,}" == "true" ]];then
+ echo "nova list:"
+ nova list
+ echo "cinder list"
+ cinder list
+ echo "nova floating-ip-list:"
+ nova floating-ip-list
+ echo "neutron net-list:"
+ neutron net-list
+ echo "neutron router-list:"
+ neutron router-list
+ echo "neutron security-group-list:"
+ neutron security-group-list
+ echo "openstack project list:"
+ openstack project list
+ echo "openstack user list:"
+ openstack user list
+fi
exit 0