Somewhat doing usefull things
This commit is contained in:
@@ -54,7 +54,7 @@ class Openstack_Keystone():
|
||||
return(_endpoint)
|
||||
|
||||
def getEndpointByNameIDAndInterface(_self,name,interface):
|
||||
serviceID=_self.getServicebyName(name)['id']
|
||||
id=_self.getServicebyName(name)['id']
|
||||
for _endpoint in _self.catalogData['endpoints']:
|
||||
if str(_endpoint['service_id']).lower()==str(id).lower():
|
||||
if str(_endpoint['interface']).lower()==str(interface).lower():
|
||||
|
||||
Reference in New Issue
Block a user