Remove get_server_group()

server_groups_client is not released yet on the latest temepst-lib
(v0.11.0), so we can remove get_server_group() because nobody uses
this method.

Change-Id: Ibc63c797fa72ac265ca72a0786071c458531b87d
This commit is contained in:
Ken'ichi Ohmichi
2015-12-03 05:36:46 +00:00
parent ca166499b5
commit f68477508c

View File

@@ -14,7 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo_log import log as logging
from oslo_serialization import jsonutils as json
from tempest_lib.api_schema.response.compute.v2_1 import servers as schema
@@ -22,7 +21,6 @@ from tempest_lib.common import rest_client
class ServerGroupsClient(rest_client.RestClient):
LOG = logging.getLogger(__name__)
def create_server_group(self, **kwargs):
"""Create the server group
@@ -57,8 +55,3 @@ class ServerGroupsClient(rest_client.RestClient):
body = json.loads(body)
self.validate_response(schema.create_show_server_group, resp, body)
return rest_client.ResponseBody(resp, body)
def get_server_group(self, server_group_id):
self.LOG.warning("%s method was deprecated and renamed to %s" %
("get_server_group", "show_server_group"))
return self.show_server_group(server_group_id)