python-openstackclient/openstackclient/common
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
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
availability_zone.py Remove execute permission on a few files 2016-07-22 17:38:34 +00:00
client_config.py Defer auth prompting until it is actually needed 2016-09-08 10:31:13 -05:00
clientmanager.py Defer auth prompting until it is actually needed 2016-09-08 10:31:13 -05:00
command.py Finish osc-lib transition for command.py 2016-06-15 22:50:43 +00:00
commandmanager.py Fix dict.keys() compatibility for python 3 2016-03-12 10:58:28 +08:00
configuration.py Improve masking of secrets in configuration show 2016-06-21 06:56:23 +00:00
exceptions.py Use osc-lib and set up deprecation warnings 2016-06-10 08:35:54 -05:00
extension.py Standardize logger usage 2016-06-20 15:16:51 +00:00
limits.py osc-lib: command 2016-06-13 11:00:22 -05:00
logs.py osc-lib: logs 2016-06-13 10:55:44 -05:00
module.py osc-lib: command 2016-06-13 11:00:22 -05:00
parseractions.py osc-lib: parseractions 2016-06-13 10:55:44 -05:00
quota.py Allow setting quotas for server groups and server group members 2016-07-27 13:04:36 +03:00
session.py Switch to ksa Session 2015-12-02 01:55:14 +00:00
timing.py osc-lib: timing 2016-06-13 11:08:21 -05:00
utils.py Use osc-lib and set up deprecation warnings 2016-06-10 08:35:54 -05:00