kamaki
10 years agoFix wrong parameter passing to create_server
Stavros Sachtouris [Fri, 20 Sep 2013 13:10:07 +0000 (16:10 +0300)]
Fix wrong parameter passing to create_server

Refs: #4339

10 years agoFix --more bug in _optional_json commands
Stavros Sachtouris [Fri, 20 Sep 2013 10:44:12 +0000 (13:44 +0300)]
Fix --more bug in _optional_json commands

10 years agoMerge branch 'feature-unittest-config' into develop
Stavros Sachtouris [Thu, 19 Sep 2013 15:20:34 +0000 (18:20 +0300)]
Merge branch 'feature-unittest-config' into develop

10 years agoUpdate Changelog for config unittests
Stavros Sachtouris [Thu, 19 Sep 2013 15:19:28 +0000 (18:19 +0300)]
Update Changelog for config unittests

Refs: #4058

10 years agoComplete unittests for kamaki.cli.config
Stavros Sachtouris [Thu, 19 Sep 2013 15:02:10 +0000 (18:02 +0300)]
Complete unittests for kamaki.cli.config

Refs: #4058

10 years agoImplement all methods up to reload
Stavros Sachtouris [Wed, 18 Sep 2013 14:57:39 +0000 (17:57 +0300)]
Implement all methods up to reload

Refs: #4058

10 years agoTest get/set_cloud/global
Stavros Sachtouris [Wed, 18 Sep 2013 14:14:18 +0000 (17:14 +0300)]
Test get/set_cloud/global

Refs: #4058

10 years agoImplement tests for _cloud_name, _rescue_old_file
Stavros Sachtouris [Wed, 18 Sep 2013 12:22:56 +0000 (15:22 +0300)]
Implement tests for _cloud_name, _rescue_old_file

Refs: #4058

10 years agoUnittest kamaki.cli.Config.__init__
Stavros Sachtouris [Tue, 17 Sep 2013 15:13:42 +0000 (18:13 +0300)]
Unittest kamaki.cli.Config.__init__

Refs: #4058

10 years agoInitialize a config package (new dir) with tests
Stavros Sachtouris [Tue, 17 Sep 2013 13:17:16 +0000 (16:17 +0300)]
Initialize a config package (new dir) with tests

Refs: #4058

10 years agoMerge branch 'feature-make-all-authentications-lazy' into develop
Stavros Sachtouris [Tue, 17 Sep 2013 12:16:29 +0000 (15:16 +0300)]
Merge branch 'feature-make-all-authentications-lazy' into develop

10 years agoUpdate Changelog for lazy authentication
Stavros Sachtouris [Tue, 17 Sep 2013 11:49:15 +0000 (14:49 +0300)]
Update Changelog for lazy authentication

Refs: #4300

10 years agoMake authentication lazy
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.

10 years agoFix typo in private method
Stavros Sachtouris [Fri, 13 Sep 2013 16:21:10 +0000 (19:21 +0300)]
Fix typo in private method

10 years agoFix functional test when there are no sharers
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

10 years agoReplace writelines with write+flush
Stavros Sachtouris [Fri, 13 Sep 2013 09:52:15 +0000 (12:52 +0300)]
Replace writelines with write+flush

10 years agoEnrich pithos permission message (global sharing)
Stavros Sachtouris [Thu, 12 Sep 2013 14:47:18 +0000 (17:47 +0300)]
Enrich pithos permission message (global sharing)

10 years agoFix typo in file_publish
Stavros Sachtouris [Thu, 12 Sep 2013 13:49:22 +0000 (16:49 +0300)]
Fix typo in file_publish

10 years agoMerge branch 'feature-customizable-output' into develop
Stavros Sachtouris [Thu, 12 Sep 2013 13:25:04 +0000 (16:25 +0300)]
Merge branch 'feature-customizable-output' into develop

10 years agoUpdate Changelog with print method changes
Stavros Sachtouris [Thu, 12 Sep 2013 13:19:50 +0000 (16:19 +0300)]
Update Changelog with print method changes

