openstack-python-openstackc.../openstackclient
Dean Troyer 14dbfe4474 Defer auth prompting until it is actually needed
Auth option prompting happens waaaay to early in the default
os-client-config flow, we need to defer it until adter the commands
have been parsed.  This is why ClientManager.setup_auth() exists,
as it is not called until the first attempt to connect to a server
occurs.  Commands that do not require authentication never hit this.

Also, required options were not being enforced.  By doing this we handle
when no authentication info is present, we fail on missing auth-url rather
than attempt to prompt for a password (default auth is password).

Closes-Bug: 1619274
Change-Id: Ia4eae350e6904c9eb2c8507d9b3429fe52418726
2016-09-08 10:31:13 -05:00
..
api Standardize import format 2016-07-22 19:24:02 +08:00
common Defer auth prompting until it is actually needed 2016-09-08 10:31:13 -05:00
compute osc-lib: shell 2016-08-05 13:48:55 -05:00
identity Merge "Add support for domain specific roles" 2016-08-18 23:30:54 +00:00
image osc-lib: shell 2016-08-05 13:48:55 -05:00
locale Imported Translations from Zanata 2016-06-04 06:18:46 +00:00
network Merge "Add '--dhcp' and '--no-dhcp' options to os subnet list cmd" 2016-08-11 07:27:35 +00:00
object osc-lib: shell 2016-08-05 13:48:55 -05:00
tests Rearrange integration tests 2016-08-31 14:59:36 -05:00
volume Rename backup commands in volume v1 and v2 2016-08-11 09:32:10 +08: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 Defer auth prompting until it is actually needed 2016-09-08 10:31:13 -05:00