Add meta/properties image methods, whip compute
Refs: #4231
New methods:/image meta list/set/delete --<meta>[=value] ... -p k1[=v1] [-p k2[=v2]] ...
Implement clients.image.update_image
This method will allow for image update and especialy property handling
Augment user info in image list
Refs: #4228
Fix typos in floating ip methods (cli + lib)
Use multiformed ranges in kamaki pithos lib
Refs: #4059
Also, adjust corresponding unit and functional tests
Tide up sopme functional test code
Pithos client understands more range expressions
Let argument.rangeArgument parse more ranges
Show user names in /file sharers
Refs: #4203
Allow upload_from_string to use content-encoding
Do not allow thread exceptions to stop errors
Guess mimetype and use it in uploads
Refs: #4196
Fix some spelling and typoes in docs
Allow image_register to accept a location tuple
Refs: #3778
Location tuple: (user_uuid, container, image_object)
Make cyclades functional test code pretier
Remove some useless methods from cyclades
Refs: #4139
Reason: some methods are now fully implemented by compute api callsMethods: all servers_get and all RestClient servers_* methods
Adjust ComputeClient & tests to compute v2
Complete ComputeRestApi tests for compute v2
Make iteration counter pretty
Update all get/delete ComputeRest tests
Update 1st level _get tests for ComputeRestClient
Complete basic compute v2 implementation
Pending: adjust unitests, test against an openstack deployment
Implement servers/?/action/? ReST and methods
Apply changes to call-level methods
Implement OScompute_v2 servers/?/metadata/? calls
Adjust compute/cyclades clients to servers_REST
Implement OSv2 compute 1st level /servers calls
Write functional test for resize_server
Refs: #4153
Update documentation for server resize
Implement a resize_server @ clients.compute
Fix typo in list_public
Fully test CommandTree
Refs: #4058
Adjust funcional tests
Cache by uuid instead of token in astakos client
Refs: #3660
Implement a user_list to list cached shell users
Refs: #3632
Fix broken unittests concerning floating ips
Make wait mechanism usble by more cyclades methods
Refs: #3867
Update the copyright dates everywhere
Fix spelling mistake (ident-->indent)
Expose impemented floating IP methods
New commands:
floatingip list/create/delete/info/poolsserver ip attach/detach
Also, renamed the assoc/disassoc floating ip clients methods toattach/detach_floating_ip
Adjust unit/functional tests
Refs: #3964
Add a Connection Retry to Client + ResponseManager
Usage:cl.XxxClient(...)cl.CONNECTION_RETRY_LIMIT = 5cl.<methods>
Adjust list_sever_nics to recent server changes
Fix deprecated terms in documentation
Fix typo when getting metadata without key
Merge branch 'feature-floating-ips' into develop
Conflicts: Changelog
Fix all minor typos and modifications in tests
Fix typo in method docs
Adjust livetests to cloud renamings
Document the Upgrade notes for v0.9
Adjust all livetests to use cached astakos client
Adjust cached astakos client unit tests
Create mising func. tests 4 cached astakos client
Adjust astakos functional tests to novel features
Make sure all url-params are url-encoded
Refs: #3956
A. Hardcode the new kamaki config file
Refs: #3934
Breaks compatibility, implements a remotes-based config file
Handle url proccessing even if url is unicode
Also, fix typos and default values for service configurations
Fix typo in astakos client: version_id-->versionId
Adjust cached auth info reading to recent changes
Fix typos in user command flow
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 attemptsto read the <service>.url option from the configuration file....
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:...
Get endpoint urls for all CLI operations
Use kamaki.clients.astakos.AstakosClient as a cached astakos client to getuser information and, most importantly, endpoints. Allow users to authenticatemultiple tokens on the same session. In every session there must be at most...
Enrich/rename astakos client calls with endpoints
Kamaki.clients.astakos.AstakosClient is now a high-level client lib thatoffers access to token-authenticated astakos-aquired cached information.Users who need an astakos client should use the snf-astakosclient instead....
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,...
Implement floating_ip(s)post/get/delete rest calls
Implement floating_ip_pools_get @compute/cyclades
Adjust astakos authenticate to snf-0.14 url sheme
Rename meta-->metadata and remove values @CLI
Refs: #3633
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
Fix expected "public" header params in tests
Use _format_image_headers: image_register,get_meta
- Ensure uniform image meta output- Easy to apply the correct meta format
Refs: #3797
Restore thread-wait for append
Fix typo (permition --> permission)
Merge branch 'feature-json-output' into develop
Conflicts: Changelog kamaki/cli/commands/image.py
Also, take care of pep8 issues
Wait threads to finish in pithos append_object
Implement an optional json output 4 outputing cmds
Refs: #3732
Add json/optional responses to flavor/network cmds
Add json/optional outputs to server commands
Do not unpublish by default @ pithos rest calls
Refs: #3780
Do not recalculate #blocks in upload_from_string
Refs: #3608
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...
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...
Apply optional output to kamaki file commands
Apply the feature wherever is applicableGeneralize the feature by moving the corresponding code to _command_init
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...
Add output to file copy/move
Also, kamaki.clients.pithos.copy/move_object returns response headers
Add output support to create methods
In kamaki.clients-------------------- storage.create_directory returns response headers- implement pithos.create_container
In kamaki.cli.pithos-------------------- add flag --with_output for optional output...
Update changelog, unittests for upload_from_string
Functional test and debug for upload_from_string
Implement upload_from_string
Implemented with threads
Optimize download_to_string by using threads
Implement download_to_string in pithos client
The download_to_string method downloads a remote object from pithos into astring, which is then returned.
Also, implemented unit and functional tests. Changelog is updated
Adjust pithos livetest to use container_info_cache
Refs: #3707
Update unitest to include container_info_cache
Refs: 3707
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...
Update livetest for upload return modification
Refs: #3656
Modify upload methods to return created obj info
Methods affected: upload_object upload_object_unchunked upload_object_by_manifestation
unittests modified accordingly
Implement livetest for image unregister
Refs: #3728
Expose image-unregister to cli and unittest it
Implement image unregister in kamaki.clients