History | View | Annotate | Download (6.5 kB)
Add a --wait option to various server commands
Refs: #3867
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
Fix log level for expected command failures
Change term "remote" to "cloud" when proper
Refs: #3934
Adjust all command specs to multicloud/singleauth
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
Get endpoint urls for all CLI operations
Refs: #3874
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...
Fix typo in kamak.cli.logger import
Implement an optional json output 4 outputing cmds
Refs: #3732
Apply optional output to kamaki file commands
Apply the feature wherever is applicableGeneralize the feature by moving the corresponding code to _command_init
Stop shell from destroying config instance
This caused warnings about preset variables
Globalize logger usage
Unsolved bug: redudant info in logfile
Pametrize log file, make it globaly available
Kamaki logger module is now available to both cli and clients packagesUsers may set the log_file option in configuration file kamaki config set log_file ...
Support #3441
Allow users to set maximum thread limit
This is implemented as a configuration option in cliDevelopers may set it as kamaki.clients.Client.MAX_THREADS = <limit>
Adjust documentation acoordingly
Feature #3546
DISABLE config log options in interactive shell
to avoid kamaki failures due to logging problems
Allow config to switch some options on or off
- LOG_TOKEN: whether to log user token in http requests (default: off)- LOG_DATA: whether to log http body (send or secv - default: off)
config options: log_token=off, log_data=off
Fully adjust cyclades_cli
Tide up error handling code in astakos
Apply new argument strategy on server list
Suggested use:- declare: (self.)arguments = dict(argname=Argument())- set/update: self['argname'] = Argument(...)- use: self['argname']- get arg object: self.get_argument_object('argname')
Modify getitem semantics
Not getitem of cli.commands does return arg.value- to set: mycmd['argname'] = Argument(…)or mycmd.argument['argname'] = Argument(…)- to get Argument object: mycmd.get_argument_object('argname')or mycmd.argument['argname']...
Make arguments an internal feature of cli.commands
Now any cli.commands subclass instance:- sets args like this: mycmd['myargname'] = Argument()instead of mycmd.arguments['myargname']- gets args like this: mycmd['myargname'] = Argument()instead of...
Trace errors in cli.commands mechanism-not prpgtd
pep8 kamaki.cli.commands
Rearange commands class hierarchy
Correct repackaging, minor server list improvement