update rackspace clients.py

Overriding trove method in rackspace clients.py to work with
openstack Trove resource (OS::Trove::Instance).

Closes-Bug: #1261514
Change-Id: Ie203fed4ae1e0af66ed0d9b0add5a288972b9c47
This commit is contained in:
Vijendar Komalla 2013-12-16 15:39:32 -06:00 committed by Gerrit Code Review
parent b3a17f3609
commit 0dcb30c08e

View File

@ -89,6 +89,10 @@ class Clients(clients.OpenStackClients):
'''Rackspace neutron client.'''
return self._get_client("network")
def trove(self):
'''Rackspace trove client.'''
return super(Clients, self).trove(service_type="rax:database")
def __authenticate(self):
# current implemenation shown below authenticates using
# username and password. Need make it work with auth-token