Create CLI commands for astakos project API
Refs: #4155
Merge branch 'feature-test-argument' into develop
Test ArgumentParseManager.parse
Test ArgumentParseManager.update_arguments
Refs: #4058
Missing test: ArgumentParseManager.parse
Update documentation for server resize
Refs: #4153
Expose resize_server as server_resize
Refs: 4153
Fix intetation mistake
Allow non-None empty default values in Args
Test ArgumentParseManager upto update_parser
Test ProgressBarArgument
Fix typo in error docs
Test Version and KeyValue Arguments
Recover default fallback for Int/DateArguments
Test DateArgument
Test IntArgument
Test FlagArgument and ValueArgument
Fully test RuntimeConfigArgument
Initialize RuntimeConfigArgument unittests
Mock calls to kamaki.cli.config.Config methods
Merge branch 'feature-test-command-tree' into develop
Complete ConfigArgument testing
Fully test argument.Argument
Initialize unittests for argument.Argument
Also, make argument package a directory
Improve error message when image meta file exists
Fully test CommandTree
Accepte tilda as a character for a cloud name
Refs: #4126
Setup test example commands for CommandTree
Implement all unittests for command_tree.Command
Spot and remove unused Command methods
Setup unittest for CLI and apply to commant_tree
Only a init and name methods are tested for now
Expose commission issue commands
Refs: #4115
Expose commission commands (astakos)
New commands: astakos_commission_*: pending, info, action, accept, reject, resolve
Also implement the CommaSeparatedListArgument structure
Expose more astakosclients methods (1to1)
New commands: astakores_resources/feedback/endpoints
Also, wrap astakosclient expositions with an error handling decorator
Exclude unset optional cmd groups
Refs: #4114
E.g. the cyclades spec package contains the non-optional group "server" andthe optional group "floatingip". Now kamaki can load only the "server" group, except if the user requests the loading of "floatingip" group too.
Update inline documentation for get->whoami rename
Rename user_get-->user_whoami
Fix user_list docs
Add name and uuid of session user to shell greet
Refs: 3632
Allow multiple tokens per cloud configuration
Refs: #3632
Implement user_get/set for session user
user_info --> user_getEach kamaki session has a session userThe user defined in the config file through cloud....tokenDuring the session, kamaki users may authenticate more users by tokensand switch between them with user_set command...
Implement user_info to show current user info
Implement a user_list to list cached shell users
Parse publicURL to fix astakos init, pretty quotas
Fix logger in snf-astakos commands
Add --wait 2 network_create/delete + upd Changelog
Refs: 3867
Make wait mechanism usble by more cyclades methods
Refs: #3867
Add a --wait option to various server commands
Commands affected: server_create/start/shutdown/reboot
Also, the wait functionality is now encapsulated in a _server_wait classThe server_wait command is just an implementation of this class.
Update the copyright dates everywhere
Restore history-run functionality
Fix spelling mistake (ident-->indent)
Simplify listings
Modify print_list/dict/items methods of kamaki.cli.utils to be simpler and print output in a simpler form
key: value key: key: value key: key: value ... key: list-item...
Expose floatingip command group to CLI
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
Merge branch 'feature-adjust-docs' into develop
Remove links from simple listing
Add network examples
Add image registration examples
Complete the listing section
Remove forgoten debug message
Fix write recovery bug in kamaki.cli.config
write failed to recover config memory repr. after writing in disk
Refs: #4030
Create InvalidCloudNameError, raise it when needed
Make cloud prefix a global settings
Rename: scenarios-->examples, add first content
- configuration section, with clouds- Simple listing- Pithos advanced listing
Add seperator in item listing (unnamed)
Fix deprecated terms in documentation
Recover old token in case of authentication error
Prepare special local paths (like .) for pithos
Merge branch 'feature-expose-astakosclient' into develop
Conflicts: kamaki/cli/commands/snf-astakos.py
Fix all minor typos and modifications in tests
Do not suggest ansicolors if colors == off
Refs: #3978
Fix typos in error messages and helps
Refs: #3979
Fix log level for expected command failures
Updagrade error message for multiple clouds
Use the default_cloud global option
Refs: #3934 #3979
Change term "remote" to "cloud" when proper
Refs: #3934
Adjust docs to cover multiple clouds functionality
This commit server as a backup mostly, since the adjustments are not yetapplied to docs/commands and all docs/developers kamaki guides.
Update some of the documentation
this commit serves back-up purposes mostly
Document the Upgrade notes for v0.9
Fix PEP8 warning
Adjust astakos functional tests to novel features
Refs: #3964
Merge branch 'feature-endpoints' into develop
Adjust help messages to configuration changes
Refs:#3934
Fix a PEP8 issue
Use os-specific path seperators in up/down-load -R
Refs: #3954
Adjust all command specs to multicloud/singleauth
Make sure user and history commands work fine
Adjust config cli commands to serve remotes
config set remote.smth.option value inserts option=value in remote smthconfig get remote.smth lists the contents (key=val) of remote smthconfig delete remote.smth.option deletes this specific option from the remote smth...
Decide a cloud term, use it if no cloud.url
Implement remotes support in Config and cli init
In Config:
Simplify guess_version heuristics (check if the following exist: global.url/token, remote-defaults)Trasnlate files 'remote "name"' to 3-level dict and backImplement rescue_old_file to convert config files to v3.0...
Plan Config changes (rescue_old_file, translates)
rescue_old_file: mines info from old config file to use them in new filetranslates: remote "smth" --> 'remote': {'smth': ... global.{url, token} --> remote.default.{url, token} <command>.cli --> global.command_cli...
Implement Config.guess_version for config files
Implement the Config.guess_version method
A. Hardcode the new kamaki config file
Breaks compatibility, implements a remotes-based config file
Backwards compatibility for configuraiton file
Compatible with kamaki config files v2
user.url, file.url, compute.url and image.urlare now valid and of higher priority toastakos.url, pithos.url, cyclades.url, plankton.urlwhich are also valid
All these are ignored iff [global].auth_url is given
Fix typos in default and expected values
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
Fix typos in user command flow