Merge "Deprecate rally.osclients.EC2"

This commit is contained in:
Jenkins 2017-04-21 18:14:29 +00:00 committed by Gerrit Code Review
commit 17eb965a93
2 changed files with 2 additions and 8 deletions

View File

@ -661,6 +661,8 @@ class EC2(OSClient):
"""
def create_client(self):
"""Return ec2 client."""
LOG.warning("rally.osclient.EC2 is deprecated since Rally 0.10.0.")
import boto
kc = self.keystone()

View File

@ -417,14 +417,6 @@ class Trove(ResourceManager):
return self.client.module.list(datastore="all")
class EC2(ResourceManager):
REQUIRED_SERVICE = consts.Service.EC2
def list_servers(self):
return self.client.get_only_instance()
class Monasca(ResourceManager):
REQUIRED_SERVICE = consts.Service.MONASCA