blob: a2d415f96a711e02c799438c73fb8bf3354cb2a7 [file] [log] [blame]
Zhi Kun Liu38641c62014-07-10 20:12:48 +08001# Licensed under the Apache License, Version 2.0 (the "License"); you may
2# not use this file except in compliance with the License. You may obtain
3# a copy of the License at
4#
5# http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10# License for the specific language governing permissions and limitations
11# under the License.
12
Yaroslav Lobankovdb4a2e12015-11-28 20:04:54 +030013from tempest.services.volume.base import base_snapshots_client
Zhi Kun Liu38641c62014-07-10 20:12:48 +080014
15
Yaroslav Lobankov4c237792015-12-02 18:43:48 +030016class SnapshotsClient(base_snapshots_client.BaseSnapshotsClient):
Zhi Kun Liu38641c62014-07-10 20:12:48 +080017 """Client class to send CRUD Volume V2 API requests."""
Ken'ichi Ohmichif85e9bd2015-01-27 12:51:47 +000018 api_version = "v2"
19 create_resp = 202