Statistics
| Branch: | Tag: | Revision:

root / kamaki / clients @ b44a5a37

# Date Author Comment
b44a5a37 06/27/2013 04:39 pm Stavros Sachtouris

Cache by uuid instead of token in astakos client

Refs: #3660

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

Implement a user_list to list cached shell users

Refs: #3632

8b2d63a7 06/26/2013 05:45 pm Stavros Sachtouris

Fix broken unittests concerning floating ips

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

Make wait mechanism usble by more cyclades methods

Refs: #3867

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

Update the copyright dates everywhere

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

Fix spelling mistake (ident-->indent)

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

c088076b 06/20/2013 04:16 pm Stavros Sachtouris

Adjust unit/functional tests

Refs: #3964

ec928235 06/18/2013 01:00 pm Stavros Sachtouris

Add a Connection Retry to Client + ResponseManager

Usage:
cl.XxxClient(...)
cl.CONNECTION_RETRY_LIMIT = 5
cl.<methods>

9a70c511 06/17/2013 11:52 am Stavros Sachtouris

Adjust list_sever_nics to recent server changes

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

Fix deprecated terms in documentation

7749f75a 06/14/2013 02:06 pm Stavros Sachtouris

Fix typo when getting metadata without key

2e03b5d8 06/13/2013 06:46 pm Stavros Sachtouris

Merge branch 'feature-floating-ips' into develop

Conflicts:
Changelog

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

Fix all minor typos and modifications in tests

8f91e50c 06/12/2013 04:14 pm Stavros Sachtouris

Fix typo in method docs

2feb9477 06/12/2013 03:49 pm Stavros Sachtouris

Adjust livetests to cloud renamings

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

Document the Upgrade notes for v0.9

9b745324 06/10/2013 02:57 pm Stavros Sachtouris

Adjust all livetests to use cached astakos client

Refs: #3964

508570ae 06/10/2013 01:07 pm Stavros Sachtouris

Adjust cached astakos client unit tests

Refs: #3964

ca65fc0b 06/10/2013 12:53 pm Stavros Sachtouris

Create mising func. tests 4 cached astakos client

Refs: #3964

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

Adjust astakos functional tests to novel features

Refs: #3964

82903313 06/07/2013 04:44 pm Stavros Sachtouris

Make sure all url-params are url-encoded

Refs: #3956

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

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

3950a864 06/03/2013 04:06 pm Stavros Sachtouris

Adjust cached auth info reading to recent changes

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

Fix typos in user command flow

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

528550d9 05/30/2013 04:35 pm Stavros Sachtouris

Enrich/rename astakos client calls with endpoints

Refs: #3874

Kamaki.clients.astakos.AstakosClient is now a high-level client lib that
offers access to token-authenticated astakos-aquired cached information.
Users who need an astakos client should use the snf-astakosclient instead....

03033b54 05/29/2013 05:41 pm Stavros Sachtouris

Impleent floating ip methods @compute/cyclades

Refs: #3862

New methods introduced and unit-tested:
ComputeRestClient: floating_ip_pools_get, floating_ips_get/post/delete
CycladesRestClient: floating_ip_pools_get, floating_ips_get/post/delete
ComputeClient: get_floating_ip_pools, get_floating_ips,...

77d1b504 05/29/2013 02:25 pm Stavros Sachtouris

Implement floating_ip(s)post/get/delete rest calls

Refs: #3862

0a62912d 05/29/2013 01:25 pm Stavros Sachtouris

Implement floating_ip_pools_get @compute/cyclades

Refs: #3862

b79ae40b 05/27/2013 03:35 pm Stavros Sachtouris

Adjust astakos authenticate to snf-0.14 url sheme

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

Rename meta-->metadata and remove values @CLI

Refs: #3633

fab9b17f 05/23/2013 06:42 pm Stavros Sachtouris

Rename meta-->metadata and remove values @lib

- Meta-->metadata in some cases, according to the expected cyclades API
- remove values level from requests and responses @ cyclades lib

Refs: #3633

13c02904 05/23/2013 05:46 pm Stavros Sachtouris

Fix expected "public" header params in tests

17b255c7 05/23/2013 02:01 pm Stavros Sachtouris

