- 07 Jun, 2013 3 commits
-
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Refs: #3954
-
- 06 Jun, 2013 3 commits
-
-
Stavros Sachtouris authored
Refs: #3934
-
Stavros Sachtouris authored
Refs: #3934
-
Stavros Sachtouris authored
Refs: #3934 config set remote.smth.option value inserts option=value in remote smth config get remote.smth lists the contents (key=val) of remote smth config delete remote.smth.option deletes this specific option from the remote smth config delete remote.smth completely erased the remote smth
-
- 05 Jun, 2013 2 commits
-
-
Stavros Sachtouris authored
Refs: #3934
-
Stavros Sachtouris authored
Refs: #3934 In Config: Simplify guess_version heuristics (check if the following exist: global.url/token, remote-defaults) Trasnlate files 'remote "name"' to 3-level dict and back Implement rescue_old_file to convert config files to v3.0 In kamaki.cli: Implement method _check_config_version
-
- 04 Jun, 2013 5 commits
-
-
Stavros Sachtouris authored
Refs: #3934 rescue_old_file: mines info from old config file to use them in new file translates: remote "smth" --> 'remote': {'smth': ... global.{url, token} --> remote.default.{url, token} <command>.cli --> global.command_cli some commands are maped to other names, e.g. pithos --> file <command>.url --> remote.defailt.<command>_url
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Refs: #3934 Breaks compatibility, implements a remotes-based config file
-
Stavros Sachtouris authored
Compatible with kamaki config files v2 user.url, file.url, compute.url and image.url are now valid and of higher priority to astakos.url, pithos.url, cyclades.url, plankton.url which are also valid All these are ignored iff [global].auth_url is given
-
- 03 Jun, 2013 13 commits
-
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Also, fix typos and default values for service configurations
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Refs: #3874 Let cross-service initializations to use explicit service endpoint urls if there is no single authentication url. - In Image commands, there are calls that use astakos and pithos clients - In pithos there are calls that use astakos client
-
Stavros Sachtouris authored
Refs: #3874 In current configuration, kamaki checks for auth_url. If that fails, it raises an error. If it is not set, it prints a warning and attempts to read the <service>.url option from the configuration file. Service urls: astakos.url, pithos.url, cyclades.url, plankton.url
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Refs: #3913 Config file can (optionaly) contain: [remotes] example = https://www.example.org/astakos/identity/v2.0/ old_version = https://www.example.org/astakos/identity/v1.0/ ... Now, user can explicitely request for a remote cloud authentication URI: kamaki --cloud=<remote>
-
- 31 May, 2013 5 commits
-
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Refs: #3874 Use kamaki.clients.astakos.AstakosClient as a cached astakos client to get user information and, most importantly, endpoints. Allow users to authenticate multiple tokens on the same session. In every session there must be at most one authentication per user/token. Major change: top kamaki.cli.commands class now contains a base_auth field with the cached authenticating client. All urls are drained from this field.
-
Stavros Sachtouris authored
Refs: #3874 Minimum config file: [global] token = <user token> Changes: - Only one field "cli" for user command specs, to map command groups to CLIs: [cli] user = astakos file = pithos server = cyclades ... - Specify client services/apis and versions. General format: [client] type = <service> version = <api version> Example: [cyclades] type = compute version = v2.0
-
Stavros Sachtouris authored
Conflicts: Changelog version
-
- 30 May, 2013 1 commit
-
-
Stavros Sachtouris authored
Refs: #3874 Kamaki.clients.astakos.AstakosClient is now a high-level client lib that offers access to token-authenticated astakos-aquired cached information. Users who need an astakos client should use the snf-astakosclient instead. Usage: astakos_cache = AstakosClient(<astakos/base/url/with/identity/api>) astakos_cache.authenticate(<token>) user_info = astakos_cache.user_info() compute_endpoints = astakos_cache.get_service_endpoints('compute', 'v2') Major changes: Modify ReST call from /im/authenticate to /tokens New methods as AstakosClient instance cache accessors: get_services get_service_details get_service_endpoints Method renaiming for existing AstakosClient instance cache accessors: info --> user_info user --> list_users
-
- 29 May, 2013 3 commits
-
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
- 28 May, 2013 3 commits
-
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
- 27 May, 2013 2 commits
-
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Methods exposed: get_user_info as authenticate get_uuid[s] as uuid get_username[s] as username get_quotas as quotas services_get_uuid[s]/username[s]/quotas as service uuid/username/quotas
-