Merge "Add service_catalog property"
This commit is contained in:
commit
ad041f4252
@ -228,6 +228,11 @@ class OpenStackCloud(object):
|
||||
"Error authenticating to the keystone: %s " % e.message)
|
||||
return self._keystone_session
|
||||
|
||||
@property
|
||||
def service_catalog(self):
|
||||
return self.keystone_session.auth.get_access(
|
||||
self.keystone_session).service_catalog.get_data()
|
||||
|
||||
@property
|
||||
def auth_token(self):
|
||||
if not self._auth_token:
|
||||
|
Loading…
x
Reference in New Issue
Block a user