Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli.py @ 16ce7b91

History | View | Annotate | Download (42.8 kB)

# Date Author Comment
16ce7b91 07/26/2012 03:36 pm Stavros Sachtouris

Adjusting account/container opps + bug fixes

ed40d995 07/25/2012 06:36 pm Stavros Sachtouris

Completed tests for pithos+ starting improves

TODO Improvements for tests, like creating and destroying
containers and adjusting all tests to use only these temp
containers

89c2e77b 07/25/2012 04:37 pm Stavros Sachtouris

Added objectcopy/move/post _ minor bugfixes

b2796c01 07/24/2012 07:06 pm Stavros Sachtouris

Started testing object_copy +minor fixes

9f74ca46 07/24/2012 05:37 pm Stavros Sachtouris

Added tests for object_put + minor bug fixes

3e544e5b 07/19/2012 06:27 pm Stavros Sachtouris

More testing in storage

Completed testing at container level, started at object level

4ca97333 07/19/2012 01:10 pm Stavros Sachtouris

Fixed image register CLI bug

379cd4bb 07/18/2012 06:58 pm Stavros Sachtouris

Implemented tests (Pithos+, partial, for now)

Used unittest, implemented tests for all account level Pithos+
operations and some container level operations
TBC

edbee9c8 07/18/2012 03:06 pm Stavros Sachtouris

Pretyfication adjustments

Fixed colors in flavor and image error messages
Pretyfied image client code

c7083665 07/17/2012 07:12 pm Stavros Sachtouris

Fixed and modified disconnect network

Fixed bug with return value
Modified disconnect to take only nic_id as arg

17edd3f4 07/16/2012 04:06 pm Stavros Sachtouris

Full pithos+ support at container level

Full pithos+ support with ne container_<REST> methods
Old methods adjusted to use this functionality
No changes on CLI

a2ed3c3e 07/16/2012 11:36 am Stavros Sachtouris

Minor error handling in cli

9aece4ba 07/13/2012 06:24 pm Stavros Sachtouris

Modifications in store CLI syntax

Support for the form
kamaki store <command> <container:path>
e.g.
kamaki store list [container[:path]]

319a0e87 07/11/2012 03:34 pm Stavros Sachtouris

Minor adjustments to recent changes

0f25af9f 07/11/2012 02:44 pm Stavros Sachtouris

Compatibility with python2.6

6add54fd 07/10/2012 06:43 pm Stavros Sachtouris

Adjusted disconnect server

1b93846c 07/10/2012 06:11 pm Stavros Sachtouris

Simplified command client printing

- Replaced print_dict in kamaki/utils with a simpler method that prints dicts or lists recursively, and non iterrable objects
- Introduced print_list in kamaki/utils in a similar fashion
- fixed server_addr / adjusted to new utils functionality

e742badc 07/10/2012 05:09 pm Stavros Sachtouris

Simplified Client code

Added set_header method then replaced code that pushes headers to the query with calls to this much simpler method

d1856abf 07/10/2012 05:09 pm Stavros Sachtouris

Added policy handling

In CLI setversioning, versioning, setquota, quota for account and container
In storage(pithos) set_container_versioning, set_container_quota, set_account_versioning, set_account_quota
also get_*_policy methods are split to get_*_versioning and get_*_quota

eb903ba7 07/10/2012 05:09 pm Stavros Sachtouris

Added set_account_group

Adds a custom group of users

c2867610 07/10/2012 05:09 pm Stavros Sachtouris

Implemented group, delgroup and copy

In CLI:
- added store group to retrieve user grouos of account
- added store delgroup to delete a user group by groupname
- added store copy to copy an object from container/path to destination container/path...

eed330ab 07/10/2012 05:09 pm Stavros Sachtouris

Implemented move

In CLI added store_move for moving objects from container/path to destination container/path
In storage added move_object in OOS style

28470086 07/10/2012 05:09 pm Stavros Sachtouris

Implemented setpermitions and delpermitions

In CLI added setpermitions and delpermitions

In pithos added set_object_sharing and shortcut method erase_object_sharing

f49084df 07/10/2012 05:09 pm Stavros Sachtouris

