Different endpoint urls can be searched with 'admin', 'internal' and
'public' interface.
Change-Id: I57207826d0dc2c18ce0e6a0abf09140f639f64ba
Signed-off-by: Linda Wang <wangwulin@huawei.com>
return auth
-def get_endpoint(service_type, endpoint_type='publicURL'):
+def get_endpoint(service_type, interface='public'):
auth = get_session_auth()
return get_session().get_endpoint(auth=auth,
service_type=service_type,
- endpoint_type=endpoint_type)
+ interface=interface)
def get_session(other_creds={}):