Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli @ 54b6be76

Name Size
  commands
__init__.py 13.9 kB
argument.py 15.5 kB
command_shell.py 12.1 kB
command_tree.py 7.6 kB
config.py 5.1 kB
errors.py 5.5 kB
history.py 2.9 kB
logger.py 3.4 kB
one_command.py 3.9 kB
utils.py 15 kB

Latest revisions

# Date Author Comment
54b6be76 06/03/2013 02:26 pm Stavros Sachtouris

Use explicitely set services urls if no auth_url

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....

a4170d41 06/03/2013 01:02 pm Stavros Sachtouris

Implement --cloud arg to switch between clouds

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:...

f724cd35 05/31/2013 05:37 pm Stavros Sachtouris

Get endpoint urls for all CLI operations

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...

05e144e2 05/31/2013 01:29 pm Stavros Sachtouris

Create config file version 3

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....

7983398f 05/28/2013 11:45 am Stavros Sachtouris

Merge branch 'feature-expose-astakosclient' into develop

6f04d079 05/28/2013 11:45 am Stavros Sachtouris

Merge branch 'feature-osv2-compatibility' into develop

683335b1 05/27/2013 05:07 pm Stavros Sachtouris

Expose some basix astakosclient methods to cli

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

97fc1e06 05/27/2013 03:23 pm Stavros Sachtouris

Setup a snf-astakos command set

f0415090 05/24/2013 05:40 pm Stavros Sachtouris

Update config file version tag

137c51f5 05/24/2013 05:24 pm Stavros Sachtouris

Fix typo in kamak.cli.logger import

View revisions

Also available in: Atom