Merge "Remove api_version setting from volume v3/v2 service client"
This commit is contained in:
commit
6a8d495192
@ -23,7 +23,6 @@ from tempest.lib.services.volume import base_client
|
||||
|
||||
class BackupsClient(base_client.BaseClient):
|
||||
"""Volume V3 Backups client"""
|
||||
api_version = "v3"
|
||||
|
||||
def create_backup(self, **kwargs):
|
||||
"""Creates a backup of volume.
|
||||
|
@ -20,4 +20,3 @@ from tempest.lib.services.volume import base_client
|
||||
|
||||
BaseClient = moves.moved_class(base_client.BaseClient, 'BaseClient', __name__,
|
||||
version="Pike", removal_version='?')
|
||||
BaseClient.api_version = 'v3'
|
||||
|
@ -23,7 +23,6 @@ from tempest.lib.services.volume import base_client
|
||||
|
||||
class GroupSnapshotsClient(base_client.BaseClient):
|
||||
"""Client class to send CRUD Volume Group Snapshot API requests"""
|
||||
api_version = 'v3'
|
||||
|
||||
def create_group_snapshot(self, **kwargs):
|
||||
"""Creates a group snapshot.
|
||||
|
@ -22,7 +22,6 @@ from tempest.lib.services.volume import base_client
|
||||
|
||||
class GroupTypesClient(base_client.BaseClient):
|
||||
"""Client class to send CRUD Volume V3 Group Types API requests"""
|
||||
api_version = 'v3'
|
||||
|
||||
@property
|
||||
def resource_type(self):
|
||||
|
@ -23,7 +23,6 @@ from tempest.lib.services.volume import base_client
|
||||
|
||||
class GroupsClient(base_client.BaseClient):
|
||||
"""Client class to send CRUD Volume Group API requests"""
|
||||
api_version = 'v3'
|
||||
|
||||
def create_group(self, **kwargs):
|
||||
"""Creates a group.
|
||||
|
@ -22,7 +22,6 @@ from tempest.lib.services.volume import base_client
|
||||
|
||||
class MessagesClient(base_client.BaseClient):
|
||||
"""Client class to send user messages API requests."""
|
||||
api_version = 'v3'
|
||||
|
||||
def show_message(self, message_id):
|
||||
"""Show details for a single message."""
|
||||
|
@ -22,7 +22,6 @@ from tempest.lib import exceptions as lib_exc
|
||||
|
||||
class SnapshotsClient(rest_client.RestClient):
|
||||
"""Client class to send CRUD Volume Snapshot V3 API requests."""
|
||||
api_version = "v3"
|
||||
create_resp = 202
|
||||
|
||||
def list_snapshots(self, detail=False, **params):
|
||||
|
@ -22,7 +22,6 @@ from tempest.lib.services.volume import base_client
|
||||
|
||||
|
||||
class VersionsClient(base_client.BaseClient):
|
||||
api_version = 'v3'
|
||||
|
||||
def list_versions(self):
|
||||
"""List API versions
|
||||
|
@ -24,7 +24,6 @@ from tempest.lib.services.volume import base_client
|
||||
|
||||
class VolumesClient(base_client.BaseClient):
|
||||
"""Client class to send CRUD Volume V3 API requests"""
|
||||
api_version = "v3"
|
||||
|
||||
def _prepare_params(self, params):
|
||||
"""Prepares params for use in get or _ext_get methods.
|
||||
|
Loading…
Reference in New Issue
Block a user