Refs: #4292

10 years agoReplace print methods w. respective member methods
Stavros Sachtouris [Thu, 12 Sep 2013 13:13:42 +0000 (16:13 +0300)]
Replace print methods w. respective member methods

Refs: #4292

10 years agoImplement member versions of utils print methods
Stavros Sachtouris [Thu, 12 Sep 2013 12:00:51 +0000 (15:00 +0300)]
Implement member versions of utils print methods

Refs: #4292

10 years agoFix history read unicode issue
Stavros Sachtouris [Thu, 12 Sep 2013 10:21:30 +0000 (13:21 +0300)]
Fix history read unicode issue

10 years agoRemove __builtin__.print from _commands
Stavros Sachtouris [Thu, 12 Sep 2013 09:39:26 +0000 (12:39 +0300)]
Remove __builtin__.print from _commands

Refs: #4292

10 years agoRemove __builtin__.print up to history
Stavros Sachtouris [Wed, 11 Sep 2013 14:55:52 +0000 (17:55 +0300)]
Remove __builtin__.print up to history

Refs: #4292

10 years agoAdd _err to commands, remove pithos print calls
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

10 years agoReflect DelimiterArgument removal to changelog
Stavros Sachtouris [Wed, 11 Sep 2013 08:33:18 +0000 (11:33 +0300)]
Reflect DelimiterArgument removal to changelog

10 years agoRemove pithos.DelimterValue + self._out to list
Stavros Sachtouris [Wed, 11 Sep 2013 08:31:23 +0000 (11:31 +0300)]
Remove pithos.DelimterValue + self._out to list

Refs: #4292

10 years agoFix typo in astkoas.py imports
Stavros Sachtouris [Tue, 10 Sep 2013 10:27:51 +0000 (13:27 +0300)]
Fix typo in astkoas.py imports

10 years agoCreate logger before help message
Stavros Sachtouris [Tue, 10 Sep 2013 10:17:19 +0000 (13:17 +0300)]
Create logger before help message

10 years agoFix typos
Stavros Sachtouris [Tue, 10 Sep 2013 09:50:12 +0000 (12:50 +0300)]
Fix typos

10 years agoExpand stream output to pithos print methods
Stavros Sachtouris [Mon, 9 Sep 2013 15:29:21 +0000 (18:29 +0300)]
Expand stream output to pithos print methods

10 years agoAdd output stream to astakos print methods
Stavros Sachtouris [Mon, 9 Sep 2013 15:18:03 +0000 (18:18 +0300)]
Add output stream to astakos print methods

10 years agoFix typo in image list printouts
Stavros Sachtouris [Mon, 9 Sep 2013 14:47:16 +0000 (17:47 +0300)]
Fix typo in image list printouts

10 years agoUpdate commands to use pager when --more
Stavros Sachtouris [Mon, 9 Sep 2013 13:17:35 +0000 (16:17 +0300)]
Update commands to use pager when --more

Refs: #4279

10 years agoRestore backwards compatibility for image register
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

10 years agoMerge branch 'feature-global-pager' into develop
Stavros Sachtouris [Fri, 6 Sep 2013 15:23:05 +0000 (18:23 +0300)]
Merge branch 'feature-global-pager' into develop

10 years agoUpdate Changelog to reflect print-method changes
Stavros Sachtouris [Fri, 6 Sep 2013 15:02:45 +0000 (18:02 +0300)]
Update Changelog to reflect print-method changes

Refs: #4279, 4288

10 years agoModify printing methods to use more stream types
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

10 years agoPrepend log_settings to auth_client init
Stavros Sachtouris [Fri, 6 Sep 2013 09:29:50 +0000 (12:29 +0300)]
Prepend log_settings to auth_client init

10 years agoMerge branch 'feature-image-register-help' into develop
Stavros Sachtouris [Thu, 5 Sep 2013 10:26:20 +0000 (13:26 +0300)]
Merge branch 'feature-image-register-help' into develop

