Fix utils unit test
Create a step by step showcase kamaki.lib example
Refs: #4441
This example involves astakos, pithos, image and cyclades clientsIt also shows how to use kamaki.cli.config to get cloud informationIt attempts to create a cluster of VMs from a user-created image,...
Add some documentation for cluster management
Refs: #4429
Catch errors and notify user in a helpful manner
Move cluster handling in server create/delete
Create/expose methods for mass VM create/delete
Fix pep8 error
Remove reference to Config.get/set_global
Fix error with wrong argument in file upload
Allow meta-keys to personality argument
Refs: #4297
Backwards compatibility is preserved (not planed to deprecate it)The following are semantically equivalent:p local-path=/local/path,remote=path=/etc/local/path,mode=-rw-r--r-p /local/path,remote=path=/etc/local/path,mode=-rw-r--r-...
Gracefuly raise 404 error in network delete
Refs: #4325
Add --output-format where applicable
Refs: #4342
It currently exists along with -j/--json for bw compatiblity.--output-format=json is equivalent to -j or --json
Add -w/--wait to server firewall set
Refs: #4298
Push ip commands to top namespace, update docs
Refs: #4422
Top level IP commands are now prefixed as ip (kamaki ip <command>)Update documentation accordingly
Add -R/--recursive when listing containers
Refs: #4301
This arument will output container contents with each container listed
Separate object/container level args, raise errors
-R/--recursive argument will be a container-level only argument,so all arguments should be separated and raise erros in case of wrong usage
Add a timeout argument to cli *_wait methods
Refs: #4352
Modify progress bar behavior in cyclades wait
Progress bar is now able to "count down", be "eating" the bar instead offilling it, thus has meaning for timeoutsAll waits are time-outs, except for "server BUILD"
Make wait_* methods to behave gracefully in CLI
Refs: #4345, #4341
Update and correct kamaki.clients documentation
Fix sphinx warnings
Take care of the documentation (except developers)
Change VMs to servers in docs, fix docs scripts
Implement --type argument for server reboot
Refs: #4338
Fix wrong parameter passing to create_server
Refs: #4339
Fix --more bug in _optional_json commands
Update Changelog for config unittests
Refs: #4058
Complete unittests for kamaki.cli.config
Implement all methods up to reload
Test get/set_cloud/global
Implement tests for _cloud_name, _rescue_old_file
Unittest kamaki.cli.Config.__init__
Initialize a config package (new dir) with tests
Make authentication lazy
Refs: #4300
Authentication (a.k.a. POST /tokens) is performed only if needed, therefore asyntax query will not request for authentication.
A new method is introduced in kamaki.cli: init_chached_authenticator. Thismethod authenticated the resolved URL and TOKEN....
Fix typo in private method
Replace writelines with write+flush
Enrich pithos permission message (global sharing)
Fix typo in file_publish
Replace print methods w. respective member methods
Refs: #4292
Implement member versions of utils print methods
Fix history read unicode issue
Remove builtin.print from _commands
Remove builtin.print up to history
Add _err to commands, remove pithos print calls
Also, add the methods write, writeln and error to print something to<_commands>._out/_out/_err respectively.
builtin.print is replaced by self.writeln or self.error
Remove pithos.DelimterValue + self._out to list
Fix typo in astkoas.py imports
Create logger before help message
Expand stream output to pithos print methods
Add output stream to astakos print methods
Fix typo in image list printouts
Update commands to use pager when --more
Refs: #4279
Restore backwards compatibility for image register
Refs: Bug #4276
New format:
/image register Name container:path/to/image
Old format:
/image register Name pithos://user-uuid/container/path/to/image
Now, the old format is also recognized. It is planed to be depricated in a...
Merge branch 'feature-global-pager' into develop
Modify printing methods to use more stream types
Refs: #4288, #4279
Also, replace page_hold with pydoc.pager
Prepend log_settings to auth_client init
Add help on kamaki register when old-style args
Refs: #4276
Add the raiseCLIError method under unit tests
Test All cli.errors error classes
Make pid logging optional, logs are now readable
Refs: #4242
Adjust snf-astakos to init with correct URL
Fix split input bug
Refs: #4232
Rename /image meta list to /image info
Fix IntArgument + tests and apply to snf-astakos
Merge commit '0611432fc7ed2bebe92429f707bc39296aa5bdaf' into feature-astakos-bugs
Conflicts: kamaki/cli/commands/snf-astakos.py
Fix typos
Merge commit '54c907116bc7df4a4bab186e388c19bc7cf29929' into feature-astakos-bugs
Merge commit 'ada3f3327babbb0a191a18f782a0409cc37c4b72' into feature-astakos-bugs
Handle _membership_action result as non-dict
Merge commit '95482dab08e6ca48141860455112a54fabc3251b' into feature-astakos-bugs
Merge commit '8f984bae7c048483906dc60df061e2e17b24ec86' into feature-astakos-bugs
Merge commit '01413001785d8d93e2ca11fe435479867ca50397' into feature-astakos-bugs
Fix some random spelling errors in commends
fix membership POSTs
change project_application parent
membership strings
change strings for project actions
TODO: returns nothing on success
must be int, needs better handling
add tokens where missing
Fix project info
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 all user-id --> username mapings
Refs: #4228
Implement all filters for network list +user names
Refs: #4220, #4228
Implement filters for flavor & exapdn 2 all lists
Refs: #4220
Create _id/name_filter methods for all listings
Update changelog for filtering and user names
Add usernames to server list
Impement basic/custom filters for server list
New filters: name[-like/-suffix/-prefix], flavor_id, image_id, metadata[-like]
Fix bug when setting an empty cloud alias
Complete basic filters in image compute list
Force shell to do nothing in empty lines
Try a unified filtering method in image ? list
Add a filter_dicts_by_dict utils method
This is a multipurpose method to be used for CLI filtering
Add --property-like in image list
Optimize username aquisition in image list
Collect all uuids and get them with one request
Augment user info in image list
Add --property to image list
Also, fix various bugs introduced by utils re-writtings
Fix division by 0 bug
Merge branch 'feature-clitests-utils' into develop
Complete cli.utils unittests