Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli / commands @ ed9af02c

# Date Author Comment
ed9af02c 05/15/2013 05:36 pm Stavros Sachtouris

Add enumeration as optional for all list cmds

Refs: #3739

74c65e80 05/15/2013 03:44 pm Stavros Sachtouris

Cache container info request per upload session

Refs: #3735

0e728dcb 05/14/2013 07:30 pm Stavros Sachtouris

Add a -l option to upload: list uploaded details

If the upload is successfull, if the -l or --details argument is present,
kamaki lists all uploaded objects with all details returned by the server
(e.g. object version, date of creation, etc)

Refs: #3730

be4a8ccd 05/14/2013 06:22 pm Stavros Sachtouris

Implement purging a non-empty container

kamaki file purge <container> -F

will automatically empty a container before purging it

Refs: #3662

4a17d307 05/14/2013 05:12 pm Stavros Sachtouris

Expose image-unregister to cli and unittest it

0d4a6d0a 05/10/2013 06:33 pm Stavros Sachtouris

Stop shell from destroying config instance

This caused warnings about preset variables

9986e569 05/09/2013 07:06 pm Stavros Sachtouris

Globalize logger usage

Unsolved bug: redudant info in logfile

9f783a51 04/30/2013 01:54 pm Stavros Sachtouris

Make containerlimit set/get aware of 0==unlimited

containerlimit set -h will tell users to use 0 for unlimited
containerlimit get will print "unlimited" if received a 0 value

c8d8c6c9 04/30/2013 01:37 pm Stavros Sachtouris

Alow uploading to container with limit 0

Container limit 0 means "unlimited"

8b516110 04/25/2013 01:25 pm Stavros Sachtouris

Move addproperty from image to image compute

1736e06d 04/24/2013 03:35 pm Stavros Sachtouris

