openstack-python-openstackc.../openstackclient
Dean Troyer 42d0b20ebc Add --or-show option to user create
The --or-show option is added to create commands for the common case
of needing to ensure an object exists and getting its properties if
it does or creating a new one if it does not exist.

Note that if the object exists, any additional options that would
set values in a newly created object are ignored if the object
exists.

FakeResource needs the __name__ attribute to fall through utils.find_resource.

Prove the concept on v2 user create then propogate once we're happy with it...

Change-Id: I6268566514840c284e6a1d44b409a81d6699ef99
2014-11-07 12:28:42 -06:00
..
api Merge "Change --os-auth-plugin to --os-auth-type" 2014-10-24 16:11:42 +00:00
common Adjust some logging levels 2014-10-24 13:16:41 -05:00
compute Fix server create for boot-from-volume 2014-10-24 17:55:44 -05:00
identity Add --or-show option to user create 2014-11-07 12:28:42 -06:00
image Merge "Close files on image create" 2014-10-24 16:16:04 +00:00
network Remove ClientManager._service_catalog 2014-10-18 00:01:52 -05:00
object Remove ClientManager._service_catalog 2014-10-18 00:01:52 -05:00
tests Add --or-show option to user create 2014-11-07 12:28:42 -06:00
volume Remove now-unnecessary client creation hacks 2014-10-18 00:01:45 -05:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Add translation markers for user v2 actions 2014-10-09 14:47:19 -04:00
shell.py Adjust some logging levels 2014-10-24 13:16:41 -05:00