Revert "Modify --endpoint-type to --os-endpoint-type for nova"
The changed actually modified the cinder client's argument,
and the option juts exists in relatively new cinder clients.
This reverts commit 1a68176a7192b8b51be255b638ca2dbb00fdecda.
Change-Id: I8f34714cd6e075bacbc416c369965fd3059ad066
diff --git a/tempest/lib/cli/base.py b/tempest/lib/cli/base.py
index 20b2a3d..a43d002 100644
--- a/tempest/lib/cli/base.py
+++ b/tempest/lib/cli/base.py
@@ -247,7 +247,7 @@
:param merge_stderr: if True the stderr buffer is merged into stdout
:type merge_stderr: boolean
"""
- flags += ' --os-endpoint-type %s' % endpoint_type
+ flags += ' --endpoint-type %s' % endpoint_type
return self.cmd_with_auth(
'cinder', action, flags, params, fail_ok, merge_stderr)