Use _format_image_headers: image_register,get_meta

- Ensure uniform image meta output
- Easy to apply the correct meta format

Refs: #3797

4e424eaa 05/22/2013 06:25 pm Stavros Sachtouris

Restore thread-wait for append

e4ff4453 05/22/2013 06:15 pm Stavros Sachtouris

Fix typo (permition --> permission)

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

3ec5c230 05/22/2013 05:48 pm Stavros Sachtouris

Wait threads to finish in pithos append_object

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

Implement an optional json output 4 outputing 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

6aadd6e1 05/21/2013 07:47 pm Stavros Sachtouris

Do not unpublish by default @ pithos rest calls

Refs: #3780

f17121cd 05/21/2013 06:10 pm Stavros Sachtouris

Do not recalculate #blocks in upload_from_string

Refs: #3608

00336c85 05/21/2013 05:08 pm Stavros Sachtouris

Store image properties after image registration

Log of changes:
- Properties are stored in a remote file on Pithos+
- File name is <image-file>.meta
- Feature can be switched off with --no-property-file-upload
- If remote property file exists, registration is aborted...

f5f35422 05/20/2013 05:54 pm Stavros Sachtouris

Apply option outputs to image commands + renames

- Add image.add_member missing content-length header
- Rename image-[add|del]member commands to members-[add|delete]
- Remove update option from image-register
- In image-compute split properties to properties-list and properties-get...

915b99b5 05/20/2013 01:21 pm Stavros Sachtouris

Apply optional output to kamaki file commands

Apply the feature wherever is applicable
Generalize the feature by moving the corresponding code to _command_init

5655d560 05/17/2013 07:11 pm Stavros Sachtouris

Update file operations and their output

Refs: #3756 #3732

- Add optional output for file methods: mkdir, touch, create, move, create,
copy, move, append, delete, purge, info, meta, upload
- Transliterate permissions and metadata methods to apear as get/set/delete...
55c75058 05/17/2013 03:49 pm Stavros Sachtouris

Add output to file copy/move

Also, kamaki.clients.pithos.copy/move_object returns response headers

Refs: #3756 #3732

94bedc5b 05/17/2013 02:48 pm Stavros Sachtouris

Add output support to create methods

Refs: #3756 #3732

In kamaki.clients
-------------------
- storage.create_directory returns response headers
- implement pithos.create_container

In kamaki.cli.pithos
-------------------
- add flag --with_output for optional output...

dcfe7455 05/16/2013 08:25 pm Stavros Sachtouris

Update changelog, unittests for upload_from_string

Refs: #3608

6fa30b1b 05/16/2013 08:14 pm Stavros Sachtouris

Functional test and debug for upload_from_string

Refs: #3608

9d502497 05/16/2013 07:27 pm Stavros Sachtouris

Implement upload_from_string

Implemented with threads

Refs: #3608

0fbc8a52 05/16/2013 05:17 pm Stavros Sachtouris

Optimize download_to_string by using threads

Refs: #3608

49cc29b2 05/16/2013 04:31 pm Stavros Sachtouris

Implement download_to_string in pithos client

The download_to_string method downloads a remote object from pithos into a
string, which is then returned.

Also, implemented unit and functional tests. Changelog is updated

Refs: #3608

14c72dbd 05/15/2013 03:12 pm Stavros Sachtouris

Adjust pithos livetest to use container_info_cache

Refs: #3707

0ef0db9f 05/15/2013 02:23 pm Stavros Sachtouris

Update unitest to include container_info_cache

Refs: 3707

76ebf97c 05/15/2013 02:06 pm Stavros Sachtouris

Add a container_infor_cache param to upload_object

Each upload involves a request that retrieves block size and hash information.
In higher level applications, this request is redudant after the first upload.
This feature allows higher level operations to cache retrieved container info...

cb010e3e 05/14/2013 07:00 pm Stavros Sachtouris

Update livetest for upload return modification

Refs: #3656

3c216009 05/14/2013 06:52 pm Stavros Sachtouris

Modify upload methods to return created obj info

Methods affected:
upload_object
upload_object_unchunked
upload_object_by_manifestation

unittests modified accordingly

