- 03 Jun, 2013 8 commits
-
-
Stavros Sachtouris authored
Also, fix typos and default values for service configurations
-
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 5 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
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
- 24 May, 2013 3 commits
-
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Refs: #3633
-
- 23 May, 2013 5 commits
-
-
Stavros Sachtouris authored
- Meta-->metadata in some cases, according to the expected cyclades API - remove values level from requests and responses @ cyclades lib Refs: #3633
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
- validate image metadata format - read metadata from file - merge file-loaded metadata with runtimes - store metadata file on pithos, check existance, overwrite with -f - raise helpful error messages when there fail Refs: #3797
-
Stavros Sachtouris authored
- Ensure uniform image meta output - Easy to apply the correct meta format Refs: #3797
-
- 22 May, 2013 7 commits
-
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Conflicts: Changelog kamaki/cli/commands/image.py Also, take care of pep8 issues
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Refs: #3732
-
Stavros Sachtouris authored
Refs: #3732
-