Not optimal append and truncate

In CLI added append and truncate for objects

In storage added update_object which acts as a multifunction. It currently loads the whole file on memory, so it needs optimization

ab474306 07/10/2012 05:09 pm Stavros Sachtouris

Optimised append

In pithos a new append_object is introduced, that appends a file in blocks

561116a6 07/10/2012 05:09 pm Stavros Sachtouris

Optimised truncate

In pithos added truncate_object that truncates and object using pithos-enabled headers

ee62607e 07/10/2012 05:09 pm Stavros Sachtouris

Implemented overwrite

In CLI added store_overwrite

In pithos added overwrite_object which, in case of large updates, overwrites block by block

bcabbc35 07/10/2012 05:09 pm Stavros Sachtouris

Added progress bar

In CLI store_overwrite with prgress bar, added progress bar at store_append
In pithos added generator watcher method support

cceda750 07/10/2012 05:09 pm Giorgos Verigakis

Don't use default owner/group/mode values in personalities

5f47b77d 07/10/2012 05:09 pm Giorgos Verigakis

Move OrderedDict import where it is actually used

44b8928d 07/10/2012 05:09 pm Giorgos Verigakis

Make source PEP8 compliant

f3a722d4 07/10/2012 05:09 pm Stavros Sachtouris

Added mkdir functionality to storage

358dd6f9 07/10/2012 05:09 pm Stavros Sachtouris

Added store list_containers and a minor CLI fix

Exposed list_containers from storage to CLI as
kamaki store list_containers

Moved method format_size from store_list to util, since it is semantically unreleated and
it was needed by list_ containers (and, possibly, other functions in the future)...

11f8eed3 07/10/2012 05:09 pm Stavros Sachtouris

Unicode support in results

Replaced str() with unicode() in kamaki/utils

e2bd16d5 07/10/2012 05:09 pm Stavros Sachtouris

Added list_object

In CLI:
- created store_list_object
- removed unused optional path option from store_list

In storage:
- added list_objects_in_path, similar to list_objects but parses out objects that are not prefixed with path

6c4778ae 07/10/2012 05:09 pm Stavros Sachtouris

Added store_object_info, container_info name fixed

In CLI:
- Added store_object_info functionality
- Store_container renamed to store_container_info

In storage:
- Created method get_object_info
- Renamed get_container_meta to get_container_info

b66dfee7 07/10/2012 05:09 pm Stavros Sachtouris

Added delete_container (remove an empty container)

In CLI:
- Added store_delete_container

In storage:
- Added delete_container

a79f6d30 07/10/2012 05:09 pm Stavros Sachtouris

Store list_path renamed and optimised

In CLI store_list_object became store_list_path
In storage list_objects_in_path was optimised to used path option in query
d2dec8b1 07/10/2012 05:09 pm Stavros Sachtouris

Added store info

In CLI:
- store_info added

In storage:
- get_account_info added

c18a8ec2 07/10/2012 05:09 pm Stavros Sachtouris

Merged store info command, fixed bug

In CLI:
- store info, container_info and object_info are merged in one command, namely store info

In storage:
- Fixed get_object_info return object to Response.headers

dd9a5d7c 07/10/2012 05:09 pm Stavros Sachtouris

Merged store list*, fixed bug

In CLI:
- methods list, list_containers, list_object are now merged in list, with slighlty different syntax

In storage:
- fixed bug in error message

bebdd0d6 07/10/2012 05:09 pm Stavros Sachtouris

Merged delete operations

In CLI:
- store_delete merged with store_delete_container

In storage:
- Error message fix

450bb2e6 07/10/2012 05:09 pm Stavros Sachtouris

Merged store create operations

In CLI, store_create_container and store_create_object(directory) are merged as "create"
The function "store_upload" remains due to different semantics

8c4f0fbf 07/10/2012 05:09 pm Stavros Sachtouris

Adjusted store_download and store_upload params

d0b42fb4 07/10/2012 05:09 pm Stavros Sachtouris

Added meta to retrieve custom metacontent

In CLI added store_meta for retrieving custom metacontent for account, container or object

In storage added:
- auxiliary method filter_dict_with_prefix
- get_account_meta
- get_container_meta
- get_object_meta

