Merge "Open storperf testcase to huawei-pod2"
[yardstick.git] / yardstick / benchmark / scenarios / availability / ha_tools / nova / show_flavors.bash
index 1b07396..e679fdb 100644 (file)
 
 set -e
 
-nova flavor-list
\ No newline at end of file
+if [ $OS_INSECURE ] && [ "$(echo $OS_INSECURE | tr '[:upper:]' '[:lower:]')" = "true" ]; then
+    SECURE="--insecure"
+else
+    SECURE=""
+fi
+
+openstack ${SECURE} flavor list