Merge "Remove api_version setting from volume v3/v2 service client"

This commit is contained in:
Zuul 2018-08-14 23:00:20 +00:00 committed by Gerrit Code Review
commit 6a8d495192
9 changed files with 0 additions and 9 deletions

View File

@ -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.

View File

@ -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'

View File

@ -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.

View File

@ -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):

View File

@ -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.

View File

@ -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."""

View File

@ -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):

View File

@ -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

View File

@ -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.