def endpoint_list(profile=None, **connection_args):
 kstone = auth(profile, **connection_args)
 ret = {}
 for endpoint in kstone.endpoints.list():
  ret[endpoint.id] = dict(((value, getattr(endpoint, value)) for value in dir(endpoint) if ((not value.startswith('_')) and isinstance(getattr(endpoint, value), (six.text_type, dict, bool, str)))))
 return ret

def endpoint_list ( profile = None , ** connection_args ) : kstone = auth ( profile , ** connection_args ) ret = { } for endpoint in kstone . endpoints . list ( ) : ret [ endpoint . id ] = dict ( ( ( value , getattr ( endpoint , value ) ) for value in dir ( endpoint ) if ( ( not value . startswith ( '_' ) ) and isinstance ( getattr ( endpoint , value ) , ( six . text_type , dict , bool , str ) ) ) ) ) return ret
return a list of available endpoints cli example: .