blob: 51daa94d7bdc8bd5b51b88245eb5e77e480887db [file] [log] [blame]
Zhi Kun Liu4be2f602014-02-08 11:52:05 +08001# Copyright 2012 OpenStack Foundation
2# All Rights Reserved.
3#
4# Licensed under the Apache License, Version 2.0 (the "License"); you may
5# not use this file except in compliance with the License. You may obtain
6# a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13# License for the specific language governing permissions and limitations
14# under the License.
15
Yaroslav Lobankovdb4a2e12015-11-28 20:04:54 +030016from tempest.services.volume.base import base_volumes_client
Zhi Kun Liu4be2f602014-02-08 11:52:05 +080017
18
Yaroslav Lobankovdb4a2e12015-11-28 20:04:54 +030019class VolumesV2Client(base_volumes_client.BaseVolumesClient):
Ken'ichi Ohmichib2790842015-11-17 11:46:13 +000020 """Client class to send CRUD Volume V2 API requests"""
Ken'ichi Ohmichif85e9bd2015-01-27 12:51:47 +000021 api_version = "v2"
22 create_resp = 202