Move get_client_class() to common.utils

* add constants for API_NAME

Change-Id: I8ccf72f032227e0a452d96303181549b1b11a5d1
This commit is contained in:
Dean Troyer
2012-05-10 16:25:31 -05:00
parent 5378322906
commit fa4a4a37d6
4 changed files with 34 additions and 24 deletions
openstackclient

@ -201,12 +201,6 @@ class OpenStackShell(App):
if cmd_name != 'help':
self.authenticate_user()
self.log.debug("API: Identity=%s Compute=%s Image=%s" % (
self.api_version['identity'],
self.api_version['compute'],
self.api_version['image'])
)
def prepare_to_run_command(self, cmd):
"""Set up auth and API versions"""
self.log.debug('prepare_to_run_command %s', cmd.__class__.__name__)