10 years agoUpdate image register examples to new behavior
Stavros Sachtouris [Thu, 5 Sep 2013 10:25:25 +0000 (13:25 +0300)]
Update image register examples to new behavior

Refs: #4276

10 years agoAdd help on kamaki register when old-style args
Stavros Sachtouris [Thu, 5 Sep 2013 10:09:12 +0000 (13:09 +0300)]
Add help on kamaki register when old-style args

Refs: #4276

10 years agoTune functional tests for longer delays
Stavros Sachtouris [Mon, 2 Sep 2013 15:44:48 +0000 (18:44 +0300)]
Tune functional tests for longer delays

10 years agoFix typo in cyclades client unittest
Stavros Sachtouris [Mon, 2 Sep 2013 11:18:22 +0000 (14:18 +0300)]
Fix typo in cyclades client unittest

10 years agoMerge branch 'feature-test-cli-errors' into develop
Stavros Sachtouris [Fri, 30 Aug 2013 13:57:12 +0000 (16:57 +0300)]
Merge branch 'feature-test-cli-errors' into develop

10 years agoUpdate Changelog about cli.errors tests
Stavros Sachtouris [Fri, 30 Aug 2013 13:56:29 +0000 (16:56 +0300)]
Update Changelog about cli.errors tests

Refs: #4058

10 years agoAdd the raiseCLIError method under unit tests
Stavros Sachtouris [Fri, 30 Aug 2013 13:55:19 +0000 (16:55 +0300)]
Add the raiseCLIError method under unit tests

Refs: #4058

10 years agoTest All cli.errors error classes
Stavros Sachtouris [Fri, 30 Aug 2013 13:23:54 +0000 (16:23 +0300)]
Test All cli.errors error classes

Refs: #4058

10 years agoMerge branch 'feature-flag-for-proccess-id-log' into develop
Stavros Sachtouris [Thu, 29 Aug 2013 10:41:45 +0000 (13:41 +0300)]
Merge branch 'feature-flag-for-proccess-id-log' into develop

10 years agoUpdate Changelog for pid-logging changes
Stavros Sachtouris [Thu, 29 Aug 2013 10:26:19 +0000 (13:26 +0300)]
Update Changelog for pid-logging changes

Refs: #4242

10 years agoMake pid logging optional, logs are now readable
Stavros Sachtouris [Thu, 29 Aug 2013 10:24:10 +0000 (13:24 +0300)]
Make pid logging optional, logs are now readable

Refs: #4242

10 years agoEmpty Changelog, make it ready for new changes
Stavros Sachtouris [Thu, 29 Aug 2013 09:57:21 +0000 (12:57 +0300)]
Empty Changelog, make it ready for new changes

10 years agoSetup version 0.10next
Stavros Sachtouris [Thu, 29 Aug 2013 09:54:50 +0000 (12:54 +0300)]
Setup version 0.10next

10 years agoAdjust snf-astakos to init with correct URL
Stavros Sachtouris [Wed, 28 Aug 2013 14:50:54 +0000 (17:50 +0300)]
Adjust snf-astakos to init with correct URL

10 years agoDont raise doc errors if there is hope
Stavros Sachtouris [Wed, 28 Aug 2013 13:57:36 +0000 (16:57 +0300)]
Dont raise doc errors if there is hope

10 years agoAdjust docs to require progress to build
Stavros Sachtouris [Wed, 28 Aug 2013 13:43:28 +0000 (16:43 +0300)]
Adjust docs to require progress to build

10 years agoFix split input bug
Stavros Sachtouris [Wed, 28 Aug 2013 13:18:19 +0000 (16:18 +0300)]
Fix split input bug

Refs: #4232

10 years agoRename /image meta list to /image info
Stavros Sachtouris [Wed, 28 Aug 2013 12:18:50 +0000 (15:18 +0300)]
Rename /image meta list to /image info

10 years agoFix IntArgument + tests and apply to snf-astakos
Stavros Sachtouris [Wed, 28 Aug 2013 12:07:14 +0000 (15:07 +0300)]
Fix IntArgument + tests and apply to snf-astakos

