From 1396308631e8cdd71ac9b8c91eb4fb7db107b426 Mon Sep 17 00:00:00 2001 From: Ivan Kolodyazhny Date: Tue, 8 Dec 2015 18:56:36 +0200 Subject: [PATCH] Set default service type to 'volumev2' We are already use Cinder API v2 by default so it sould be consistent to use 'volumev2' service type by default Change-Id: I9f2da310f6ad53a40d476ede62369cc364371064 --- cinderclient/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinderclient/shell.py b/cinderclient/shell.py index 6d6013259..f6c74663b 100644 --- a/cinderclient/shell.py +++ b/cinderclient/shell.py @@ -55,7 +55,7 @@ osprofiler_profiler = importutils.try_import("osprofiler.profiler") DEFAULT_OS_VOLUME_API_VERSION = "2" DEFAULT_CINDER_ENDPOINT_TYPE = 'publicURL' -DEFAULT_CINDER_SERVICE_TYPE = 'volume' +DEFAULT_CINDER_SERVICE_TYPE = 'volumev2' logging.basicConfig() logger = logging.getLogger(__name__)