Stavros Sachtouris [Mon, 22 Jul 2013 10:54:35 +0000 (13:54 +0300)]
Allow non-None empty default values in Args
Refs: #4058
Stavros Sachtouris [Fri, 19 Jul 2013 15:17:58 +0000 (18:17 +0300)]
Test ArgumentParseManager upto update_parser
Refs: #4058
Stavros Sachtouris [Fri, 19 Jul 2013 13:36:33 +0000 (16:36 +0300)]
Test ProgressBarArgument
Refs: #4058
Stavros Sachtouris [Fri, 19 Jul 2013 12:46:40 +0000 (15:46 +0300)]
Fix typo in error docs
Stavros Sachtouris [Fri, 19 Jul 2013 09:22:52 +0000 (12:22 +0300)]
Test Version and KeyValue Arguments
Refs: #4058
Stavros Sachtouris [Fri, 19 Jul 2013 08:01:22 +0000 (11:01 +0300)]
Recover default fallback for Int/DateArguments
Stavros Sachtouris [Thu, 18 Jul 2013 15:38:09 +0000 (18:38 +0300)]
Test DateArgument
Refs: #4058
Stavros Sachtouris [Thu, 18 Jul 2013 14:09:51 +0000 (17:09 +0300)]
Test IntArgument
Refs: #4058
Stavros Sachtouris [Thu, 18 Jul 2013 13:46:33 +0000 (16:46 +0300)]
Test FlagArgument and ValueArgument
Refs: #4058
Stavros Sachtouris [Thu, 18 Jul 2013 12:58:50 +0000 (15:58 +0300)]
Fix typo in list_public
Stavros Sachtouris [Wed, 17 Jul 2013 15:22:19 +0000 (18:22 +0300)]
Fully test RuntimeConfigArgument
Refs: #4058
Stavros Sachtouris [Wed, 17 Jul 2013 13:43:59 +0000 (16:43 +0300)]
Initialize RuntimeConfigArgument unittests
Refs: #4058
Stavros Sachtouris [Wed, 17 Jul 2013 13:01:52 +0000 (16:01 +0300)]
Mock calls to kamaki.cli.config.Config methods
Refs: #4058
Stavros Sachtouris [Wed, 17 Jul 2013 07:42:32 +0000 (10:42 +0300)]
Merge branch 'develop' into feature-test-argument
Stavros Sachtouris [Wed, 17 Jul 2013 07:41:10 +0000 (10:41 +0300)]
Merge branch 'feature-test-command-tree' into develop
Stavros Sachtouris [Tue, 16 Jul 2013 15:22:12 +0000 (18:22 +0300)]
Complete ConfigArgument testing
Refs: #4058
Stavros Sachtouris [Tue, 16 Jul 2013 13:55:19 +0000 (16:55 +0300)]
Fully test argument.Argument
Refs: #4058
Stavros Sachtouris [Tue, 16 Jul 2013 11:57:56 +0000 (14:57 +0300)]
Initialize unittests for argument.Argument
Refs: #4058
Also, make argument package a directory
Stavros Sachtouris [Tue, 16 Jul 2013 09:54:09 +0000 (12:54 +0300)]
Improve error message when image meta file exists
Stavros Sachtouris [Mon, 15 Jul 2013 14:16:54 +0000 (17:16 +0300)]
Fully test CommandTree
Refs: #4058
Stavros Sachtouris [Mon, 15 Jul 2013 10:01:58 +0000 (13:01 +0300)]
Accepte tilda as a character for a cloud name
Refs: #4126
Stavros Sachtouris [Mon, 15 Jul 2013 10:01:58 +0000 (13:01 +0300)]
Accepte tilda as a character for a cloud name
Refs: #4126
Stavros Sachtouris [Mon, 15 Jul 2013 09:54:21 +0000 (12:54 +0300)]
Setup test example commands for CommandTree
Refs: #4058
Stavros Sachtouris [Fri, 12 Jul 2013 13:57:15 +0000 (16:57 +0300)]
Implement all unittests for command_tree.Command
Refs: #4058
Stavros Sachtouris [Fri, 12 Jul 2013 11:50:44 +0000 (14:50 +0300)]
Spot and remove unused Command methods
Stavros Sachtouris [Fri, 12 Jul 2013 10:27:02 +0000 (13:27 +0300)]
Setup unittest for CLI and apply to commant_tree
Refs: #4058
Only a __init__ and name methods are tested for now
Stavros Sachtouris [Mon, 8 Jul 2013 14:36:52 +0000 (17:36 +0300)]
Merge branch 'feature-expose-astakosclient-full' into develop
Stavros Sachtouris [Mon, 8 Jul 2013 14:36:28 +0000 (17:36 +0300)]
Expose commission issue commands
Refs: #4115
Stavros Sachtouris [Mon, 8 Jul 2013 14:21:27 +0000 (17:21 +0300)]
Expose commission commands (astakos)
Refs: #4115
New commands: astakos_commission_*:
pending, info, action, accept, reject, resolve
Also implement the CommaSeparatedListArgument structure
Stavros Sachtouris [Mon, 8 Jul 2013 13:19:31 +0000 (16:19 +0300)]
Expose more astakosclients methods (1to1)
Refs: #4115
New commands: astakores_resources/feedback/endpoints
Also, wrap astakosclient expositions with an error handling decorator
Stavros Sachtouris [Mon, 8 Jul 2013 11:30:28 +0000 (14:30 +0300)]
Update Changelog optional cmd spec bug fix
Refs: #4114
Stavros Sachtouris [Mon, 8 Jul 2013 11:21:35 +0000 (14:21 +0300)]
Exclude unset optional cmd groups
Refs: #4114
E.g. the cyclades spec package contains the non-optional group "server" and
the optional group "floatingip". Now kamaki can load only the "server"
group, except if the user requests the loading of "floatingip" group too.
Stavros Sachtouris [Mon, 8 Jul 2013 08:55:30 +0000 (11:55 +0300)]
Update inline documentation for get->whoami rename
Stavros Sachtouris [Mon, 8 Jul 2013 08:22:15 +0000 (11:22 +0300)]
Rename user_get-->user_whoami
Stavros Sachtouris [Fri, 28 Jun 2013 12:03:20 +0000 (15:03 +0300)]
Fix user_list docs
Stavros Sachtouris [Fri, 28 Jun 2013 11:58:53 +0000 (14:58 +0300)]
Add name and uuid of session user to shell greet
Refs: 3632
Stavros Sachtouris [Fri, 28 Jun 2013 11:06:49 +0000 (14:06 +0300)]
Merge branch 'feature-multiple-tokens' into develop
Stavros Sachtouris [Fri, 28 Jun 2013 10:57:32 +0000 (13:57 +0300)]
Allow multiple tokens per cloud configuration
Refs: #3632
Stavros Sachtouris [Thu, 27 Jun 2013 14:51:42 +0000 (17:51 +0300)]
Merge branch 'feature-user-commands' into develop
Stavros Sachtouris [Thu, 27 Jun 2013 14:51:18 +0000 (17:51 +0300)]
Update Changelog
Stavros Sachtouris [Thu, 27 Jun 2013 14:49:42 +0000 (17:49 +0300)]
Adjust funcional tests
Stavros Sachtouris [Thu, 27 Jun 2013 13:39:38 +0000 (16:39 +0300)]
Cache by uuid instead of token in astakos client
Refs: #3660
Stavros Sachtouris [Thu, 27 Jun 2013 12:57:05 +0000 (15:57 +0300)]
Merge branch 'feature-user-commands' into develop
Stavros Sachtouris [Thu, 27 Jun 2013 12:52:27 +0000 (15:52 +0300)]
Implement user_get/set for session user
Refs: #3632
user_info --> user_get
Each kamaki session has a session user
The user defined in the config file through cloud....token
During the session, kamaki users may authenticate more users by tokens
and switch between them with user_set command
When authenticating a user, kamaki asks if you need to store this users
token as the session token
Stavros Sachtouris [Thu, 27 Jun 2013 12:01:09 +0000 (15:01 +0300)]
Implement user_info to show current user info
Refs: #3632
Stavros Sachtouris [Thu, 27 Jun 2013 11:52:16 +0000 (14:52 +0300)]
Implement a user_list to list cached shell users
Refs: #3632
Stavros Sachtouris [Thu, 27 Jun 2013 10:40:02 +0000 (13:40 +0300)]
Fix typo == --> --
Stavros Sachtouris [Thu, 27 Jun 2013 09:54:13 +0000 (12:54 +0300)]
Parse publicURL to fix astakos init, pretty quotas
Refs: #3632
Stavros Sachtouris [Wed, 26 Jun 2013 14:58:03 +0000 (17:58 +0300)]
Fix logger in snf-astakos commands
Stavros Sachtouris [Wed, 26 Jun 2013 14:45:06 +0000 (17:45 +0300)]
Fix broken unittests concerning floating ips
Stavros Sachtouris [Wed, 26 Jun 2013 14:03:09 +0000 (17:03 +0300)]
Merge branch 'feature-expand-wait-functionality' into develop
Stavros Sachtouris [Wed, 26 Jun 2013 14:01:56 +0000 (17:01 +0300)]
Add --wait 2 network_create/delete + upd Changelog
Refs: 3867
Stavros Sachtouris [Wed, 26 Jun 2013 13:47:22 +0000 (16:47 +0300)]
Make wait mechanism usble by more cyclades methods
Refs: #3867
Stavros Sachtouris [Wed, 26 Jun 2013 11:35:39 +0000 (14:35 +0300)]
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.
Stavros Sachtouris [Wed, 26 Jun 2013 09:28:04 +0000 (12:28 +0300)]
Update the copyright dates everywhere
Stavros Sachtouris [Tue, 25 Jun 2013 14:50:18 +0000 (17:50 +0300)]
Merge branch 'feature-history-run' into develop
Stavros Sachtouris [Tue, 25 Jun 2013 14:49:47 +0000 (17:49 +0300)]
Restore history-run functionality
Stavros Sachtouris [Tue, 25 Jun 2013 14:06:54 +0000 (17:06 +0300)]
Fix spelling mistake (ident-->indent)
Stavros Sachtouris [Tue, 25 Jun 2013 10:50:42 +0000 (13:50 +0300)]
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
list-item
key-for-list-of-dicts:
key: value
key: value
key: value
...
Stavros Sachtouris [Fri, 21 Jun 2013 14:28:46 +0000 (17:28 +0300)]
Expose floatingip command group to CLI
Stavros Sachtouris [Fri, 21 Jun 2013 14:21:56 +0000 (17:21 +0300)]
Merge branch 'feature-floating-ips' into develop
Stavros Sachtouris [Fri, 21 Jun 2013 14:21:23 +0000 (17:21 +0300)]
Update changelog
Stavros Sachtouris [Fri, 21 Jun 2013 14:19:35 +0000 (17:19 +0300)]
Expose impemented floating IP methods
New commands:
floatingip list/create/delete/info/pools
server ip attach/detach
Also, renamed the assoc/disassoc floating ip clients methods to
attach/detach_floating_ip
Stavros Sachtouris [Fri, 21 Jun 2013 12:16:49 +0000 (15:16 +0300)]
Merge branch 'develop' into feature-floating-ips
Stavros Sachtouris [Thu, 20 Jun 2013 13:16:20 +0000 (16:16 +0300)]
Adjust unit/functional tests
Refs: #3964
Stavros Sachtouris [Thu, 20 Jun 2013 07:38:14 +0000 (10:38 +0300)]
Update Changelog
Stavros Sachtouris [Wed, 19 Jun 2013 14:57:09 +0000 (17:57 +0300)]
Merge branch 'feature-adjust-docs' into develop
Stavros Sachtouris [Wed, 19 Jun 2013 14:56:38 +0000 (17:56 +0300)]
Remove links from simple listing
Stavros Sachtouris [Wed, 19 Jun 2013 14:35:43 +0000 (17:35 +0300)]
Add network examples
Stavros Sachtouris [Wed, 19 Jun 2013 13:18:08 +0000 (16:18 +0300)]
Add examples for virtual machine handling
Stavros Sachtouris [Wed, 19 Jun 2013 11:58:16 +0000 (14:58 +0300)]
Add image registration examples
Stavros Sachtouris [Tue, 18 Jun 2013 13:28:16 +0000 (16:28 +0300)]
Add file sharing examples
Stavros Sachtouris [Tue, 18 Jun 2013 12:44:40 +0000 (15:44 +0300)]
Add upload and download examples
Stavros Sachtouris [Tue, 18 Jun 2013 11:51:26 +0000 (14:51 +0300)]
Complete the listing section
Stavros Sachtouris [Tue, 18 Jun 2013 10:03:21 +0000 (13:03 +0300)]
Merge branch 'feature-connection-retry' into develop
Stavros Sachtouris [Tue, 18 Jun 2013 10:00:40 +0000 (13:00 +0300)]
Add a Connection Retry to Client + ResponseManager
Usage:
cl.XxxClient(...)
cl.CONNECTION_RETRY_LIMIT = 5
cl.<methods>
Stavros Sachtouris [Tue, 18 Jun 2013 08:58:33 +0000 (11:58 +0300)]
Remove forgoten debug message
Stavros Sachtouris [Tue, 18 Jun 2013 08:54:00 +0000 (11:54 +0300)]
Fix write recovery bug in kamaki.cli.config
write failed to recover config memory repr. after writing in disk
Refs: #4030
Stavros Sachtouris [Tue, 18 Jun 2013 07:58:12 +0000 (10:58 +0300)]
Merge branch 'feature-check-cloud-name' into develop
Stavros Sachtouris [Tue, 18 Jun 2013 07:57:13 +0000 (10:57 +0300)]
Create InvalidCloudNameError, raise it when needed
Refs: #4030
Stavros Sachtouris [Mon, 17 Jun 2013 15:37:04 +0000 (18:37 +0300)]
Make cloud prefix a global settings
Refs: #4030
Stavros Sachtouris [Mon, 17 Jun 2013 13:34:54 +0000 (16:34 +0300)]
Rename: scenarios-->examples, add first content
- configuration section, with clouds
- Simple listing
- Pithos advanced listing
Stavros Sachtouris [Mon, 17 Jun 2013 09:51:00 +0000 (12:51 +0300)]
Add a new section "Scenarios" in documentation
Stavros Sachtouris [Mon, 17 Jun 2013 09:15:33 +0000 (12:15 +0300)]
Merge branch 'develop' into feature-adjust-docs
Stavros Sachtouris [Mon, 17 Jun 2013 09:14:22 +0000 (12:14 +0300)]
Add seperator in item listing (unnamed)
Stavros Sachtouris [Mon, 17 Jun 2013 07:58:53 +0000 (10:58 +0300)]
Adjust list_sever_nics to recent server changes
Stavros Sachtouris [Fri, 14 Jun 2013 14:52:34 +0000 (17:52 +0300)]
Merge branch 'feature-adjust-docs' into develop
Stavros Sachtouris [Fri, 14 Jun 2013 14:51:40 +0000 (17:51 +0300)]
Fix deprecated terms in documentation
Stavros Sachtouris [Fri, 14 Jun 2013 11:06:24 +0000 (14:06 +0300)]
Merge branch 'develop' into feature-adjust-docs
Stavros Sachtouris [Fri, 14 Jun 2013 10:38:17 +0000 (13:38 +0300)]
Fix typo when getting metadata without key
Stavros Sachtouris [Fri, 14 Jun 2013 09:55:07 +0000 (12:55 +0300)]
Merge branch 'develop' into feature-adjust-docs
Stavros Sachtouris [Fri, 14 Jun 2013 09:53:32 +0000 (12:53 +0300)]
Recover old token in case of authentication error
Stavros Sachtouris [Fri, 14 Jun 2013 08:25:26 +0000 (11:25 +0300)]
Prepare special local paths (like .) for pithos
Stavros Sachtouris [Thu, 13 Jun 2013 15:46:04 +0000 (18:46 +0300)]
Merge branch 'feature-floating-ips' into develop
Conflicts:
Changelog
Stavros Sachtouris [Thu, 13 Jun 2013 15:44:29 +0000 (18:44 +0300)]
Merge branch 'feature-expose-astakosclient' into develop
Conflicts:
kamaki/cli/commands/snf-astakos.py
Stavros Sachtouris [Thu, 13 Jun 2013 15:38:51 +0000 (18:38 +0300)]
Merge branch 'feature-adjust-functional-tests' into develop
Stavros Sachtouris [Thu, 13 Jun 2013 15:37:40 +0000 (18:37 +0300)]
Fix all minor typos and modifications in tests
Stavros Sachtouris [Wed, 12 Jun 2013 14:55:27 +0000 (17:55 +0300)]
Merge branch 'develop' into feature-adjust-functional-tests
Stavros Sachtouris [Wed, 12 Jun 2013 14:42:42 +0000 (17:42 +0300)]
Merge branch 'feature-cloud-renamings' into develop
Stavros Sachtouris [Wed, 12 Jun 2013 14:40:17 +0000 (17:40 +0300)]
Merge branch 'feature-adjust-docs' into develop