Statistics
| Branch: | Tag: | Revision:

root / kamaki / cli / argument / __init__.py @ bb50c4ec

History | View | Annotate | Download (25.3 kB)

# Date Author Comment
023d5ada 02/05/2014 03:16 pm Stavros Sachtouris

Recognise usernames in --account args (or similar)

Refs: #4810

Arguments --account and --to-account can now accept usernames along with uuids
Kamaki attempts to recognise the argument as a uuid. In case of failure, it
attempts to recognise it as a username. If it fails again, it produces and...

b33d9050 01/30/2014 05:56 pm Stavros Sachtouris

Disable argument abbreviation

Refs: #4865

Implementaton details: subclass ArgumentParser and override the
_get_option_tuples method. Replace option_string comparison
operator: == instead of .startswith
The rest of the method code is copy-pasted from python 2.7.3 argparse

94370709 01/09/2014 05:30 pm Stavros Sachtouris

Remove debug printer

05ecf3a3 01/09/2014 04:15 pm Stavros Sachtouris

Minor typo

c3d42104 12/20/2013 02:58 pm Stavros Sachtouris

Update wait to use --status

1df445fe 12/17/2013 06:26 pm Stavros Sachtouris

Adjust to progress 1.2

c22183b9 12/02/2013 06:25 pm Stavros Sachtouris

Allow kamaki-shell to ignore unrecognized commands

9b3c8fd9 11/29/2013 04:31 pm Stavros Sachtouris

Fix required args parsing in kamaki shell mode

eb647cfe 11/29/2013 01:03 pm Stavros Sachtouris

Allow ports without device_id in lib + waits

Refs: #4624, #4563

a6d2ad78 11/28/2013 03:58 pm Stavros Sachtouris

Fix required argument inconsistency with lists

7b109aa7 11/27/2013 05:42 pm Stavros Sachtouris

Complete container commands

Refs: #4583

264a13f7 11/20/2013 04:50 pm Stavros Sachtouris

Apply naming scheme to network + cyclades/network

Refs: #4583, #4563

Network connection has changed:
server create <usuall stuff here>
--network-id=NETWORK_ID --network-with-ip=NETWORK_ID,IP
port create/delete are also used to connect/disconnect networks to servers...

0b052394 11/18/2013 04:45 pm Stavros Sachtouris

Apply new naming convention for server

Refs: #4583

Renamings and merges in server:
rename/resize/firewall set/metadata set/metadata_delete -> modify

Removed in server:
metadata *, firewall *

Get all info with server info/list

49e85ee2 11/18/2013 01:09 pm Stavros Sachtouris

Make shell syntax help as verbose as one-commands

Refs: #4583

320af781 11/18/2013 12:22 pm Stavros Sachtouris

Move all argument related syntax help in Arguments

Refs: #4596

56d84a4e 11/15/2013 06:14 pm Stavros Sachtouris

Syntax check required arguments (incomplete)

Refs: #4596

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

Remove reference to Config.get/set_global

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"

f6822a26 09/24/2013 06:13 pm Stavros Sachtouris

Take care of the documentation (except developers)

4a25486d 08/28/2013 03:07 pm Stavros Sachtouris

Fix IntArgument + tests and apply to snf-astakos

ca5528f1 08/27/2013 04:38 pm Stavros Sachtouris

Add meta/properties image methods, whip compute

Refs: #4231

New methods:
/image meta list/set/delete --<meta>[=value] ... -p k1[=v1] [-p k2[=v2]] ...

2d1202ee 08/21/2013 04:04 pm Stavros Sachtouris

Add --property to image list

Refs: #4220

Also, fix various bugs introduced by utils re-writtings

a75393fb 07/22/2013 05:11 pm Stavros Sachtouris

Fix intetation mistake

f52b39db 07/22/2013 01:54 pm Stavros Sachtouris

Allow non-None empty default values in Args

Refs: #4058

631b7c35 07/19/2013 06:17 pm Stavros Sachtouris

Test ArgumentParseManager upto update_parser

Refs: #4058

c0fbf04c 07/19/2013 04:36 pm Stavros Sachtouris

Test ProgressBarArgument

Refs: #4058

67083ca0 07/19/2013 03:46 pm Stavros Sachtouris

Fix typo in error docs

8d427cb9 07/19/2013 12:22 pm Stavros Sachtouris

Test Version and KeyValue Arguments

Refs: #4058

2af87afc 07/19/2013 11:01 am Stavros Sachtouris

Recover default fallback for Int/DateArguments

b7ff6e0c 07/18/2013 06:38 pm Stavros Sachtouris

Test DateArgument

Refs: #4058

02987e9c 07/18/2013 05:09 pm Stavros Sachtouris

Test IntArgument

Refs: #4058

34c480f2 07/17/2013 06:22 pm Stavros Sachtouris

Fully test RuntimeConfigArgument

Refs: #4058

1bd4f765 07/17/2013 04:43 pm Stavros Sachtouris

Initialize RuntimeConfigArgument unittests

Refs: #4058

a7aacf12 07/16/2013 06:22 pm Stavros Sachtouris

Complete ConfigArgument testing

Refs: #4058

f17d6cb5 07/16/2013 04:55 pm Stavros Sachtouris

Fully test argument.Argument

Refs: #4058

5286e2c3 07/16/2013 02:57 pm Stavros Sachtouris

Initialize unittests for argument.Argument

Refs: #4058

Also, make argument package a directory