Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli @ f17d6cb5

# Date Author Comment
f17d6cb5 07/16/2013 04:55 pm Stavros Sachtouris

Fully test argument.Argument

Refs: #4058

5286e2c3 07/16/2013 02:57 pm Stavros Sachtouris

Initialize unittests for argument.Argument

Refs: #4058

Also, make argument package a directory

d252a7a8 07/15/2013 05:16 pm Stavros Sachtouris

Fully test CommandTree

Refs: #4058

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

Accepte tilda as a character for a cloud name

Refs: #4126

0962adb7 07/15/2013 12:54 pm Stavros Sachtouris

Setup test example commands for CommandTree

Refs: #4058

9a22e094 07/12/2013 04:57 pm Stavros Sachtouris

Implement all unittests for command_tree.Command

Refs: #4058

eb46e9a1 07/12/2013 02:50 pm Stavros Sachtouris

Spot and remove unused Command methods

2fde8651 07/12/2013 01:27 pm Stavros Sachtouris

Setup unittest for CLI and apply to commant_tree

Refs: #4058

Only a init and name methods are tested for now

84b0517f 07/08/2013 05:36 pm Stavros Sachtouris

Expose commission issue commands

Refs: #4115

0155548b 07/08/2013 05:21 pm Stavros Sachtouris

Expose commission commands (astakos)

Refs: #4115

New commands: astakos_commission_*:
pending, info, action, accept, reject, resolve

Also implement the CommaSeparatedListArgument structure

d1d0cec9 07/08/2013 04:19 pm Stavros Sachtouris

Expose more astakosclients methods (1to1)

Refs: #4115

New commands: astakores_resources/feedback/endpoints

Also, wrap astakosclient expositions with an error handling decorator

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.

023d7ab0 07/08/2013 11:55 am Stavros Sachtouris

Update inline documentation for get->whoami rename

49fac78e 07/08/2013 11:22 am Stavros Sachtouris

Rename user_get-->user_whoami

258a45f3 06/28/2013 03:03 pm Stavros Sachtouris

Fix user_list docs

6a2a28bd 06/28/2013 02:58 pm Stavros Sachtouris

Add name and uuid of session user to shell greet

Refs: 3632

dc897a7e 06/28/2013 01:57 pm Stavros Sachtouris

Allow multiple tokens per cloud configuration

Refs: #3632

fe4940bc 06/27/2013 03:52 pm Stavros Sachtouris

Implement user_get/set for session user

Refs: #3632

user_info --> user_get
Each kamaki session has a session user
The user defined in the config file through cloud....token
During the session, kamaki users may authenticate more users by tokens
and switch between them with user_set command...

b91111b9 06/27/2013 03:01 pm Stavros Sachtouris

Implement user_info to show current user info

Refs: #3632

9a8861d1 06/27/2013 02:52 pm Stavros Sachtouris

Implement a user_list to list cached shell users

Refs: #3632

31618e2a 06/27/2013 12:54 pm Stavros Sachtouris

Parse publicURL to fix astakos init, pretty quotas

Refs: #3632

556e6916 06/26/2013 05:58 pm Stavros Sachtouris

Fix logger in snf-astakos commands

77df3d4a 06/26/2013 05:01 pm Stavros Sachtouris

Add --wait 2 network_create/delete + upd Changelog

Refs: 3867

7b2e4bf1 06/26/2013 04:47 pm Stavros Sachtouris

Make wait mechanism usble by more cyclades methods

Refs: #3867

60c42f9f 06/26/2013 02:35 pm Stavros Sachtouris

Add a --wait option to various server commands

Refs: #3867

Commands affected: server_create/start/shutdown/reboot

Also, the wait functionality is now encapsulated in a _server_wait class
The server_wait command is just an implementation of this class.

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

Update the copyright dates everywhere

0ec19fd3 06/25/2013 05:49 pm Stavros Sachtouris

Restore history-run functionality

a0608786 06/25/2013 05:06 pm Stavros Sachtouris

Fix spelling mistake (ident-->indent)

f55d3a15 06/25/2013 01:50 pm Stavros Sachtouris

Simplify listings

Modify print_list/dict/items methods of kamaki.cli.utils to be simpler
and print output in a simpler form
key: value
key:
key: value
key:
key: value
...
key:
list-item...
a57402cd 06/21/2013 05:28 pm Stavros Sachtouris

Expose floatingip command group to CLI

9b47150e 06/21/2013 05:19 pm Stavros Sachtouris

Expose impemented floating IP methods

New commands:

floatingip list/create/delete/info/pools
server ip attach/detach

Also, renamed the assoc/disassoc floating ip clients methods to
attach/detach_floating_ip

d12169cc 06/19/2013 05:57 pm Stavros Sachtouris

Merge branch 'feature-adjust-docs' into develop

7ba195e5 06/19/2013 05:56 pm Stavros Sachtouris

Remove links from simple listing

