Hi,

Maybe you need:
curl -i -X GET http://IPAddr:35357/v2.0/tenants?{name=XXXX} -H "User-Agent: 
python-keystoneclient" -H "X-Auth-Token: XXXXXXXXXXXXXXXXXXXXXX"

Hope this helps.

Best Regards,
Daniel

From: Peter Scott<mailto:[email protected]>
Date: 2015-01-09 09:42
To: [email protected]<mailto:[email protected]>
Subject: [Openstack] Get tenant by name

Hello.  The v2.0 API documentation at
http://developer.openstack.org/api-ref-identity-v2.html says that it is
possible to look up a tenant by name.  It comes right after the "list
all tenants" call and looks the same, although if I understand it
correctly it takes a request body with a 'name' parameter.

However, I can't find any Python support for that lookup nor a curl
example.  Can someone supply either a curl example or a python call that
looks up a tenant by name please?

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to