def raw_v3_domain_list(self, token): url = self.__get_full_url('/v3/domains', p_port=36387) headers = {'Content-type': 'application/json', 'X-Auth-Token': token} return reqwithlog.get(url, headers=headers)
def private_keystone_version_get(self): url = self.__get_full_url('/api/keystone_version') headers = {'Content-type': 'application/json'} return reqwithlog.get(url, headers=headers)
def raw_v2_tenant_list(self, token): url = self.__get_full_url('/v2.0/tenants') headers = {'Content-type': 'application/json', 'X-Auth-Token': token} return reqwithlog.get(url, headers=headers)
def raw_v2_tenant_get_by_name(self, token, tenant_name): url = self.__get_full_url('/v2.0/tenants?name=%s' % tenant_name) headers = {'Content-type': 'application/json', 'X-Auth-Token': token} return reqwithlog.get(url, headers=headers)
def private_common_user_list(self, token): url = self.__get_full_url('/api/v1.0/auth/users') headers = {'Content-type': 'application/json', 'X-Auth-Token': token} return reqwithlog.get(url, headers=headers)