0e4bec91 07/10/2012 05:09 pm Stavros Sachtouris

Added set_account_meta

In CLI:
- added store_set_account_meta
- added auxiliary dict_from_args in utils.py

In storage:
- added set_account_meta
- created client/util.py to store auxiliary methods semantically indepented Client
- added auxiliary prefix_keys to client/utils.py...

af3b2b36 07/10/2012 05:09 pm Stavros Sachtouris

Added store_setmeta (pithos API implementation)

-In CLI:
- store_meta for account, container and/or object
- minor fixes to meta

In storage,pithos:
- methods replace_account/container/object_meta in storage (OpenStack API)
- methods set_account/container/object_meta in pithos (Pithos API)...

ca6e2c63 07/10/2012 05:09 pm Stavros Sachtouris

Removed store_set_account/container_meta

Both methods have been replaced by store_setmeta, semanticaly speaking

e6b39366 07/10/2012 05:09 pm Stavros Sachtouris

Added store_delmenta (delete specific meta)

In CLI:
- store_delmeta for account, container, object
In storage,pithos:
- store_account_delmeta
- store_container_delemeta
- store_object_delmeta (is buggy, hope to fix it soon)...
87688514 07/10/2012 05:09 pm Stavros Sachtouris

Added un/publish object

8378faf2 04/24/2012 06:10 pm Giorgos Verigakis

Remove clint dependency

Add argparse and ordereddict dependency if Python < 2.7

863dd770 04/23/2012 03:21 pm Giorgos Verigakis

Switch to progress for progress bars

098ca087 04/20/2012 04:46 pm Giorgos Verigakis

Use print instead of clint.textui methods

7879b932 04/20/2012 04:33 pm Giorgos Verigakis

Use ansicolors for colors

d83a2834 04/11/2012 01:58 pm Giorgos Verigakis

Move default config paths inside config module

a91e0293 03/23/2012 03:50 pm Giorgos Verigakis

Add a purge command

986b53f8 03/23/2012 03:24 pm Giorgos Verigakis

pyflakes reported fixes

b545e140 03/23/2012 03:08 pm Giorgos Verigakis

Use prints, log was never defined

cb813272 03/05/2012 05:08 pm Giorgos Verigakis

Integrate glance into image

Remove glance command group.

43ca98ee 03/05/2012 04:23 pm Giorgos Verigakis

Add support for Astakos API

Add "astakos authenticate" command

2bcb595a 02/28/2012 07:53 pm Giorgos Verigakis

Add a store list command

77eaa0be 02/28/2012 07:51 pm Giorgos Verigakis

Use self instead of cls in update_parser

update_parser is no longer a class method.

6a0b1658 02/21/2012 07:51 pm Giorgos Verigakis

Refactored networking

Adds requests dependency.

f3ddb705 02/15/2012 01:28 pm Giorgos Verigakis

Configuration and CLI updates

  • New configuration mechanism
  • Refactored CLI
  • Added clint dependency
21cf6792 02/02/2012 04:15 pm Giorgos Verigakis

Add a -o option to override the configuration

60560d7c 02/02/2012 04:15 pm Giorgos Verigakis

Add a store create command to create a container

b3b32add 01/30/2012 04:39 pm Giorgos Verigakis

Bugfixes

  • Rename asterias to cyclades
  • Remove create image from compute
  • Fix missing imports

Refs #1956

176894c1 01/20/2012 03:58 pm Giorgos Verigakis

Add a store download command

d2cea1e2 01/19/2012 06:41 pm Giorgos Verigakis

Add Pithos support

  • Use Pithos' smart upload if available
  • Add store container command
  • Add store delete command
a1c50326 01/19/2012 01:08 pm Giorgos Verigakis

Modularize clients

8ab2c986 01/13/2012 03:20 pm Giorgos Verigakis

Add missing glance functions

a6757cbc 01/12/2012 05:51 pm Giorgos Verigakis

Add full support for list and register in glance

614b80ce 01/05/2012 04:27 pm Giorgos Verigakis

Rename kamaki.py to cli.py

Use absolute imports
Update build script