python-openstackclient/openstackclient
Terry Howe 0b2987fef3 Fix find_resource for keystone and cinder
The find_resource method had two hacks in in to support cinder
and keystone and I have removed those in favor of a monkey patch
for cinder.

The find_resource method used to attempt to UUID parse the id, but
it would do a manager.get anyway.  I changed it to skip the UUID
parsing.  This will make things run minorly faster and it supports
LDAP for keystone.

The find_resource used to attempt to use display_name=name_or_id
when finding.  This was a hack for cinder support, but it breaks
keystone because keystone totally messes up with the bogus filter
and keystone refuses to fix it.

Change-Id: I66e45a6341f704900f1d5321a0e70eac3d051665
Closes-Bug: #1306699
2014-06-17 10:24:26 -06:00
..
common Fix find_resource for keystone and cinder 2014-06-17 10:24:26 -06:00
compute Ignore most of the new hacking 0.9.2 rules 2014-06-13 17:06:28 -05:00
identity Refactor oauth1 code for updates 2014-06-14 17:21:17 -04:00
image Image create and set command updates and tests 2014-06-16 23:30:46 -04:00
object replace string format arguments with function parameters 2014-05-20 13:49:56 +02:00
openstack Update oslo incubator bits 2014-02-20 14:09:01 -06:00
tests Fix find_resource for keystone and cinder 2014-06-17 10:24:26 -06:00
volume Fix find_resource for keystone and cinder 2014-06-17 10:24:26 -06:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
shell.py Clean up logging levels 2014-06-13 17:15:17 -05:00