Stavros Sachtouris [Fri, 20 Sep 2013 13:10:07 +0000 (16:10 +0300)]
Fix wrong parameter passing to create_server
Refs: #4339
Stavros Sachtouris [Fri, 20 Sep 2013 10:44:12 +0000 (13:44 +0300)]
Fix --more bug in _optional_json commands
Stavros Sachtouris [Thu, 19 Sep 2013 15:20:34 +0000 (18:20 +0300)]
Merge branch 'feature-unittest-config' into develop
Stavros Sachtouris [Thu, 19 Sep 2013 15:19:28 +0000 (18:19 +0300)]
Update Changelog for config unittests
Refs: #4058
Stavros Sachtouris [Thu, 19 Sep 2013 15:02:10 +0000 (18:02 +0300)]
Complete unittests for kamaki.cli.config
Refs: #4058
Stavros Sachtouris [Wed, 18 Sep 2013 14:57:39 +0000 (17:57 +0300)]
Implement all methods up to reload
Refs: #4058
Stavros Sachtouris [Wed, 18 Sep 2013 14:14:18 +0000 (17:14 +0300)]
Test get/set_cloud/global
Refs: #4058
Stavros Sachtouris [Wed, 18 Sep 2013 12:22:56 +0000 (15:22 +0300)]
Implement tests for _cloud_name, _rescue_old_file
Refs: #4058
Stavros Sachtouris [Tue, 17 Sep 2013 15:13:42 +0000 (18:13 +0300)]
Unittest kamaki.cli.Config.__init__
Refs: #4058
Stavros Sachtouris [Tue, 17 Sep 2013 13:17:16 +0000 (16:17 +0300)]
Initialize a config package (new dir) with tests
Refs: #4058
Stavros Sachtouris [Tue, 17 Sep 2013 12:16:29 +0000 (15:16 +0300)]
Merge branch 'feature-make-all-authentications-lazy' into develop
Stavros Sachtouris [Tue, 17 Sep 2013 11:49:15 +0000 (14:49 +0300)]
Update Changelog for lazy authentication
Refs: #4300
Stavros Sachtouris [Tue, 17 Sep 2013 11:40:58 +0000 (14:40 +0300)]
Make authentication lazy
Refs: #4300
Authentication (a.k.a. POST /tokens) is performed only if needed, therefore a
syntax query will not request for authentication.
A new method is introduced in kamaki.cli: init_chached_authenticator. This
method authenticated the resolved URL and TOKEN(s).
Until now, this functionality was part of the _init_session method located at
kamaki.cli entry point. Now, this method call has been pushed down.
In case of an interactive shell, the method is called during the shell setup
In case of a one_command, the method is called right before a new executable
command is initialized. This also means that a non-executable command name
space will not cause the execution of init_cached_authenticator.
Stavros Sachtouris [Fri, 13 Sep 2013 16:21:10 +0000 (19:21 +0300)]
Fix typo in private method
Stavros Sachtouris [Fri, 13 Sep 2013 10:35:44 +0000 (13:35 +0300)]
Fix functional test when there are no sharers
This error apears in pithos livetest account_get, when there are no sharer accounts
Stavros Sachtouris [Fri, 13 Sep 2013 09:52:15 +0000 (12:52 +0300)]
Replace writelines with write+flush
Stavros Sachtouris [Thu, 12 Sep 2013 14:47:18 +0000 (17:47 +0300)]
Enrich pithos permission message (global sharing)
Stavros Sachtouris [Thu, 12 Sep 2013 13:49:22 +0000 (16:49 +0300)]
Fix typo in file_publish
Stavros Sachtouris [Thu, 12 Sep 2013 13:25:04 +0000 (16:25 +0300)]
Merge branch 'feature-customizable-output' into develop
Stavros Sachtouris [Thu, 12 Sep 2013 13:19:50 +0000 (16:19 +0300)]
Update Changelog with print method changes
Refs: #4292
Stavros Sachtouris [Thu, 12 Sep 2013 13:13:42 +0000 (16:13 +0300)]
Replace print methods w. respective member methods
Refs: #4292
Stavros Sachtouris [Thu, 12 Sep 2013 12:00:51 +0000 (15:00 +0300)]
Implement member versions of utils print methods
Refs: #4292
Stavros Sachtouris [Thu, 12 Sep 2013 10:21:30 +0000 (13:21 +0300)]
Fix history read unicode issue
Stavros Sachtouris [Thu, 12 Sep 2013 09:39:26 +0000 (12:39 +0300)]
Remove __builtin__.print from _commands
Refs: #4292
Stavros Sachtouris [Wed, 11 Sep 2013 14:55:52 +0000 (17:55 +0300)]
Remove __builtin__.print up to history
Refs: #4292
Stavros Sachtouris [Wed, 11 Sep 2013 12:34:37 +0000 (15:34 +0300)]
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
Stavros Sachtouris [Wed, 11 Sep 2013 08:33:18 +0000 (11:33 +0300)]
Reflect DelimiterArgument removal to changelog
Stavros Sachtouris [Wed, 11 Sep 2013 08:31:23 +0000 (11:31 +0300)]
Remove pithos.DelimterValue + self._out to list
Refs: #4292
Stavros Sachtouris [Tue, 10 Sep 2013 10:27:51 +0000 (13:27 +0300)]
Fix typo in astkoas.py imports
Stavros Sachtouris [Tue, 10 Sep 2013 10:17:19 +0000 (13:17 +0300)]
Create logger before help message
Stavros Sachtouris [Tue, 10 Sep 2013 09:50:12 +0000 (12:50 +0300)]
Fix typos
Stavros Sachtouris [Mon, 9 Sep 2013 15:29:21 +0000 (18:29 +0300)]
Expand stream output to pithos print methods
Stavros Sachtouris [Mon, 9 Sep 2013 15:18:03 +0000 (18:18 +0300)]
Add output stream to astakos print methods
Stavros Sachtouris [Mon, 9 Sep 2013 14:47:16 +0000 (17:47 +0300)]
Fix typo in image list printouts
Stavros Sachtouris [Mon, 9 Sep 2013 13:17:35 +0000 (16:17 +0300)]
Update commands to use pager when --more
Refs: #4279
Stavros Sachtouris [Mon, 9 Sep 2013 12:15:53 +0000 (15:15 +0300)]
Restore backwards compatibility for image register
Refs: Bug #4276
New format:
/image register Name container:path/to/image
Old format:
/image register Name pithos://user-uuid/container/path/to/image
Now, the old format is also recognized. It is planed to be depricated in a
future version, though
Also, uniformize guides and doc responses for image register
Stavros Sachtouris [Fri, 6 Sep 2013 15:23:05 +0000 (18:23 +0300)]
Merge branch 'feature-global-pager' into develop
Stavros Sachtouris [Fri, 6 Sep 2013 15:02:45 +0000 (18:02 +0300)]
Update Changelog to reflect print-method changes
Refs: #4279, 4288
Stavros Sachtouris [Fri, 6 Sep 2013 14:59:20 +0000 (17:59 +0300)]
Modify printing methods to use more stream types
Refs: #4288, #4279
Also, replace page_hold with pydoc.pager
Stavros Sachtouris [Fri, 6 Sep 2013 09:29:50 +0000 (12:29 +0300)]
Prepend log_settings to auth_client init
Stavros Sachtouris [Thu, 5 Sep 2013 10:26:20 +0000 (13:26 +0300)]
Merge branch 'feature-image-register-help' into develop
Stavros Sachtouris [Thu, 5 Sep 2013 10:25:25 +0000 (13:25 +0300)]
Update image register examples to new behavior
Refs: #4276
Stavros Sachtouris [Thu, 5 Sep 2013 10:09:12 +0000 (13:09 +0300)]
Add help on kamaki register when old-style args
Refs: #4276
Stavros Sachtouris [Mon, 2 Sep 2013 15:44:48 +0000 (18:44 +0300)]
Tune functional tests for longer delays
Stavros Sachtouris [Mon, 2 Sep 2013 11:18:22 +0000 (14:18 +0300)]
Fix typo in cyclades client unittest
Stavros Sachtouris [Fri, 30 Aug 2013 13:57:12 +0000 (16:57 +0300)]
Merge branch 'feature-test-cli-errors' into develop
Stavros Sachtouris [Fri, 30 Aug 2013 13:56:29 +0000 (16:56 +0300)]
Update Changelog about cli.errors tests
Refs: #4058
Stavros Sachtouris [Fri, 30 Aug 2013 13:55:19 +0000 (16:55 +0300)]
Add the raiseCLIError method under unit tests
Refs: #4058
Stavros Sachtouris [Fri, 30 Aug 2013 13:23:54 +0000 (16:23 +0300)]
Test All cli.errors error classes
Refs: #4058
Stavros Sachtouris [Thu, 29 Aug 2013 10:41:45 +0000 (13:41 +0300)]
Merge branch 'feature-flag-for-proccess-id-log' into develop
Stavros Sachtouris [Thu, 29 Aug 2013 10:26:19 +0000 (13:26 +0300)]
Update Changelog for pid-logging changes
Refs: #4242
Stavros Sachtouris [Thu, 29 Aug 2013 10:24:10 +0000 (13:24 +0300)]
Make pid logging optional, logs are now readable
Refs: #4242
Stavros Sachtouris [Thu, 29 Aug 2013 09:57:21 +0000 (12:57 +0300)]
Empty Changelog, make it ready for new changes
Stavros Sachtouris [Thu, 29 Aug 2013 09:54:50 +0000 (12:54 +0300)]
Setup version 0.10next
Stavros Sachtouris [Wed, 28 Aug 2013 14:50:54 +0000 (17:50 +0300)]
Adjust snf-astakos to init with correct URL
Stavros Sachtouris [Wed, 28 Aug 2013 13:57:36 +0000 (16:57 +0300)]
Dont raise doc errors if there is hope
Stavros Sachtouris [Wed, 28 Aug 2013 13:43:28 +0000 (16:43 +0300)]
Adjust docs to require progress to build
Stavros Sachtouris [Wed, 28 Aug 2013 13:18:19 +0000 (16:18 +0300)]
Fix split input bug
Refs: #4232
Stavros Sachtouris [Wed, 28 Aug 2013 12:18:50 +0000 (15:18 +0300)]
Rename /image meta list to /image info
Stavros Sachtouris [Wed, 28 Aug 2013 12:07:14 +0000 (15:07 +0300)]
Fix IntArgument + tests and apply to snf-astakos
Stavros Sachtouris [Wed, 28 Aug 2013 11:40:08 +0000 (14:40 +0300)]
Merge branch 'feature-astakos-bugs' into develop
Stavros Sachtouris [Wed, 28 Aug 2013 11:35:11 +0000 (14:35 +0300)]
Merge commit '
0611432fc7ed2bebe92429f707bc39296aa5bdaf' into feature-astakos-bugs
Conflicts:
kamaki/cli/commands/snf-astakos.py
Stavros Sachtouris [Wed, 28 Aug 2013 11:33:11 +0000 (14:33 +0300)]
Fix typos
Stavros Sachtouris [Wed, 28 Aug 2013 11:24:20 +0000 (14:24 +0300)]
Merge commit '
54c907116bc7df4a4bab186e388c19bc7cf29929' into feature-astakos-bugs
Stavros Sachtouris [Wed, 28 Aug 2013 11:23:46 +0000 (14:23 +0300)]
Merge commit '
ada3f3327babbb0a191a18f782a0409cc37c4b72' into feature-astakos-bugs
Conflicts:
kamaki/cli/commands/snf-astakos.py
Stavros Sachtouris [Wed, 28 Aug 2013 11:22:59 +0000 (14:22 +0300)]
Handle _membership_action result as non-dict
Stavros Sachtouris [Wed, 28 Aug 2013 10:47:54 +0000 (13:47 +0300)]
Merge commit '
95482dab08e6ca48141860455112a54fabc3251b' into feature-astakos-bugs
Stavros Sachtouris [Wed, 28 Aug 2013 10:47:45 +0000 (13:47 +0300)]
Merge commit '
8f984bae7c048483906dc60df061e2e17b24ec86' into feature-astakos-bugs
Stavros Sachtouris [Wed, 28 Aug 2013 10:47:35 +0000 (13:47 +0300)]
Merge commit '
01413001785d8d93e2ca11fe435479867ca50397' into feature-astakos-bugs
Stavros Sachtouris [Wed, 28 Aug 2013 10:05:32 +0000 (13:05 +0300)]
Fix some random spelling errors in commends
Giorgos Korfiatis [Wed, 28 Aug 2013 09:53:37 +0000 (12:53 +0300)]
change project_application parent
Giorgos Korfiatis [Wed, 28 Aug 2013 09:45:36 +0000 (12:45 +0300)]
fix membership POSTs
Giorgos Korfiatis [Wed, 28 Aug 2013 09:39:00 +0000 (12:39 +0300)]
membership strings
Giorgos Korfiatis [Wed, 28 Aug 2013 09:35:38 +0000 (12:35 +0300)]
change strings for project actions
Giorgos Korfiatis [Wed, 28 Aug 2013 09:30:39 +0000 (12:30 +0300)]
TODO: returns nothing on success
Giorgos Korfiatis [Wed, 28 Aug 2013 09:30:06 +0000 (12:30 +0300)]
must be int, needs better handling
Giorgos Korfiatis [Wed, 28 Aug 2013 09:23:55 +0000 (12:23 +0300)]
add tokens where missing
Giorgos Korfiatis [Wed, 28 Aug 2013 09:20:16 +0000 (12:20 +0300)]
Fix project info
Stavros Sachtouris [Tue, 27 Aug 2013 14:44:17 +0000 (17:44 +0300)]
Merge branch 'feature-image-property-commands' into develop
Stavros Sachtouris [Tue, 27 Aug 2013 14:15:22 +0000 (17:15 +0300)]
Update changelog for meta/properties image methods
Refs: #4231
Stavros Sachtouris [Tue, 27 Aug 2013 14:11:58 +0000 (17:11 +0300)]
Add documenation for image meta/properties cmds
Refs: #4231
Stavros Sachtouris [Tue, 27 Aug 2013 13:38:54 +0000 (16:38 +0300)]
Add meta/properties image methods, whip compute
Refs: #4231
New methods:
/image meta list/set/delete --<meta>[=value] ... -p k1[=v1] [-p k2[=v2]] ...
Stavros Sachtouris [Tue, 27 Aug 2013 08:26:28 +0000 (11:26 +0300)]
Implement clients.image.update_image
Refs: #4231
This method will allow for image update and especialy property handling
Stavros Sachtouris [Mon, 26 Aug 2013 15:31:29 +0000 (18:31 +0300)]
Merge branch 'feature-id-to-name' into develop
Stavros Sachtouris [Mon, 26 Aug 2013 15:29:54 +0000 (18:29 +0300)]
Implement all user-id --> username mapings
Refs: #4228
Stavros Sachtouris [Mon, 26 Aug 2013 13:35:04 +0000 (16:35 +0300)]
Merge branch 'feature-flavor-filters' into develop
Stavros Sachtouris [Mon, 26 Aug 2013 13:34:38 +0000 (16:34 +0300)]
Update Changelog for list filters and renames
Stavros Sachtouris [Mon, 26 Aug 2013 13:32:56 +0000 (16:32 +0300)]
Implement all filters for network list +user names
Refs: #4220, #4228
Stavros Sachtouris [Mon, 26 Aug 2013 12:46:00 +0000 (15:46 +0300)]
Implement filters for flavor & exapdn 2 all lists
Refs: #4220
Stavros Sachtouris [Mon, 26 Aug 2013 11:13:52 +0000 (14:13 +0300)]
Create _id/name_filter methods for all listings
Refs: #4220
Stavros Sachtouris [Mon, 26 Aug 2013 08:37:16 +0000 (11:37 +0300)]
Merge branch 'feature-image-list-filters' into develop
Stavros Sachtouris [Mon, 26 Aug 2013 08:36:55 +0000 (11:36 +0300)]
Update changelog for filtering and user names
Stavros Sachtouris [Mon, 26 Aug 2013 08:27:24 +0000 (11:27 +0300)]
Add usernames to server list
Refs: #4228
Stavros Sachtouris [Fri, 23 Aug 2013 15:07:59 +0000 (18:07 +0300)]
Impement basic/custom filters for server list
Refs: #4220
New filters: name[-like/-suffix/-prefix], flavor_id, image_id, metadata[-like]
Stavros Sachtouris [Fri, 23 Aug 2013 12:36:49 +0000 (15:36 +0300)]
Fix bug when setting an empty cloud alias
Stavros Sachtouris [Fri, 23 Aug 2013 09:45:13 +0000 (12:45 +0300)]
Complete basic filters in image compute list
Refs: #4220
Stavros Sachtouris [Fri, 23 Aug 2013 07:39:50 +0000 (10:39 +0300)]
Force shell to do nothing in empty lines
Stavros Sachtouris [Thu, 22 Aug 2013 15:55:16 +0000 (18:55 +0300)]
Try a unified filtering method in image ? list
Refs: #4220
Stavros Sachtouris [Thu, 22 Aug 2013 15:04:29 +0000 (18:04 +0300)]
Add a filter_dicts_by_dict utils method
Refs: #4220
This is a multipurpose method to be used for CLI filtering
Stavros Sachtouris [Thu, 22 Aug 2013 12:02:41 +0000 (15:02 +0300)]
Add --property-like in image list
Refs: #4220