Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli / commands / __init__.py @ 00b1248e

History | View | Annotate | Download (12.6 kB)

# Date Author Comment
56d84a4e 11/15/2013 06:14 pm Stavros Sachtouris

Syntax check required arguments (incomplete)

Refs: #4596

aef3fa1f 11/06/2013 12:19 pm Stavros Sachtouris

Implement network delete command

Refs: #4563

db93db3e 10/10/2013 06:53 pm Stavros Sachtouris

Dont call astakos form kamaki, use astakosclient

Refs:#4312

534e7bbb 10/02/2013 05:40 pm Stavros Sachtouris

Remove reference to Config.get/set_global

f76c6bbc 10/01/2013 02:06 pm Stavros Sachtouris

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

8547cd19 09/27/2013 03:01 pm Stavros Sachtouris

Add a timeout argument to cli *_wait methods

Refs: #4352

e9c73313 09/27/2013 01:49 pm Stavros Sachtouris

Modify progress bar behavior in cyclades wait

Refs: #4352

Progress bar is now able to "count down", be "eating" the bar instead of
filling it, thus has meaning for timeouts
All waits are time-outs, except for "server BUILD"

eddaace7 09/20/2013 01:44 pm Stavros Sachtouris

Fix --more bug in _optional_json commands

76f58e2e 09/12/2013 04:13 pm Stavros Sachtouris

Replace print methods w. respective member methods

Refs: #4292

ddcb2e09 09/12/2013 03:00 pm Stavros Sachtouris

Implement member versions of utils print methods

Refs: #4292

ff1c0296 09/11/2013 03:34 pm Stavros Sachtouris

Add _err to commands, remove pithos print calls

Refs: #4292

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

1757c616 09/11/2013 11:31 am Stavros Sachtouris

Remove pithos.DelimterValue + self._out to list

Refs: #4292

6430d3a0 09/09/2013 04:17 pm Stavros Sachtouris

Update commands to use pager when --more

Refs: #4279

f5ff79d9 09/06/2013 12:29 pm Stavros Sachtouris

Prepend log_settings to auth_client init

64a3c0de 08/29/2013 01:24 pm Stavros Sachtouris

Make pid logging optional, logs are now readable

Refs: #4242

6d190dd1 08/26/2013 02:13 pm Stavros Sachtouris

Create _id/name_filter methods for all listings

Refs: #4220

f1e5b343 08/21/2013 06:26 pm Stavros Sachtouris

Optimize username aquisition in image list

Refs: #4228

Collect all uuids and get them with one request

95641ecc 08/21/2013 05:53 pm Stavros Sachtouris

Augment user info in image list

Refs: #4228

60c42f9f 06/26/2013 02:35 pm Stavros Sachtouris

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 class
The server_wait command is just an implementation of this class.

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

Update the copyright dates everywhere

47f37f7c 06/12/2013 05:13 pm Stavros Sachtouris

Fix log level for expected command failures

144b3551 06/12/2013 03:02 pm Stavros Sachtouris

Change term "remote" to "cloud" when proper

Refs: #3934

b4f69041 06/06/2013 05:29 pm Stavros Sachtouris

Adjust all command specs to multicloud/singleauth

Refs: #3934

844a6bdb 06/06/2013 01:32 pm Stavros Sachtouris

Adjust config cli commands to serve remotes

Refs: #3934

config set remote.smth.option value
inserts option=value in remote smth
config get remote.smth
lists the contents (key=val) of remote smth
config delete remote.smth.option
deletes this specific option from the remote smth...

362adf50 06/05/2013 07:00 pm Stavros Sachtouris

Decide a cloud term, use it if no cloud.url

Refs: #3934

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

137c51f5 05/24/2013 05:24 pm Stavros Sachtouris

Fix typo in kamak.cli.logger import

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

Implement an optional json output 4 outputing cmds

Refs: #3732

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

0d4a6d0a 05/10/2013 06:33 pm Stavros Sachtouris

Stop shell from destroying config instance

This caused warnings about preset variables

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

Globalize logger usage

Unsolved bug: redudant info in logfile

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

c5b9380c 04/11/2013 02:41 pm Stavros Sachtouris

Allow users to set maximum thread limit

This is implemented as a configuration option in cli
Developers may set it as kamaki.clients.Client.MAX_THREADS = <limit>

Adjust documentation acoordingly

Feature #3546

b3bb083f 04/05/2013 04:47 pm Stavros Sachtouris

DISABLE config log options in interactive shell

to avoid kamaki failures due to logging problems

5fdccdec 04/05/2013 04:24 pm Stavros Sachtouris

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

5a673575 01/24/2013 05:36 pm Stavros Sachtouris

Fully adjust cyclades_cli

36526b3c 01/22/2013 05:28 pm Stavros Sachtouris

Tide up error handling code in astakos

e15d78e2 12/22/2012 08:14 pm Stavros Sachtouris

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')

b113e74b 12/22/2012 08:01 pm Stavros Sachtouris

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

5a37a189 12/22/2012 07:38 pm Stavros Sachtouris

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

6069b53b 12/07/2012 04:05 pm Stavros Sachtouris

Trace errors in cli.commands mechanism-not prpgtd

234954d1 11/01/2012 03:20 pm Stavros Sachtouris

pep8 kamaki.cli.commands

5eae854d 10/15/2012 12:00 pm Stavros Sachtouris

Rearange commands class hierarchy

7493ccb6 09/04/2012 06:57 pm Stavros Sachtouris

Correct repackaging, minor server list improvement