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
Stavros Sachtouris [Wed, 12 Jun 2013 14:32:05 +0000 (17:32 +0300)]
Do not suggest ansicolors if colors == off
Refs: #3978
Stavros Sachtouris [Wed, 12 Jun 2013 14:17:32 +0000 (17:17 +0300)]
Fix typos in error messages and helps
Refs: #3979
Stavros Sachtouris [Wed, 12 Jun 2013 14:13:03 +0000 (17:13 +0300)]
Fix log level for expected command failures
Stavros Sachtouris [Wed, 12 Jun 2013 14:00:21 +0000 (17:00 +0300)]
Updagrade error message for multiple clouds
Refs: #3979
Stavros Sachtouris [Wed, 12 Jun 2013 13:55:20 +0000 (16:55 +0300)]
Use the default_cloud global option
Refs: #3934 #3979
Stavros Sachtouris [Wed, 12 Jun 2013 13:22:02 +0000 (16:22 +0300)]
Merge branch 'develop' into feature-cloud-renamings
Stavros Sachtouris [Wed, 12 Jun 2013 13:14:59 +0000 (16:14 +0300)]
Fix typo in method docs
Stavros Sachtouris [Wed, 12 Jun 2013 12:49:40 +0000 (15:49 +0300)]
Adjust livetests to cloud renamings
Stavros Sachtouris [Wed, 12 Jun 2013 12:34:54 +0000 (15:34 +0300)]
Merge branch 'develop' into feature-adjust-docs
Stavros Sachtouris [Wed, 12 Jun 2013 12:31:49 +0000 (15:31 +0300)]
Merge branch 'feature-cloud-renamings' into develop
Stavros Sachtouris [Wed, 12 Jun 2013 12:02:30 +0000 (15:02 +0300)]
Change term "remote" to "cloud" when proper
Refs: #3934
Stavros Sachtouris [Wed, 12 Jun 2013 08:43:26 +0000 (11:43 +0300)]
Merge branch 'feature-adjust-docs' into develop
Stavros Sachtouris [Tue, 11 Jun 2013 16:27:46 +0000 (19:27 +0300)]
Adjust docs to cover multiple clouds functionality
This commit server as a backup mostly, since the adjustments are not yet
applied to docs/commands and all docs/developers kamaki guides.
Stavros Sachtouris [Mon, 10 Jun 2013 15:11:00 +0000 (18:11 +0300)]
Update some of the documentation
this commit serves back-up purposes mostly
Stavros Sachtouris [Mon, 10 Jun 2013 13:06:14 +0000 (16:06 +0300)]
Reset Upgrade notes for the upcoming version 0.10
Stavros Sachtouris [Mon, 10 Jun 2013 13:04:52 +0000 (16:04 +0300)]
Merge branch 'feature-adjust-docs' into develop
Stavros Sachtouris [Mon, 10 Jun 2013 13:03:46 +0000 (16:03 +0300)]
Document the Upgrade notes for v0.9
Stavros Sachtouris [Mon, 10 Jun 2013 12:11:25 +0000 (15:11 +0300)]
Fix PEP8 warning
Stavros Sachtouris [Mon, 10 Jun 2013 11:59:33 +0000 (14:59 +0300)]
Merge branch 'feature-adjust-functional-tests' into develop
Stavros Sachtouris [Mon, 10 Jun 2013 11:57:31 +0000 (14:57 +0300)]
Adjust all livetests to use cached astakos client
Refs: #3964
Stavros Sachtouris [Mon, 10 Jun 2013 10:07:27 +0000 (13:07 +0300)]
Adjust cached astakos client unit tests
Refs: #3964
Stavros Sachtouris [Mon, 10 Jun 2013 09:53:59 +0000 (12:53 +0300)]
Create mising func. tests 4 cached astakos client
Refs: #3964
Stavros Sachtouris [Mon, 10 Jun 2013 08:54:09 +0000 (11:54 +0300)]
Adjust astakos functional tests to novel features
Refs: #3964
Stavros Sachtouris [Fri, 7 Jun 2013 13:39:04 +0000 (16:39 +0300)]
Make sure all url-params are url-encoded
Refs: #3956
Stavros Sachtouris [Fri, 7 Jun 2013 12:42:33 +0000 (15:42 +0300)]
Merge branch 'feature-endpoints' into develop
Stavros Sachtouris [Fri, 7 Jun 2013 12:41:00 +0000 (15:41 +0300)]
Adjust help messages to configuration changes
Refs:#3934
Stavros Sachtouris [Fri, 7 Jun 2013 11:25:00 +0000 (14:25 +0300)]
Merge branch 'feature-endpoints' into develop
Stavros Sachtouris [Fri, 7 Jun 2013 11:24:25 +0000 (14:24 +0300)]
Fix a PEP8 issue
Stavros Sachtouris [Fri, 7 Jun 2013 09:58:28 +0000 (12:58 +0300)]
Use os-specific path seperators in up/down-load -R
Refs: #3954
Stavros Sachtouris [Thu, 6 Jun 2013 14:29:43 +0000 (17:29 +0300)]
Adjust all command specs to multicloud/singleauth
Refs: #3934
Stavros Sachtouris [Thu, 6 Jun 2013 11:20:47 +0000 (14:20 +0300)]
Make sure user and history commands work fine
Refs: #3934
Stavros Sachtouris [Thu, 6 Jun 2013 10:32:19 +0000 (13:32 +0300)]
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
config delete remote.smth
completely erased the remote smth
Stavros Sachtouris [Wed, 5 Jun 2013 16:00:38 +0000 (19:00 +0300)]
Decide a cloud term, use it if no cloud.url
Refs: #3934
Stavros Sachtouris [Wed, 5 Jun 2013 12:43:50 +0000 (15:43 +0300)]
Implement remotes support in Config and cli init
Refs: #3934
In Config:
Simplify guess_version heuristics (check if the following exist:
global.url/token, remote-defaults)
Trasnlate files 'remote "name"' to 3-level dict and back
Implement rescue_old_file to convert config files to v3.0
In kamaki.cli:
Implement method _check_config_version
Stavros Sachtouris [Tue, 4 Jun 2013 15:44:49 +0000 (18:44 +0300)]
Plan Config changes (rescue_old_file, translates)
Refs: #3934
rescue_old_file: mines info from old config file to use them in new file
translates:
remote "smth" --> 'remote': {'smth': ...
global.{url, token} --> remote.default.{url, token}
<command>.cli --> global.command_cli
some commands are maped to other names, e.g. pithos --> file
<command>.url --> remote.defailt.<command>_url
Stavros Sachtouris [Tue, 4 Jun 2013 15:11:50 +0000 (18:11 +0300)]
Implement Config.guess_version for config files
Stavros Sachtouris [Tue, 4 Jun 2013 15:11:02 +0000 (18:11 +0300)]
Implement the Config.guess_version method