Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli / config.py @ b3cb58c2

History | View | Annotate | Download (14 kB)

# Date Author Comment
a7aacf12 07/16/2013 06:22 pm Stavros Sachtouris

Complete ConfigArgument testing

Refs: #4058

a624a072 07/15/2013 01:49 pm Stavros Sachtouris

Accepte tilda as a character for a cloud name

Refs: #4126

320aac17 07/08/2013 02:21 pm Stavros Sachtouris

Exclude unset optional cmd groups

Refs: #4114

E.g. the cyclades spec package contains the non-optional group "server" and
the optional group "floatingip". Now kamaki can load only the "server"
group, except if the user requests the loading of "floatingip" group too.

e3f01d64 06/26/2013 12:28 pm Stavros Sachtouris

Update the copyright dates everywhere

35d47a6c 06/18/2013 11:54 am Stavros Sachtouris

Fix write recovery bug in kamaki.cli.config

write failed to recover config memory repr. after writing in disk

Refs: #4030

29be4062 06/18/2013 10:57 am Stavros Sachtouris

Create InvalidCloudNameError, raise it when needed

Refs: #4030

6144f3d4 06/17/2013 06:37 pm Stavros Sachtouris

Make cloud prefix a global settings

Refs: #4030

fa382f9e 06/14/2013 05:51 pm Stavros Sachtouris

Fix deprecated terms in documentation

0d68bdc5 06/13/2013 06:44 pm Stavros Sachtouris

Merge branch 'feature-expose-astakosclient' into develop

Conflicts:
kamaki/cli/commands/snf-astakos.py

df0045d8 06/13/2013 06:37 pm Stavros Sachtouris

Fix all minor typos and modifications in tests

c825ddc9 06/12/2013 04:55 pm Stavros Sachtouris

Use the default_cloud global option

Refs: #3934 #3979

144b3551 06/12/2013 03:02 pm Stavros Sachtouris

Change term "remote" to "cloud" when proper

Refs: #3934

fa479dc3 06/10/2013 06:11 pm Stavros Sachtouris

Update some of the documentation

this commit serves back-up purposes mostly

114e19da 06/10/2013 11:54 am Stavros Sachtouris

Adjust astakos functional tests to novel features

Refs: #3964

b4f69041 06/06/2013 05:29 pm Stavros Sachtouris

Adjust all command specs to multicloud/singleauth

Refs: #3934

844a6bdb 06/06/2013 01:32 pm Stavros Sachtouris

Adjust config cli commands to serve remotes

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

362adf50 06/05/2013 07:00 pm Stavros Sachtouris

Decide a cloud term, use it if no cloud.url

Refs: #3934

ce9ccb40 06/05/2013 03:43 pm Stavros Sachtouris

Implement remotes support in Config and cli init

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

14b9a185 06/04/2013 06:44 pm Stavros Sachtouris

Plan Config changes (rescue_old_file, translates)

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

5482bc0a 06/04/2013 06:11 pm Stavros Sachtouris

Implement Config.guess_version for config files

3f0eae61 06/04/2013 06:11 pm Stavros Sachtouris

Implement the Config.guess_version method

201baa17 06/04/2013 02:03 pm Stavros Sachtouris

A. Hardcode the new kamaki config file

Refs: #3934

Breaks compatibility, implements a remotes-based config file

f5c28bfa 06/04/2013 12:30 pm Stavros Sachtouris

Backwards compatibility for configuraiton file

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

9d8737a2 06/03/2013 05:29 pm Stavros Sachtouris

Fix typos in default and expected values

819311d3 06/03/2013 05:19 pm Stavros Sachtouris

Handle url proccessing even if url is unicode

Also, fix typos and default values for service configurations

e7884f25 06/03/2013 04:49 pm Stavros Sachtouris

Fix typo in astakos client: version_id-->versionId

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

e1c18867 05/28/2013 05:50 pm Stavros Sachtouris

Wip snf-astakos, try-import it by default

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

edf00ab3 04/18/2013 03:59 pm Stavros Sachtouris

Set ~/.kamaki.log with mode 0600 as default

Refs: #3610

a29d2f88 04/15/2013 12:12 pm Stavros Sachtouris

Apply uniform descriptions to all client commands

<GRNET name>/<OS name> API <actuall api> commands

e.g.
Cyclades/Compute API server commands
or
Pithos+/Storage API commands

Commands file names are named after the API they implement, not the command interface....

1792ed1d 04/15/2013 11:22 am Stavros Sachtouris

Remove quotaholder from kamaki

This affects the cli:
- remove the quotaholder commands set
- remove the commissioning system (automatic command retrieval)

This affevts the clients:
- remove the quotaholder client
- remove the clients commissioning system...

0ea31480 04/12/2013 06:27 pm Stavros Sachtouris

Update docs, rename kamaki.cli.commands/*

Documentation updates: reflect the changes in command groups
astakos --> user, store --> file

File renaming: remove the _cli suffix from modules in kamaki.cli.commands

Feature #3566

3ae60112 04/12/2013 05:34 pm Stavros Sachtouris

Rename store command group to file

Feature #3566

4018326d 04/12/2013 05:10 pm Stavros Sachtouris

Rename command group astakos to user

The client is still called 'astakos', but the command group is now 'user'

Feature #3566

c5b9380c 04/11/2013 02:41 pm Stavros Sachtouris

Allow users to set maximum thread limit

This is implemented as a configuration option in cli
Developers may set it as kamaki.clients.Client.MAX_THREADS = <limit>

Adjust documentation acoordingly

Feature #3546

a9fca388 01/30/2013 04:38 pm Stavros Sachtouris

CHANGELOG for version 0.6.3

1. Get rid of OrderedDict dependency (for python <= 2.6)
2. Minor fixes

3fe56be4 01/03/2013 05:09 pm Stavros Sachtouris

Richer help for config CLI commands

New feature: config delete --default to remove a default config option during
a session

57ecec97 01/03/2013 12:38 pm Stavros Sachtouris

Include defaults by default in config list

d6737e18 12/17/2012 08:07 pm Stavros Sachtouris

Help user initial kamaki setup (docs and defaults)

8eb8c540 11/16/2012 06:59 pm Stavros Sachtouris

Reload config after config modifications in shell

4f6a21f6 11/14/2012 02:14 pm Stavros Sachtouris

Colors are off by default

fd5db045 10/31/2012 07:02 pm Stavros Sachtouris

pep8 part of kamaki (from root to cli)

f7e38cbb 10/30/2012 02:13 pm Stavros Sachtouris

Fix image list_public syntax bug, gracefull error

Connection module errors are controled and nicer
untitest list_public

b9d07587 10/30/2012 01:25 pm Stavros Sachtouris

Astakos: minor config bug, introduce unittesting

9f1d1fcf 10/29/2012 07:09 pm Stavros Sachtouris

History file at root

e8bd81eb 10/29/2012 06:15 pm Stavros Sachtouris

Default values minor fixes

554d18b0 10/29/2012 05:31 pm Stavros Sachtouris

Setup default values for synnefo services

Defult values refer to the okeanos production
services. If the caller has access to okeanos
production site (an account name and a token)
then the minimum config file for kamaki is

[global]
account=...

b46307af 10/08/2012 07:15 pm Stavros Sachtouris

History as command

26cd03ca 10/05/2012 06:58 pm Stavros Sachtouris

Adjust config

7493ccb6 09/04/2012 06:57 pm Stavros Sachtouris

Correct repackaging, minor server list improvement