blob: 6496176d2c893c868794569151a1e6baf7d5298c [file] [log] [blame]
ZhiQiang Fan39f97222013-09-20 04:49:44 +08001# Copyright 2012 OpenStack Foundation
Jay Pipes13b479b2012-06-11 14:52:27 -04002# 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
David Kranzcf0040c2012-06-26 09:46:56 -040016import time
Jay Pipesf38eaac2012-06-21 13:37:35 -040017
Matthew Treinish481466b2012-12-20 17:16:01 -050018from tempest import clients
Masayuki Igawa259c1132013-10-31 17:48:44 +090019from tempest.common.utils import data_utils
Matthew Treinishb0a78fc2014-01-29 16:49:12 +000020from tempest import config
David Kranz33138312013-09-24 17:09:32 -040021from tempest import exceptions
Matthew Treinish83d97be2014-09-19 16:34:54 -040022from tempest.openstack.common import excutils
Matthew Treinishf4a9b0f2013-07-26 16:58:26 -040023from tempest.openstack.common import log as logging
Attila Fazekasdc216422013-01-29 15:12:14 +010024import tempest.test
Jay Pipesf38eaac2012-06-21 13:37:35 -040025
Matthew Treinishb0a78fc2014-01-29 16:49:12 +000026CONF = config.CONF
Tiago Melloeda03b52012-08-22 23:47:29 -030027
Jay Pipesf38eaac2012-06-21 13:37:35 -040028LOG = logging.getLogger(__name__)
Daryl Walleckc7251962012-03-12 17:26:54 -050029
30
Attila Fazekasdc216422013-01-29 15:12:14 +010031class BaseComputeTest(tempest.test.BaseTestCase):
Sean Daguef237ccb2013-01-04 15:19:14 -050032 """Base test case class for all Compute API tests."""
Daryl Walleckc7251962012-03-12 17:26:54 -050033
Ken'ichi Ohmichi543a5d42014-05-02 08:44:15 +090034 _api_version = 3
Attila Fazekas430dae32013-10-17 15:19:32 +020035 force_tenant_isolation = False
Chris Yeoh8a79b9d2013-01-18 19:32:47 +103036
Jay Pipesf38eaac2012-06-21 13:37:35 -040037 @classmethod
Andrea Frittoli50bb80d2014-09-15 12:34:27 +010038 def resource_setup(cls):
Ken'ichi Ohmichi5fd4ecf2014-04-25 13:38:15 +090039 cls.set_network_resources()
Andrea Frittoli50bb80d2014-09-15 12:34:27 +010040 super(BaseComputeTest, cls).resource_setup()
Matthew Treinish20866a22014-06-12 14:58:36 -040041 if getattr(cls, '_interface', None) == 'xml' and cls._api_version == 2:
42 if not CONF.compute_feature_enabled.xml_api_v2:
43 raise cls.skipException('XML API is not enabled')
Jay Pipesf38eaac2012-06-21 13:37:35 -040044
Andrea Frittoli422fbdf2014-03-20 10:05:18 +000045 # TODO(andreaf) WE should care also for the alt_manager here
46 # but only once client lazy load in the manager is done
Andrea Frittoli8283b4e2014-07-17 13:28:58 +010047 cls.os = cls.get_client_manager()
48 cls.multi_user = cls.check_multi_user()
Daryl Walleckc7251962012-03-12 17:26:54 -050049
Matthew Treinishb0a78fc2014-01-29 16:49:12 +000050 cls.build_interval = CONF.compute.build_interval
51 cls.build_timeout = CONF.compute.build_timeout
52 cls.ssh_user = CONF.compute.ssh_user
53 cls.image_ref = CONF.compute.image_ref
54 cls.image_ref_alt = CONF.compute.image_ref_alt
55 cls.flavor_ref = CONF.compute.flavor_ref
56 cls.flavor_ref_alt = CONF.compute.flavor_ref_alt
57 cls.image_ssh_user = CONF.compute.image_ssh_user
58 cls.image_ssh_password = CONF.compute.image_ssh_password
Jay Pipesf38eaac2012-06-21 13:37:35 -040059 cls.servers = []
Sean Dagued62bf1c2013-06-05 14:36:25 -040060 cls.images = []
Zhi Kun Liu02e7a7b2014-01-08 16:08:32 +080061 cls.security_groups = []
Abhijeet.Jain87dd4452014-04-23 15:51:23 +053062 cls.server_groups = []
Matthew Treinishf7fca6a2013-12-09 16:27:23 +000063
Ken'ichi Ohmichi543a5d42014-05-02 08:44:15 +090064 if cls._api_version == 2:
65 cls.servers_client = cls.os.servers_client
66 cls.flavors_client = cls.os.flavors_client
67 cls.images_client = cls.os.images_client
68 cls.extensions_client = cls.os.extensions_client
69 cls.floating_ips_client = cls.os.floating_ips_client
70 cls.keypairs_client = cls.os.keypairs_client
71 cls.security_groups_client = cls.os.security_groups_client
72 cls.quotas_client = cls.os.quotas_client
Matt Riedemann848805f2014-06-16 13:23:51 -070073 # NOTE(mriedem): os-quota-class-sets is v2 API only
74 cls.quota_classes_client = cls.os.quota_classes_client
Ken'ichi Ohmichi543a5d42014-05-02 08:44:15 +090075 cls.limits_client = cls.os.limits_client
76 cls.volumes_extensions_client = cls.os.volumes_extensions_client
77 cls.volumes_client = cls.os.volumes_client
78 cls.interfaces_client = cls.os.interfaces_client
79 cls.fixed_ips_client = cls.os.fixed_ips_client
80 cls.availability_zone_client = cls.os.availability_zone_client
81 cls.agents_client = cls.os.agents_client
82 cls.aggregates_client = cls.os.aggregates_client
83 cls.services_client = cls.os.services_client
84 cls.instance_usages_audit_log_client = \
85 cls.os.instance_usages_audit_log_client
86 cls.hypervisor_client = cls.os.hypervisor_client
87 cls.certificates_client = cls.os.certificates_client
88 cls.migrations_client = cls.os.migrations_client
Ghanshyam9d9201d2014-04-16 19:28:09 +090089 cls.security_group_default_rules_client = (
90 cls.os.security_group_default_rules_client)
Ken'ichi Ohmichi543a5d42014-05-02 08:44:15 +090091
92 elif cls._api_version == 3:
93 if not CONF.compute_feature_enabled.api_v3:
94 skip_msg = ("%s skipped as nova v3 api is not available" %
95 cls.__name__)
96 raise cls.skipException(skip_msg)
97 cls.servers_client = cls.os.servers_v3_client
98 cls.images_client = cls.os.image_client
99 cls.flavors_client = cls.os.flavors_v3_client
100 cls.services_client = cls.os.services_v3_client
101 cls.extensions_client = cls.os.extensions_v3_client
102 cls.availability_zone_client = cls.os.availability_zone_v3_client
103 cls.interfaces_client = cls.os.interfaces_v3_client
104 cls.hypervisor_client = cls.os.hypervisor_v3_client
105 cls.keypairs_client = cls.os.keypairs_v3_client
106 cls.volumes_client = cls.os.volumes_client
107 cls.certificates_client = cls.os.certificates_v3_client
108 cls.keypairs_client = cls.os.keypairs_v3_client
109 cls.aggregates_client = cls.os.aggregates_v3_client
110 cls.hosts_client = cls.os.hosts_v3_client
111 cls.quotas_client = cls.os.quotas_v3_client
112 cls.version_client = cls.os.version_v3_client
113 cls.migrations_client = cls.os.migrations_v3_client
114 else:
115 msg = ("Unexpected API version is specified (%s)" %
116 cls._api_version)
117 raise exceptions.InvalidConfiguration(message=msg)
118
Matthew Treinishf7fca6a2013-12-09 16:27:23 +0000119 @classmethod
Andrea Frittoli8283b4e2014-07-17 13:28:58 +0100120 def check_multi_user(cls):
121 # We have a list of accounts now, so just checking if the list is gt 2
122 if not cls.isolated_creds.is_multi_user():
123 msg = "Not enough users available for multi-user testing"
124 raise exceptions.InvalidConfiguration(msg)
125 return True
Daryl Walleckc7251962012-03-12 17:26:54 -0500126
Jay Pipesf38eaac2012-06-21 13:37:35 -0400127 @classmethod
Jay Pipes444c3e62012-10-04 19:26:35 -0400128 def clear_servers(cls):
129 for server in cls.servers:
Dan Smith74e7bcb2012-08-21 09:18:26 -0700130 try:
131 cls.servers_client.delete_server(server['id'])
Joe Gordon0c335792014-09-23 12:36:11 -0700132 except exceptions.NotFound:
133 # Something else already cleaned up the server, nothing to be
134 # worried about
Dan Smith74e7bcb2012-08-21 09:18:26 -0700135 pass
Joe Gordon0c335792014-09-23 12:36:11 -0700136 except Exception:
137 LOG.exception('Deleting server %s failed' % server['id'])
Dan Smith74e7bcb2012-08-21 09:18:26 -0700138
Jay Pipes444c3e62012-10-04 19:26:35 -0400139 for server in cls.servers:
Dan Smith74e7bcb2012-08-21 09:18:26 -0700140 try:
141 cls.servers_client.wait_for_server_termination(server['id'])
142 except Exception:
Joe Gordon0c335792014-09-23 12:36:11 -0700143 LOG.exception('Waiting for deletion of server %s failed'
144 % server['id'])
Dan Smith74e7bcb2012-08-21 09:18:26 -0700145
146 @classmethod
Attila Fazekas305e65b2013-10-29 13:23:07 +0100147 def server_check_teardown(cls):
148 """Checks is the shared server clean enough for subsequent test.
149 Method will delete the server when it's dirty.
150 The setUp method is responsible for creating a new server.
151 Exceptions raised in tearDown class are fails the test case,
152 This method supposed to use only by tierDown methods, when
153 the shared server_id is stored in the server_id of the class.
154 """
155 if getattr(cls, 'server_id', None) is not None:
156 try:
157 cls.servers_client.wait_for_server_status(cls.server_id,
158 'ACTIVE')
159 except Exception as exc:
160 LOG.exception(exc)
161 cls.servers_client.delete_server(cls.server_id)
162 cls.servers_client.wait_for_server_termination(cls.server_id)
163 cls.server_id = None
164 raise
165
166 @classmethod
Sean Dagued62bf1c2013-06-05 14:36:25 -0400167 def clear_images(cls):
168 for image_id in cls.images:
169 try:
170 cls.images_client.delete_image(image_id)
David Kranz33138312013-09-24 17:09:32 -0400171 except exceptions.NotFound:
172 # The image may have already been deleted which is OK.
173 pass
Yair Frieda039f872014-01-02 12:11:10 +0200174 except Exception:
175 LOG.exception('Exception raised deleting image %s' % image_id)
Sean Dagued62bf1c2013-06-05 14:36:25 -0400176
177 @classmethod
Zhi Kun Liu02e7a7b2014-01-08 16:08:32 +0800178 def clear_security_groups(cls):
179 for sg in cls.security_groups:
180 try:
181 resp, body =\
182 cls.security_groups_client.delete_security_group(sg['id'])
183 except exceptions.NotFound:
184 # The security group may have already been deleted which is OK.
185 pass
186 except Exception as exc:
187 LOG.info('Exception raised deleting security group %s',
188 sg['id'])
189 LOG.exception(exc)
Zhi Kun Liu02e7a7b2014-01-08 16:08:32 +0800190
191 @classmethod
Abhijeet.Jain87dd4452014-04-23 15:51:23 +0530192 def clear_server_groups(cls):
193 for server_group_id in cls.server_groups:
194 try:
195 cls.client.delete_server_group(server_group_id)
196 except exceptions.NotFound:
197 # The server-group may have already been deleted which is OK.
198 pass
199 except Exception:
200 LOG.exception('Exception raised deleting server-group %s',
201 server_group_id)
202
203 @classmethod
Andrea Frittoli50bb80d2014-09-15 12:34:27 +0100204 def resource_cleanup(cls):
Sean Dagued62bf1c2013-06-05 14:36:25 -0400205 cls.clear_images()
Jay Pipes444c3e62012-10-04 19:26:35 -0400206 cls.clear_servers()
Zhi Kun Liu02e7a7b2014-01-08 16:08:32 +0800207 cls.clear_security_groups()
Abhijeet.Jain87dd4452014-04-23 15:51:23 +0530208 cls.clear_server_groups()
Andrea Frittoli50bb80d2014-09-15 12:34:27 +0100209 super(BaseComputeTest, cls).resource_cleanup()
Rohit Karajgidc300b22012-05-04 08:11:00 -0700210
Jay Pipes444c3e62012-10-04 19:26:35 -0400211 @classmethod
Ken'ichi Ohmichicfc052e2013-10-23 11:50:04 +0900212 def create_test_server(cls, **kwargs):
Sean Daguef237ccb2013-01-04 15:19:14 -0500213 """Wrapper utility that returns a test server."""
Masayuki Igawa259c1132013-10-31 17:48:44 +0900214 name = data_utils.rand_name(cls.__name__ + "-instance")
Sean Dague22897e12013-02-25 17:54:09 -0500215 if 'name' in kwargs:
216 name = kwargs.pop('name')
217 flavor = kwargs.get('flavor', cls.flavor_ref)
218 image_id = kwargs.get('image_id', cls.image_ref)
Rohit Karajgidc300b22012-05-04 08:11:00 -0700219
Andrea Frittoli938d1512013-05-16 15:42:27 +0100220 resp, body = cls.servers_client.create_server(
Sean Dague22897e12013-02-25 17:54:09 -0500221 name, image_id, flavor, **kwargs)
Andrea Frittoli938d1512013-05-16 15:42:27 +0100222
223 # handle the case of multiple servers
224 servers = [body]
225 if 'min_count' in kwargs or 'max_count' in kwargs:
226 # Get servers created which name match with name param.
227 r, b = cls.servers_client.list_servers()
228 servers = [s for s in b['servers'] if s['name'].startswith(name)]
229
Sean Dague22897e12013-02-25 17:54:09 -0500230 if 'wait_until' in kwargs:
Andrea Frittoli938d1512013-05-16 15:42:27 +0100231 for server in servers:
Ken'ichi Ohmichi51c8c262013-12-21 03:30:37 +0900232 try:
233 cls.servers_client.wait_for_server_status(
234 server['id'], kwargs['wait_until'])
Matthew Treinish83d97be2014-09-19 16:34:54 -0400235 except Exception:
236 with excutils.save_and_reraise_exception():
237 if ('preserve_server_on_error' not in kwargs
238 or kwargs['preserve_server_on_error'] is False):
239 for server in servers:
240 try:
241 cls.servers_client.delete_server(
242 server['id'])
243 except Exception:
244 pass
Ken'ichi Ohmichi51c8c262013-12-21 03:30:37 +0900245
246 cls.servers.extend(servers)
Sean Dague9b669e32012-12-13 18:40:08 -0500247
Andrea Frittoli938d1512013-05-16 15:42:27 +0100248 return resp, body
Sean Dague9b669e32012-12-13 18:40:08 -0500249
Zhi Kun Liu02e7a7b2014-01-08 16:08:32 +0800250 @classmethod
251 def create_security_group(cls, name=None, description=None):
252 if name is None:
253 name = data_utils.rand_name(cls.__name__ + "-securitygroup")
254 if description is None:
255 description = data_utils.rand_name('description-')
256 resp, body = \
257 cls.security_groups_client.create_security_group(name,
258 description)
259 cls.security_groups.append(body)
260
261 return resp, body
262
Abhijeet.Jain87dd4452014-04-23 15:51:23 +0530263 @classmethod
Ghanshyam2a180b82014-06-16 13:54:22 +0900264 def create_test_server_group(cls, name="", policy=None):
Abhijeet.Jain87dd4452014-04-23 15:51:23 +0530265 if not name:
266 name = data_utils.rand_name(cls.__name__ + "-Server-Group")
Ghanshyam2a180b82014-06-16 13:54:22 +0900267 if policy is None:
Abhijeet.Jain87dd4452014-04-23 15:51:23 +0530268 policy = ['affinity']
269 resp, body = cls.servers_client.create_server_group(name, policy)
David Kranzda5d4ec2014-06-24 16:04:57 -0400270 cls.server_groups.append(body['id'])
Abhijeet.Jain87dd4452014-04-23 15:51:23 +0530271 return resp, body
272
David Kranzcf0040c2012-06-26 09:46:56 -0400273 def wait_for(self, condition):
Sean Daguef237ccb2013-01-04 15:19:14 -0500274 """Repeatedly calls condition() until a timeout."""
David Kranzcf0040c2012-06-26 09:46:56 -0400275 start_time = int(time.time())
276 while True:
277 try:
278 condition()
Matthew Treinish05d9fb92012-12-07 16:14:05 -0500279 except Exception:
David Kranzcf0040c2012-06-26 09:46:56 -0400280 pass
281 else:
282 return
283 if int(time.time()) - start_time >= self.build_timeout:
284 condition()
285 return
286 time.sleep(self.build_interval)
Jay Pipesf38eaac2012-06-21 13:37:35 -0400287
Matt Riedemann807d0562014-01-27 12:03:10 -0800288 @staticmethod
289 def _delete_volume(volumes_client, volume_id):
290 """Deletes the given volume and waits for it to be gone."""
291 try:
292 resp, _ = volumes_client.delete_volume(volume_id)
293 # TODO(mriedem): We should move the wait_for_resource_deletion
294 # into the delete_volume method as a convenience to the caller.
295 volumes_client.wait_for_resource_deletion(volume_id)
296 except exceptions.NotFound:
297 LOG.warn("Unable to delete volume '%s' since it was not found. "
298 "Maybe it was already deleted?" % volume_id)
299
Attila Fazekas423834d2014-03-14 17:33:13 +0100300 @classmethod
301 def prepare_instance_network(cls):
302 if (CONF.compute.ssh_auth_method != 'disabled' and
303 CONF.compute.ssh_connect_method == 'floating'):
304 cls.set_network_resources(network=True, subnet=True, router=True,
305 dhcp=True)
306
ivan-zhu8f992be2013-07-31 14:56:58 +0800307 @classmethod
308 def create_image_from_server(cls, server_id, **kwargs):
309 """Wrapper utility that returns an image created from the server."""
Masayuki Igawa259c1132013-10-31 17:48:44 +0900310 name = data_utils.rand_name(cls.__name__ + "-image")
ivan-zhu8f992be2013-07-31 14:56:58 +0800311 if 'name' in kwargs:
312 name = kwargs.pop('name')
313
Ken'ichi Ohmichi543a5d42014-05-02 08:44:15 +0900314 if cls._api_version == 2:
315 resp, image = cls.images_client.create_image(server_id, name)
316 elif cls._api_version == 3:
317 resp, image = cls.servers_client.create_image(server_id, name)
Masayuki Igawa259c1132013-10-31 17:48:44 +0900318 image_id = data_utils.parse_image_id(resp['location'])
ivan-zhu8f992be2013-07-31 14:56:58 +0800319 cls.images.append(image_id)
320
321 if 'wait_until' in kwargs:
322 cls.images_client.wait_for_image_status(image_id,
323 kwargs['wait_until'])
Ken'ichi Ohmichi543a5d42014-05-02 08:44:15 +0900324 if cls._api_version == 2:
325 resp, image = cls.images_client.get_image(image_id)
326 elif cls._api_version == 3:
327 resp, image = cls.images_client.get_image_meta(image_id)
ivan-zhu8f992be2013-07-31 14:56:58 +0800328
Bob Ball621e4602013-12-06 19:53:43 +0000329 if kwargs['wait_until'] == 'ACTIVE':
330 if kwargs.get('wait_for_server', True):
331 cls.servers_client.wait_for_server_status(server_id,
332 'ACTIVE')
ivan-zhu8f992be2013-07-31 14:56:58 +0800333 return resp, image
334
335 @classmethod
Matthew Treinish2cd19a42013-12-02 21:54:42 +0000336 def rebuild_server(cls, server_id, **kwargs):
ivan-zhu8f992be2013-07-31 14:56:58 +0800337 # Destroy an existing server and creates a new one
Matthew Treinish2cd19a42013-12-02 21:54:42 +0000338 if server_id:
339 try:
340 cls.servers_client.delete_server(server_id)
341 cls.servers_client.wait_for_server_termination(server_id)
Yair Frieda039f872014-01-02 12:11:10 +0200342 except Exception:
343 LOG.exception('Failed to delete server %s' % server_id)
Ken'ichi Ohmichicfc052e2013-10-23 11:50:04 +0900344 resp, server = cls.create_test_server(wait_until='ACTIVE', **kwargs)
Ken'ichi Ohmichi543a5d42014-05-02 08:44:15 +0900345 if cls._api_version == 2:
346 cls.password = server['adminPass']
347 elif cls._api_version == 3:
348 cls.password = server['admin_password']
Matthew Treinish2cd19a42013-12-02 21:54:42 +0000349 return server['id']
ivan-zhu8f992be2013-07-31 14:56:58 +0800350
Matt Riedemann5dc594c2014-01-27 11:40:28 -0800351 @classmethod
352 def delete_volume(cls, volume_id):
353 """Deletes the given volume and waits for it to be gone."""
Ken'ichi Ohmichi543a5d42014-05-02 08:44:15 +0900354 if cls._api_version == 2:
355 cls._delete_volume(cls.volumes_extensions_client, volume_id)
356 elif cls._api_version == 3:
357 cls._delete_volume(cls.volumes_client, volume_id)
358
359
360class BaseV2ComputeTest(BaseComputeTest):
361 _api_version = 2
362 _interface = "json"
Matt Riedemann5dc594c2014-01-27 11:40:28 -0800363
ivan-zhuf2b00502013-10-18 10:06:52 +0800364
Ken'ichi Ohmichibcefa3d2014-05-09 08:14:05 +0900365class BaseV3ComputeTest(BaseComputeTest):
366 _api_version = 3
367 _interface = "json"
368
369
370class BaseComputeAdminTest(BaseComputeTest):
371 """Base test case class for Compute Admin API tests."""
372 _interface = "json"
ivan-zhuf2b00502013-10-18 10:06:52 +0800373
374 @classmethod
Andrea Frittoli50bb80d2014-09-15 12:34:27 +0100375 def resource_setup(cls):
376 super(BaseComputeAdminTest, cls).resource_setup()
Andrea Frittoli8283b4e2014-07-17 13:28:58 +0100377 try:
Matthew Treinishb86cda92013-07-29 11:22:23 -0400378 creds = cls.isolated_creds.get_admin_creds()
Andrea Frittoli8283b4e2014-07-17 13:28:58 +0100379 cls.os_adm = clients.Manager(
380 credentials=creds, interface=cls._interface)
381 except NotImplementedError:
382 msg = ("Missing Compute Admin API credentials in configuration.")
383 raise cls.skipException(msg)
384
Ghanshyam31501112014-06-23 13:56:42 +0900385 if cls._api_version == 2:
386 cls.availability_zone_admin_client = (
387 cls.os_adm.availability_zone_client)
ivan-zhu8f992be2013-07-31 14:56:58 +0800388
Ghanshyam31501112014-06-23 13:56:42 +0900389 else:
Ken'ichi Ohmichibcefa3d2014-05-09 08:14:05 +0900390 cls.servers_admin_client = cls.os_adm.servers_v3_client
391 cls.services_admin_client = cls.os_adm.services_v3_client
392 cls.availability_zone_admin_client = \
393 cls.os_adm.availability_zone_v3_client
394 cls.hypervisor_admin_client = cls.os_adm.hypervisor_v3_client
395 cls.flavors_admin_client = cls.os_adm.flavors_v3_client
396 cls.aggregates_admin_client = cls.os_adm.aggregates_v3_client
397 cls.hosts_admin_client = cls.os_adm.hosts_v3_client
398 cls.quotas_admin_client = cls.os_adm.quotas_v3_client
399 cls.agents_admin_client = cls.os_adm.agents_v3_client
400 cls.migrations_admin_client = cls.os_adm.migrations_v3_client
ivan-zhu8f992be2013-07-31 14:56:58 +0800401
Ken'ichi Ohmichibcefa3d2014-05-09 08:14:05 +0900402
403class BaseV2ComputeAdminTest(BaseComputeAdminTest):
404 """Base test case class for Compute Admin V2 API tests."""
405 _api_version = 2
406
407
408class BaseV3ComputeAdminTest(BaseComputeAdminTest):
409 """Base test case class for Compute Admin V3 API tests."""
Ken'ichi Ohmichi543a5d42014-05-02 08:44:15 +0900410 _api_version = 3