Default to Cinder v3 API
This switches the default Cinder API version to v3 to prepare for v2 going away. Change-Id: Icca1512b715409e3001c0fd2d1ea663d5e71ec02 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
9042668da4
commit
a96089ff6d
@ -22,7 +22,7 @@ from openstackclient.i18n import _
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
DEFAULT_API_VERSION = '2'
|
||||
DEFAULT_API_VERSION = '3'
|
||||
API_VERSION_OPTION = 'os_volume_api_version'
|
||||
API_NAME = "volume"
|
||||
API_VERSIONS = {
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Volume commands now default to Volume API 3. On older clouds
|
||||
that do not support Volume 3.x ``--os-volume-api-version 2``
|
||||
of the adition of ``volume_api_version: '2' in ``clouds.yaml``
|
||||
will be required.
|
Loading…
Reference in New Issue
Block a user