Fix typo with --config and --property args (#3658)

bfb54881 04/18/2013 06:05 pm Stavros Sachtouris

Fix mispeled import cyclades_cli --> cyclades

2d158d8b 04/17/2013 12:01 pm Stavros Sachtouris

Make recursive upload non-default, rearange checks

Alloow recursive upload with R
Rearange pre-upload checks as shown bellow:
check first if it is recursive & direcory
- check if object exists or forced to overwrite
- check container limit and used size...

2b74fc1d 04/17/2013 11:45 am Stavros Sachtouris

Take into account container used bytes in upload

Before uploading, check if there is enough remaining space on container
remaning space = container limit - container used bytes

14b25e00 04/16/2013 05:26 pm Stavros Sachtouris

Prevent upload if uploads exceed container limit

Feature #3536

b666ef82 04/16/2013 03:45 pm Stavros Sachtouris

Implement a recursive upload

kamaki file upload <directory> <container>[:remote-dir]

where remote-dir either is a dir or does not exist

Feature #3536

faeccbf9 04/15/2013 04:31 pm Stavros Sachtouris

Add some client-side filters to image list

--owner=<uuid> : print only images with given owner

--name-prefix=

  :  print only images with name starting with <prefix>
--name-suffix=<suffix>  :  print only images with name starting with <suffix>
--name-like=<part>      :  print only images with name containing <part>...

f9457c89 04/15/2013 03:57 pm Stavros Sachtouris

Filter image listing results by owner

Introduce the --owner parameter to kamaki image list (was: image public)
If given, only images of given owner will be pronted on console. This is a
client side filtering, as oposed to the other filters of the command.

f6f81cd3 04/15/2013 02:37 pm Stavros Sachtouris

Set a default network type when creating nets

Default type is MAX_FILTERED

Support #3514

3ed6dbde 04/15/2013 02:11 pm Stavros Sachtouris

Split file-quota semantics for account and contner

kamaki file quota --> only for account
kamaki file quota <container> --> kamaki file containerlimit get [container]

Support #3541

326a79b9 04/15/2013 01:32 pm Stavros Sachtouris

Rename file setquota to file containerlimit set

Also, do not allow user to set account quota

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

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

f47417e7 04/12/2013 01:14 pm Stavros Sachtouris

Pametrize log file, make it globaly available

Kamaki logger module is now available to both cli and clients packages
Users may set the log_file option in configuration file
kamaki config set log_file ...

Support #3441

7b6e977c 04/11/2013 06:43 pm Stavros Sachtouris

Return image details as headers, in image register

Feature #3512

cae76f25 04/11/2013 05:50 pm Stavros Sachtouris

Increase timeout in upload thread canceling

b78ee581 04/11/2013 04:55 pm Stavros Sachtouris

Make download canceling more responsive

This does not make download canceling faster, if anything, it makes it slower
but probably more gracefull for end users. Instead of just waiting the threads
to finish, users now see messages that descibe the attempts made by kamaki to...

50165863 04/11/2013 04:11 pm Stavros Sachtouris

Make --public and --sharing to work in upload

Bug #3509

08aad6db 04/11/2013 03:22 pm Stavros Sachtouris

Fix typo in commands.errors (self-->this)

This typo caused undesired behavior when deleting a deleted network

Bug #3547

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

b3bb083f 04/05/2013 04:47 pm Stavros Sachtouris

DISABLE config log options in interactive shell

to avoid kamaki failures due to logging problems

5fdccdec 04/05/2013 04:24 pm Stavros Sachtouris

Allow config to switch some options on or off

- LOG_TOKEN: whether to log user token in http requests (default: off)
- LOG_DATA: whether to log http body (send or secv - default: off)

config options: log_token=off, log_data=off

2dc39c27 04/02/2013 02:23 pm Stavros Sachtouris

Remove invalid header values in image register

573be34f 04/02/2013 01:27 pm Stavros Sachtouris

Cover image-compute command group in documentation

8741c407 04/02/2013 12:46 pm Stavros Sachtouris

Create an image compute cmd group, make it work

- image compute group contains all Compute Image API commands, as oposed to
Plankton API commands.

- definition of a kamaki cli command slightly changed: a command with
subcommands can have a class without being a command itself, as long as it has...

f40f0cb7 03/22/2013 11:41 am Stavros Sachtouris

Ensure uniform runtime args in cli (feature #3456)

bf7e705c 03/12/2013 11:28 am Stavros Sachtouris

Merge branch 'feature-tests' into develop

16b0afe6 03/11/2013 03:56 pm Stavros Sachtouris

Rename POOL_SIZE option to MAX_THREADS

278c9018 03/11/2013 12:34 pm Stavros Sachtouris

Unittest poolsize option at clients.connection

89ecfa57 03/01/2013 07:09 pm Stratos Psomadakis

Fix typo in list images help output

33daf181 02/27/2013 03:45 pm Stavros Sachtouris

Merge branch 'develop' into feature-tests

Conflicts:
kamaki/clients/connection/kamakicon.py

4f266635 02/27/2013 01:22 pm Stavros Sachtouris

Support interaccount store operations (ftr. #3230)

Operations affected: copy and move

300da0fb 02/27/2013 01:12 pm Stavros Sachtouris

Seperate source client from destination client

Concerns store_copy operation and aims to clean up the code that
implements the account-to-account copy

3a066af4 02/26/2013 07:08 pm Stavros Sachtouris

Allow Custom From-Account to pithos copy

4ff9d6e2 02/26/2013 12:40 pm Stavros Sachtouris

Fix typo in cli.commands.astakos_cli.py

Was _main, changed to main

feadbf28 02/26/2013 12:20 pm Stavros Sachtouris

Merge branch 'develop' into feature-store

a517ff50 02/26/2013 12:19 pm Stavros Sachtouris

Allow non-ascii paramters on path2url

Replace calls of the form unicode(v) to the equivalent" '%s' % v

45b70023 02/25/2013 06:45 pm Stavros Sachtouris

Uniform var names in store_copy/move

761e0cbf 02/25/2013 06:44 pm Stavros Sachtouris

Adjust move to function like copy

6736f171 02/25/2013 06:05 pm Stavros Sachtouris

Re-implement store-copy semantics (feature #3310)

ece4ae4b 02/22/2013 06:28 pm Stavros Sachtouris

Started some changes in pithos_cli copy

Not ready yet, just for buck up

f5f2dc53 02/21/2013 12:50 pm Stavros Sachtouris

Rename tests to livetest in kamaki.clients

Update documentation to reflect these changes

9d1db11e 02/20/2013 06:58 pm Stavros Sachtouris

Make network-create --with-dhcp option a flag

db36a6a7 02/19/2013 04:17 pm Stavros Sachtouris

Fix pep8 error

9bc8317f 02/19/2013 04:16 pm Stavros Sachtouris

Fix bug in error reporting if service anavailable

a3ba3bce 02/19/2013 02:20 pm Stavros Sachtouris

Make store download more intuitive + debug

Use cases:
- download <container>
Illegal
- download <container> --resume
Download contests to .
- download <container>:<directory>
Illegal
- download <container>:<directory> --recursive
Download remote dir and contents to ....

3e492898 02/15/2013 01:27 pm Stavros Sachtouris

Better error message when downld destin. exists

3d568c09 02/15/2013 01:14 pm Stavros Sachtouris

Fix pithos download_object typo range->range_str

ea4a21b8 02/11/2013 07:45 pm Stavros Sachtouris

Make DateArgument to return timestamp by default

2005b18e 02/11/2013 05:42 pm Stavros Sachtouris

Fix some more pep8 issues, more later

24ff0a35 02/11/2013 05:19 pm Stavros Sachtouris

Fix pep8 compliance issues everywhere

de73876b 02/08/2013 07:25 pm Stavros Sachtouris

Attempt to pep8-fix some source files

7ae842c2 02/07/2013 07:18 pm Stavros Sachtouris

Adjust documentation, allow explicit account set

1f5debf7 02/07/2013 06:43 pm Stavros Sachtouris

Use UUID when calling pithos client

In kamaki.clients.pithos context, the variable is still called account
Only the callers change their behavior, as they should retrive the
account by calling kamaki.clients.astakos.AstakosClient().term('uuid')
Tests are also adjusted

5207c784 02/07/2013 04:06 pm Stavros Sachtouris

Compact code and unittests for astakos client

17d86215 02/07/2013 02:06 pm Stavros Sachtouris

Create a cached access api to Astakos >= 0.13

3f61753d 02/07/2013 02:04 pm Stavros Sachtouris

Merge branch 'develop' into feature-astakos

Conflicts:
kamaki/cli/commands/astakos_cli.py
kamaki/clients/tests.py

67cb305b 02/06/2013 05:20 pm Stavros Sachtouris

Let clients tests to use custom config files

d1f78278 02/06/2013 05:13 pm Stavros Sachtouris

Complete clients.cyclades unittests

1f0370c9 02/04/2013 01:26 pm Stavros Sachtouris

Make astakos tests work with new test suite

f769a16a 01/31/2013 05:38 pm Stavros Sachtouris

Replace 'S if S else' with 'S or' in image_cli

c314fc10 01/30/2013 03:45 pm Stavros Sachtouris

Add new --[dst-]container info to documentation

b9ca5b73 01/30/2013 03:13 pm Stavros Sachtouris

download --resume can create new local files

52edad0a 01/30/2013 02:10 pm Stavros Sachtouris

Add : to all --container store-* commands

0e4ee6d1 01/30/2013 12:55 pm Stavros Sachtouris

store-move to use --dst-container with : support

e423eb63 01/30/2013 12:46 pm Stavros Sachtouris

Add store-copy --dst-container with : support

75ee7a88 01/30/2013 11:32 am Stavros Sachtouris

Remove obsolete method check_range

edab7ba7 01/29/2013 06:08 pm Stavros Sachtouris

Allow create/delete to operate on con:tainers

con:tainers are containers with : in their name

cdc4247b 01/29/2013 05:48 pm Stavros Sachtouris

-R as resursive in store_download

f6c09d14 01/29/2013 04:44 pm Stavros Sachtouris

Implement resursive download

ae99b37d 01/29/2013 02:20 pm Stavros Sachtouris

Intuitive semantics to store-download

download to directory means multiple downloads with prefix

285d7238 01/25/2013 09:19 pm Stavros Sachtouris

Total code reduction: ~25KiB of code

b4cf92b8 01/25/2013 09:17 pm Stavros Sachtouris

Fully adjust pithos_cli

68858765 01/25/2013 06:46 pm Stavros Sachtouris

Adjust up to store-download

ca092af4 01/25/2013 05:58 pm Stavros Sachtouris

Adjust up to store-overwrite

1395c40e 01/24/2013 08:19 pm Stavros Sachtouris

Adjust pithos_cli up to store_move

5a673575 01/24/2013 05:36 pm Stavros Sachtouris

Fully adjust cyclades_cli

b04288f7 01/23/2013 07:50 pm Stavros Sachtouris

Adjust cyclades_cli up to create

236e7d08 01/23/2013 06:48 pm Stavros Sachtouris

Fully adjust cyclades_cli

a03ade9e 01/23/2013 05:16 pm Stavros Sachtouris

Minor adjustments + apply to image_cli <=register

dc6fc88e 01/22/2013 08:32 pm Stavros Sachtouris

Apply changes to history_cli

436bd910 01/22/2013 07:51 pm Stavros Sachtouris

Propagate changes to config_cli

a00de254 01/22/2013 07:14 pm Stavros Sachtouris

Seperate error handling from main cli classes

So far tested in astakos only

36526b3c 01/22/2013 05:28 pm Stavros Sachtouris

Tide up error handling code in astakos

001200c3 01/22/2013 02:32 pm Stavros Sachtouris

Format data size units, use it in quota commands

quota returns value in units (KiB, MiB, etc)
new argument -b, --bytes to return value in bytes
setquota can accept a unit string
setquota 2.3GB

7147e1ca 01/22/2013 12:42 pm Stavros Sachtouris

store-delete asks for permission

In cli.utils: new method ask_user prompts for permission
In cli.commands.pithos_cli: store_delete/purge ask for permission
they also feature a yes flag argument to avoid prompting

fa984c2c 01/21/2013 06:32 pm Stavros Sachtouris

mage-public: remove params without values

745d938b 01/21/2013 06:00 pm Stavros Sachtouris

Tide up _upload_missing_blocks code + progress chk

progress check in upload: don't let progress bar raise exceptions