d0f431bb 06/19/2013 05:35 pm Stavros Sachtouris

Add network examples

0b158e6b 06/19/2013 02:58 pm Stavros Sachtouris

Add image registration examples

9e5341f5 06/18/2013 02:51 pm Stavros Sachtouris

Complete the listing section

30aeeb39 06/18/2013 11:58 am Stavros Sachtouris

Remove forgoten debug message

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

b4ed3a7e 06/17/2013 04:34 pm Stavros Sachtouris

Rename: scenarios-->examples, add first content

- configuration section, with clouds
- Simple listing
- Pithos advanced listing

8fe9ed4e 06/17/2013 12:14 pm Stavros Sachtouris

Add seperator in item listing (unnamed)

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

Fix deprecated terms in documentation

a7533bf3 06/14/2013 12:54 pm Stavros Sachtouris

Recover old token in case of authentication error

9e0a1a4c 06/14/2013 11:35 am Stavros Sachtouris

Prepare special local paths (like .) for pithos

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

69691087 06/12/2013 05:32 pm Stavros Sachtouris

Do not suggest ansicolors if colors == off

Refs: #3978

031ca67d 06/12/2013 05:17 pm Stavros Sachtouris

Fix typos in error messages and helps

Refs: #3979

47f37f7c 06/12/2013 05:13 pm Stavros Sachtouris

Fix log level for expected command failures

44101d8a 06/12/2013 05:00 pm Stavros Sachtouris

Updagrade error message for multiple clouds

Refs: #3979

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

904091dd 06/11/2013 07:27 pm Stavros Sachtouris

Adjust docs to cover multiple clouds functionality

This commit server as a backup mostly, since the adjustments are not yet
applied to docs/commands and all docs/developers kamaki guides.

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

Update some of the documentation

this commit serves back-up purposes mostly

9dc6159f 06/10/2013 04:03 pm Stavros Sachtouris

Document the Upgrade notes for v0.9

72fa0010 06/10/2013 03:11 pm Stavros Sachtouris

Fix PEP8 warning

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

Adjust astakos functional tests to novel features

Refs: #3964

866a5b5e 06/07/2013 03:42 pm Stavros Sachtouris

Merge branch 'feature-endpoints' into develop

c626151a 06/07/2013 03:41 pm Stavros Sachtouris

Adjust help messages to configuration changes

Refs:#3934

40bdbfa3 06/07/2013 02:25 pm Stavros Sachtouris

Merge branch 'feature-endpoints' into develop

e0d03685 06/07/2013 02:24 pm Stavros Sachtouris

Fix a PEP8 issue

14d15eca 06/07/2013 02:19 pm Stavros Sachtouris

Use os-specific path seperators in up/down-load -R

Refs: #3954

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

Adjust all command specs to multicloud/singleauth

Refs: #3934

99085b30 06/06/2013 02:20 pm Stavros Sachtouris

Make sure user and history commands work fine

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

82e32e50 06/03/2013 03:14 pm Stavros Sachtouris

Fix typos in user command flow

ef00bc31 06/03/2013 02:37 pm Stavros Sachtouris

Apply servce.url options to cross-sercice calls

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

8cec3671 06/03/2013 02:22 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....

cb4a5d9c 06/03/2013 12:58 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....

1ace29b9 05/29/2013 10:55 am Stavros Sachtouris

Remove undesired logging in non-verbose mode

09b2b38e 05/28/2013 06:03 pm Stavros Sachtouris

Differenciate cli logger from astakosclient logger

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

Wip snf-astakos, try-import it by default

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

bcef3ac9 05/24/2013 04:47 pm Stavros Sachtouris

Rename meta-->metadata and remove values @CLI

Refs: #3633

aa82dd5a 05/23/2013 05:25 pm Stavros Sachtouris

Add metadata management to image register

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

117ca598 05/22/2013 06:05 pm Stavros Sachtouris

Merge branch 'feature-json-output' into develop

Conflicts:
Changelog
kamaki/cli/commands/image.py

Also, take care of pep8 issues

d9301a7a 05/22/2013 06:01 pm Stavros Sachtouris

Fix typo in pithos upload output

545c6c29 05/22/2013 05:26 pm Stavros Sachtouris

Implement an optional json output 4 outputing cmds

Refs: #3732

6dfd55cb 05/22/2013 01:42 pm Stavros Sachtouris

Add json/optional output to astakos cmds

Refs: #3732

1b73b4c1 05/22/2013 01:38 pm Stavros Sachtouris

Add json/optional responses to flavor/network cmds

Refs: #3732

cd295a1d 05/22/2013 01:07 pm Stavros Sachtouris

Add json/optional outputs to server commands

Refs: #3732

c4aefeaf 05/21/2013 07:32 pm Stavros Sachtouris

Update and enrich error messages in image register

Parse ivalid property file and guide users to correct it
Guide users to pass valid container:path parameters

Refs:#3769