10 years agoMerge branch 'feature-astakos-bugs' into develop
Stavros Sachtouris [Wed, 28 Aug 2013 11:40:08 +0000 (14:40 +0300)]
Merge branch 'feature-astakos-bugs' into develop

10 years agoMerge commit '0611432fc7ed2bebe92429f707bc39296aa5bdaf' into feature-astakos-bugs
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

10 years agoFix typos
Stavros Sachtouris [Wed, 28 Aug 2013 11:33:11 +0000 (14:33 +0300)]
Fix typos

10 years agoMerge commit '54c907116bc7df4a4bab186e388c19bc7cf29929' into feature-astakos-bugs
Stavros Sachtouris [Wed, 28 Aug 2013 11:24:20 +0000 (14:24 +0300)]
Merge commit '54c907116bc7df4a4bab186e388c19bc7cf29929' into feature-astakos-bugs

10 years agoMerge commit 'ada3f3327babbb0a191a18f782a0409cc37c4b72' 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

10 years agoHandle _membership_action result as non-dict
Stavros Sachtouris [Wed, 28 Aug 2013 11:22:59 +0000 (14:22 +0300)]
Handle _membership_action result as non-dict

10 years agoMerge commit '95482dab08e6ca48141860455112a54fabc3251b' into feature-astakos-bugs
Stavros Sachtouris [Wed, 28 Aug 2013 10:47:54 +0000 (13:47 +0300)]
Merge commit '95482dab08e6ca48141860455112a54fabc3251b' into feature-astakos-bugs

10 years agoMerge commit '8f984bae7c048483906dc60df061e2e17b24ec86' into feature-astakos-bugs
Stavros Sachtouris [Wed, 28 Aug 2013 10:47:45 +0000 (13:47 +0300)]
Merge commit '8f984bae7c048483906dc60df061e2e17b24ec86' into feature-astakos-bugs

10 years agoMerge commit '01413001785d8d93e2ca11fe435479867ca50397' into feature-astakos-bugs
Stavros Sachtouris [Wed, 28 Aug 2013 10:47:35 +0000 (13:47 +0300)]
Merge commit '01413001785d8d93e2ca11fe435479867ca50397' into feature-astakos-bugs

10 years agoFix some random spelling errors in commends
Stavros Sachtouris [Wed, 28 Aug 2013 10:05:32 +0000 (13:05 +0300)]
Fix some random spelling errors in commends

10 years agochange project_application parent
Giorgos Korfiatis [Wed, 28 Aug 2013 09:53:37 +0000 (12:53 +0300)]
change project_application parent

10 years agofix membership POSTs
Giorgos Korfiatis [Wed, 28 Aug 2013 09:45:36 +0000 (12:45 +0300)]
fix membership POSTs

10 years agomembership strings
Giorgos Korfiatis [Wed, 28 Aug 2013 09:39:00 +0000 (12:39 +0300)]
membership strings

10 years agochange strings for project actions
Giorgos Korfiatis [Wed, 28 Aug 2013 09:35:38 +0000 (12:35 +0300)]
change strings for project actions

10 years agoTODO: returns nothing on success
Giorgos Korfiatis [Wed, 28 Aug 2013 09:30:39 +0000 (12:30 +0300)]
TODO: returns nothing on success

10 years agomust be int, needs better handling
Giorgos Korfiatis [Wed, 28 Aug 2013 09:30:06 +0000 (12:30 +0300)]
must be int, needs better handling

10 years agoadd tokens where missing
Giorgos Korfiatis [Wed, 28 Aug 2013 09:23:55 +0000 (12:23 +0300)]
add tokens where missing

10 years agoFix project info
Giorgos Korfiatis [Wed, 28 Aug 2013 09:20:16 +0000 (12:20 +0300)]
Fix project info

10 years agoMerge branch 'feature-image-property-commands' into develop
Stavros Sachtouris [Tue, 27 Aug 2013 14:44:17 +0000 (17:44 +0300)]
Merge branch 'feature-image-property-commands' into develop