Refs: #3656

4fbc9d34 05/14/2013 05:39 pm Stavros Sachtouris

Implement livetest for image unregister

Refs: #3728

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

Expose image-unregister to cli and unittest it

fd6608bd 05/14/2013 04:40 pm Stavros Sachtouris

Implement image unregister in kamaki.clients

Refs: #3728

c4d51ec9 05/10/2013 07:16 pm Stavros Sachtouris

Make kamaki.clients unware of kamaki.logger

use logging for getting the loggers

9dc724e5 05/10/2013 05:38 pm Stavros Sachtouris

Allow activation/deactivation of specific loggers

refs: #3715
Logger settings are not aborted and will be restored at deactivation

Also, remove all logger creation functionality from kamaki.clients
A file or stream logger should be created an the kamaki.clients caller side...

24be4a50 05/10/2013 01:45 pm Stavros Sachtouris

Merge branch 'feature-logging' into develop

c4563114 05/10/2013 01:45 pm Stavros Sachtouris

Remove log redaduncy when logging in a file

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

Globalize logger usage

Unsolved bug: redudant info in logfile

a5077876 05/09/2013 05:49 pm Stavros Sachtouris

Wipe logger add_file_logger

c6cec5e1 05/09/2013 05:12 pm Stavros Sachtouris

Fix typo in _create_or_get_missing_hashes call

b349b84b 05/09/2013 05:03 pm Stavros Sachtouris

Honour if_(none_)match even if all blocks are up

Refs: bug #3708

e9db8806 05/09/2013 04:45 pm Stavros Sachtouris

Expand logger to support stream logging, simplify

1a7f53e9 04/30/2013 05:44 pm Stavros Sachtouris

Adjust expected values in fanctional client tests

005d3f25 04/19/2013 01:21 pm Stavros Sachtouris

Connect request-response threads in logs

The connection between kamaki request attempt and httplib response was
logged, but the connection between httplib response and kamaki response
managment was not logged.

76e7661e 04/15/2013 06:14 pm Stavros Sachtouris

Update docs to use the term Synnefo where needed

In some cases, the term 'GRNET development team' was replaced with 'Synnefo' or
'Synnefo development team'

3f7e4e14 04/15/2013 05:52 pm Stavros Sachtouris

Add some parameters to storage.list_object

:param limit: (int) The amount of results requested

:param marker: (str) Return containers with name lexicographically
after marker

:param prefix: (str) Return objects starting with prefix

:param format: (str) reply format can be json or xml (default:json)...

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

737c7deb 04/15/2013 11:28 am Stavros Sachtouris

Fix astakos client functional test

Use 'user.token' instead of 'astakos.token'

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

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

e9ac514e 04/12/2013 03:37 pm Stavros Sachtouris

Add if-etag-match to pithos client upload

2ec852fc 04/12/2013 03:24 pm Stavros Sachtouris

Merge branch 'feature-store' into develop

524d9cdd 04/12/2013 03:18 pm Stavros Sachtouris

Add option to fail upload if remote file exists

The if-none-match header option with '*' is used in that case.
This is exposed as 'if_not_exist' in PithosClient.upload_object

Feature #3574

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

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

9d9ad424 04/11/2013 11:44 am Stavros Sachtouris

Stop create_server from crushing by a faulty image

If the image is missing the (os, users) metadata, the create_server method
used to crush anexpectingly

a863029c 04/09/2013 12:40 pm Stavros Sachtouris

Add a NL to logs to make them more readable

e5c76b1a 04/08/2013 07:08 pm Stavros Sachtouris

Fix typo in using download progress bar

28cbc3c2 04/08/2013 06:50 pm Stavros Sachtouris

Minimize requeests whn dnlding same block

If a file has multiple same blocks, download one of them and copy it to local
file locations

ca7f78c0 04/08/2013 04:45 pm Stavros Sachtouris

fixbug 3555: blcks missing if same to other blcks

d187ba37 04/08/2013 03:53 pm Stavros Sachtouris

Create a livetest that catches bug #3555

A boring file is a file with at least two same blocks
Kamaki fails to download more than 1 same blocks, therefore the downloaded
file is corrupted
This test fixes the bug