Remove Nova v3 API code from RestClient
Nova v3 API has disappeared, and Tempest isn't testing the API on the
gate now. In addition, Nova team is creating a new REST API "Nova v2.1
API + microversions" and the interfaces are different from v3 API.
So it is not necessary to keep Nova v3 API tests in Tempest.
This patch removes Nova v3 API code from RestClient for code cleanup.
Change-Id: I46631092e1c851f4603035c3dcc11287b777323c
diff --git a/tempest/common/rest_client.py b/tempest/common/rest_client.py
index c25aa8d..c54f698 100644
--- a/tempest/common/rest_client.py
+++ b/tempest/common/rest_client.py
@@ -153,11 +153,6 @@
if catalog_type == service:
endpoint_type = getattr(cfg, 'endpoint_type', 'publicURL')
break
- # Special case for compute v3 service which hasn't its own
- # configuration group
- else:
- if service == CONF.compute.catalog_v3_type:
- endpoint_type = CONF.compute.endpoint_type
return endpoint_type
@property