Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli / commands / cyclades_cli.py @ 8741c407

History | View | Annotate | Download (21.6 kB)

# Date Author Comment
8741c407 04/02/2013 12:46 pm Stavros Sachtouris

Create an image compute cmd group, make it work

- image compute group contains all Compute Image API commands, as oposed to
Plankton API commands.

- definition of a kamaki cli command slightly changed: a command with
subcommands can have a class without being a command itself, as long as it has...

f40f0cb7 03/22/2013 11:41 am Stavros Sachtouris

Ensure uniform runtime args in cli (feature #3456)

a517ff50 02/26/2013 12:19 pm Stavros Sachtouris

Allow non-ascii paramters on path2url

Replace calls of the form unicode(v) to the equivalent" '%s' % v

9d1db11e 02/20/2013 06:58 pm Stavros Sachtouris

Make network-create --with-dhcp option a flag

de73876b 02/08/2013 07:25 pm Stavros Sachtouris

Attempt to pep8-fix some source files

c314fc10 01/30/2013 03:45 pm Stavros Sachtouris

Add new --[dst-]container info to documentation

1395c40e 01/24/2013 08:19 pm Stavros Sachtouris

Adjust pithos_cli up to store_move

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

Fully adjust cyclades_cli

b04288f7 01/23/2013 07:50 pm Stavros Sachtouris

Adjust cyclades_cli up to create

236e7d08 01/23/2013 06:48 pm Stavros Sachtouris

Fully adjust cyclades_cli

439826ec 01/09/2013 02:27 pm Stavros Sachtouris

Adjust util, docs and store_list to new strategy

New method: cli.utils.page_hold holds console until user input, usefull for listing
results

83c3ba87 01/08/2013 05:22 pm Stavros Sachtouris

Enrich image_public

0e806947 01/08/2013 04:14 pm Stavros Sachtouris

Enrich all network_* output and error handling

ddc0b290 01/08/2013 02:34 pm Stavros Sachtouris

Enrich netowrk_list/info output/error handling

769dbf53 01/08/2013 01:58 pm Stavros Sachtouris

Complete better output for flavor_*

87b6b0df 01/08/2013 01:53 pm Stavros Sachtouris

flavor_list error-handling

a4d0d88a 01/08/2013 01:43 pm Stavros Sachtouris

server_list with --more and page limit

bd40efdf 01/08/2013 01:11 pm Stavros Sachtouris

print_items can print results in pages, flavorlist

if called with page_size a possitive int, print_items holds every page_size
results and waits for user input to continue.

This is used in flavor_list for the moment, but is going to be a std option
for all *_list commands

22b6f063 01/04/2013 07:48 pm Stavros Sachtouris

Enrich help messages in all server * commands

8194b51b 01/04/2013 05:50 pm Stavros Sachtouris

Enrich helps in server create

d7259dd5 01/04/2013 05:14 pm Stavros Sachtouris

Enrich personality argument helps in server create

636876a4 01/04/2013 04:57 pm Stavros Sachtouris

Generalize connection error help for all server-*

a3360389 01/04/2013 04:34 pm Stavros Sachtouris

Bugfixes

67469d65 01/04/2013 04:30 pm Stavros Sachtouris

Handle connection errors, allow special handling

Showcase: server_info catche/manage clienterror that was
a connection error

18edacfe 01/03/2013 06:31 pm Stavros Sachtouris

Enrich server_list help message

a382ea56 01/03/2013 06:23 pm Stavros Sachtouris

Add since arg in server_list

93914390 12/22/2012 08:46 pm Stavros Sachtouris

Adjust cyclades_cli to new Arguments handling

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

a494a741 12/20/2012 01:14 pm Stavros Sachtouris

Improve print_items, use it in flavor_list

flavor_list now prints id name instead of order. name

c17b8bc0 12/10/2012 05:55 pm Stavros Sachtouris

cyclades_cli take advntg of updated utils

f8681ec8 12/10/2012 05:18 pm Stavros Sachtouris

Introduce enumrated list/dict print

d4abd11c 12/10/2012 05:01 pm Stavros Sachtouris

Remove brackets from print_list

e7b43695 12/10/2012 04:45 pm Stavros Sachtouris

Ommit print_list from cli.commands plugins

08c63ef5 12/10/2012 04:40 pm Stavros Sachtouris

Pretty print_list

43ee6ae1 12/07/2012 06:17 pm Stavros Sachtouris

Propagate new error handling to cli.commands

New error handling is done only with cli.errors raiseCLIError methos

a10f5561 12/05/2012 12:08 pm Stavros Sachtouris

Progress bar apears asap

e5d1d5c2 11/27/2012 05:27 pm Stavros Sachtouris

Complete the kamaki interactive shell usage guide

Not spell-checked yet

57d622b6 11/27/2012 02:29 pm Stavros Sachtouris

Restore server-create --personality syntax etc.

the server-create command can, again, use the old syntax for --personality
parameter. What's more, multiple personalities can be appended on the
same call:

kamaki server create 'server name' <flavor id> <image id>...

7de017e5 11/27/2012 02:03 pm Stavros Sachtouris

Restore old personality syntax

Syntax is now the following:

kamaki create server 'Server name' <flavor id> <image id> [... params ...]
--personality=local_path[,server_path[,owner[,group[,mode]]]]

24518694 11/20/2012 06:25 pm Stavros Sachtouris

Print id before other info in network_list

852a22e7 11/19/2012 02:01 pm Stavros Sachtouris

Upgrade progress compatibility to 1.0.2

New progress uses a different interface with start and finish methods
that they are now used

75c3fc42 11/15/2012 01:50 pm Stavros Sachtouris

Fix new deep-level bug in shell

f551841a 11/14/2012 05:01 pm Stavros Sachtouris

Improve print_list/dict

d486baec 11/14/2012 01:38 pm Stavros Sachtouris

Complete UI/cli interface refactoring, minor bugs

062b1d0a 11/09/2012 01:44 pm Stavros Sachtouris

Extract json-encoded error info in clients

6cdfdcf3 11/09/2012 01:11 pm Stavros Sachtouris

Minor improvements to server_wait behavior

fd1f1d96 11/08/2012 02:48 pm Stavros Sachtouris

NEW server method: wait_server + cli command

wait for server to reach state (e.g. while building)

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

pep8 kamaki.cli.commands

a34888b4 10/29/2012 01:31 pm Stavros Sachtouris

list/disconnect nics by network at clients lib

03fd7ddb 10/26/2012 04:03 pm Stavros Sachtouris

Remove relative imports from commands specs

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

Rearange commands class hierarchy

f3e94e06 10/08/2012 05:55 pm Stavros Sachtouris

Adjust cyclades clis, rearange command locations

0b368c8c 09/27/2012 07:47 pm Stavros Sachtouris

Refactor CommandTree, parse and get cli class

f997679d 09/21/2012 06:07 pm Stavros Sachtouris

Start a great deal of CLI modifictions

Argument class wraps python ArgumentParser to provide a convinient arg system
CommandTree class manages (store, load, seek, etc) a tree of command paths
and loads them from command spec files.

Under heavy development...

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

Correct repackaging, minor server list improvement