python-openstackclient/openstackclient
David Rosales 337d013c94 Use resource id when name given for identity show
Currently a user is allowed to specify either a resource ID or name
when running openstack identity comands. In some cases, when a name
is specified instead of an ID, the command will return as not able
to find the resource when it in fact does exist.

The changes here are to check the client against the token on such
requests and to extract the ID of the resource specified if enough
information exists between the two. We then use the ID associated
with the resource to complete the user requests.

Change-Id: I40713b0ded42063b786dc21247e854224b9d2fe2
Closes-Bug: #1561599
2016-06-22 21:55:46 -07:00
..
api Refactor setting defaults for some scope parameters 2016-06-21 08:55:30 +02:00
common Refactor setting defaults for some scope parameters 2016-06-21 08:55:30 +02:00
compute Merge "Standardize logger usage" 2016-06-20 17:26:57 +00:00
identity Use resource id when name given for identity show 2016-06-22 21:55:46 -07:00
image Make the print info support i18n 2016-06-21 13:52:51 +08:00
locale Imported Translations from Zanata 2016-06-04 06:18:46 +00:00
network Fix a missing i18n support in security_group_rule.py 2016-06-21 17:06:59 +08:00
object osc-lib: command 2016-06-13 11:00:22 -05:00
tests Use resource id when name given for identity show 2016-06-22 21:55:46 -07:00
volume Merge "Standardize logger usage in volume" 2016-06-15 00:09:15 +00:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Update translation setup 2016-01-29 08:18:50 +09:00
shell.py Do not prompt for scope options with default scoped tokens 2016-06-17 12:37:15 -04:00