10 years agoUpdate changelog for meta/properties image methods
Stavros Sachtouris [Tue, 27 Aug 2013 14:15:22 +0000 (17:15 +0300)]
Update changelog for meta/properties image methods

Refs: #4231

10 years agoAdd documenation for image meta/properties cmds
Stavros Sachtouris [Tue, 27 Aug 2013 14:11:58 +0000 (17:11 +0300)]
Add documenation for image meta/properties cmds

Refs: #4231

10 years agoAdd meta/properties image methods, whip compute
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]] ...

10 years agoImplement clients.image.update_image
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

10 years agoMerge branch 'feature-id-to-name' into develop
Stavros Sachtouris [Mon, 26 Aug 2013 15:31:29 +0000 (18:31 +0300)]
Merge branch 'feature-id-to-name' into develop

10 years agoImplement all user-id --> username mapings
Stavros Sachtouris [Mon, 26 Aug 2013 15:29:54 +0000 (18:29 +0300)]
Implement all user-id --> username mapings

Refs: #4228

10 years agoMerge branch 'feature-flavor-filters' into develop
Stavros Sachtouris [Mon, 26 Aug 2013 13:35:04 +0000 (16:35 +0300)]
Merge branch 'feature-flavor-filters' into develop

10 years agoUpdate Changelog for list filters and renames
Stavros Sachtouris [Mon, 26 Aug 2013 13:34:38 +0000 (16:34 +0300)]
Update Changelog for list filters and renames

10 years agoImplement all filters for network list +user names
Stavros Sachtouris [Mon, 26 Aug 2013 13:32:56 +0000 (16:32 +0300)]
Implement all filters for network list +user names

Refs: #4220, #4228

10 years agoImplement filters for flavor & exapdn 2 all lists
Stavros Sachtouris [Mon, 26 Aug 2013 12:46:00 +0000 (15:46 +0300)]
Implement filters for flavor & exapdn 2 all lists

Refs: #4220

10 years agoCreate _id/name_filter methods for all listings
Stavros Sachtouris [Mon, 26 Aug 2013 11:13:52 +0000 (14:13 +0300)]
Create _id/name_filter methods for all listings

Refs: #4220

10 years agoMerge branch 'feature-image-list-filters' into develop
Stavros Sachtouris [Mon, 26 Aug 2013 08:37:16 +0000 (11:37 +0300)]
Merge branch 'feature-image-list-filters' into develop

10 years agoUpdate changelog for filtering and user names
Stavros Sachtouris [Mon, 26 Aug 2013 08:36:55 +0000 (11:36 +0300)]
Update changelog for filtering and user names

10 years agoAdd usernames to server list
Stavros Sachtouris [Mon, 26 Aug 2013 08:27:24 +0000 (11:27 +0300)]
Add usernames to server list

Refs: #4228

10 years agoImpement basic/custom filters for server list
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]

10 years agoFix bug when setting an empty cloud alias
Stavros Sachtouris [Fri, 23 Aug 2013 12:36:49 +0000 (15:36 +0300)]
Fix bug when setting an empty cloud alias

10 years agoComplete basic filters in image compute list
Stavros Sachtouris [Fri, 23 Aug 2013 09:45:13 +0000 (12:45 +0300)]
Complete basic filters in image compute list

Refs: #4220

10 years agoForce shell to do nothing in empty lines
Stavros Sachtouris [Fri, 23 Aug 2013 07:39:50 +0000 (10:39 +0300)]
Force shell to do nothing in empty lines

10 years agoTry a unified filtering method in image ? list
Stavros Sachtouris [Thu, 22 Aug 2013 15:55:16 +0000 (18:55 +0300)]
Try a unified filtering method in image ? list

Refs: #4220

10 years agoAdd a filter_dicts_by_dict utils method
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

10 years agoAdd --property-like in image list
Stavros Sachtouris [Thu, 22 Aug 2013 12:02:41 +0000 (15:02 +0300)]
Add --property-like in image list

Refs: #4220