kamaki
11 years agopep8 kamaki.cli.commands
Stavros Sachtouris [Thu, 1 Nov 2012 13:20:14 +0000 (15:20 +0200)]
pep8 kamaki.cli.commands

11 years agopep8 part of kamaki (from root to cli)
Stavros Sachtouris [Wed, 31 Oct 2012 17:02:42 +0000 (19:02 +0200)]
pep8 part of kamaki (from root to cli)

11 years agoGet rid of old file
Stavros Sachtouris [Wed, 31 Oct 2012 16:06:16 +0000 (18:06 +0200)]
Get rid of old file

11 years agopep8 setup.py
Stavros Sachtouris [Wed, 31 Oct 2012 14:35:01 +0000 (16:35 +0200)]
pep8 setup.py

11 years agoIntriduce store cat to cli
Stavros Sachtouris [Wed, 31 Oct 2012 14:19:43 +0000 (16:19 +0200)]
Intriduce store cat to cli

cat prints a remote file to console
this used to be achieved by calling download with only one
parameter, which is not supported anymore

11 years agoRemove forgoten debug print message
Stavros Sachtouris [Wed, 31 Oct 2012 14:06:32 +0000 (16:06 +0200)]
Remove forgoten debug print message

11 years agoPropagate failed connection to server
Stavros Sachtouris [Wed, 31 Oct 2012 13:28:56 +0000 (15:28 +0200)]
Propagate failed connection to server

11 years agoMinor bugs
Stavros Sachtouris [Wed, 31 Oct 2012 11:16:26 +0000 (13:16 +0200)]
Minor bugs

11 years agoRemove sensitive info from code
Stavros Sachtouris [Wed, 31 Oct 2012 10:04:29 +0000 (12:04 +0200)]
Remove sensitive info from code

11 years agoRemove some merging trash
Stavros Sachtouris [Wed, 31 Oct 2012 09:55:45 +0000 (11:55 +0200)]
Remove some merging trash

11 years agoMerge branch 'master' of https://code.grnet.gr/git/kamaki
Stavros Sachtouris [Wed, 31 Oct 2012 09:50:40 +0000 (11:50 +0200)]
Merge branch 'master' of https://code.grnet.gr/git/kamaki

Conflicts:
kamaki/__init__.py
kamaki/cli.py
kamaki/clients/__init__.py
kamaki/clients/astakos.py
kamaki/clients/compute.py
kamaki/clients/cyclades.py
kamaki/clients/image.py
kamaki/clients/pithos.py
kamaki/clients/storage.py
kamaki/config.py
kamaki/utils.py
setup.py

11 years agoRemove too much progressbar warnings
Stavros Sachtouris [Tue, 30 Oct 2012 16:51:56 +0000 (18:51 +0200)]
Remove too much progressbar warnings

11 years agoMove progressbar check to ProgressBarArgument
Stavros Sachtouris [Tue, 30 Oct 2012 16:48:37 +0000 (18:48 +0200)]
Move progressbar check to ProgressBarArgument

11 years agoCatch progressbar missing in download
Stavros Sachtouris [Tue, 30 Oct 2012 16:42:34 +0000 (18:42 +0200)]
Catch progressbar missing in download

11 years agoDont create ProgressBar if progress not installed
Stavros Sachtouris [Tue, 30 Oct 2012 16:39:55 +0000 (18:39 +0200)]
Dont create ProgressBar if progress not installed

11 years agoCommit uncommited pithos_cli changes
Stavros Sachtouris [Tue, 30 Oct 2012 16:36:35 +0000 (18:36 +0200)]
Commit uncommited pithos_cli changes

11 years agoMake ansicollors and progressbar optional
Stavros Sachtouris [Tue, 30 Oct 2012 16:17:03 +0000 (18:17 +0200)]
Make ansicollors and progressbar optional

Actually, setuptools don't support "optional", so they are
just not installed

11 years agoRemove request depedancy
Stavros Sachtouris [Tue, 30 Oct 2012 16:11:17 +0000 (18:11 +0200)]
Remove request depedancy

11 years agoAdd snf-common dependency
Stavros Sachtouris [Tue, 30 Oct 2012 16:06:31 +0000 (18:06 +0200)]
Add snf-common dependency

11 years agoAlmost complete kamaki.client settings
Stavros Sachtouris [Tue, 30 Oct 2012 15:54:24 +0000 (17:54 +0200)]
Almost complete kamaki.client settings

There are some issues:
- in Pithos: big-file handling, binnary file up/download
- in Cyclades: some methods need extra access to be tested
- in Image: remove_members, list_shared not checked properly

11 years agounittest image set/list_members
Stavros Sachtouris [Tue, 30 Oct 2012 15:37:20 +0000 (17:37 +0200)]
unittest image set/list_members

11 years agounittest image register (basic functionality)
Stavros Sachtouris [Tue, 30 Oct 2012 14:23:25 +0000 (16:23 +0200)]
unittest image register (basic functionality)

11 years agounittest image get_meta
Stavros Sachtouris [Tue, 30 Oct 2012 12:21:10 +0000 (14:21 +0200)]
unittest image get_meta

11 years agoMerge branch 'develop' of https://code.grnet.gr/git/kamaki into develop
Stavros Sachtouris [Tue, 30 Oct 2012 12:15:06 +0000 (14:15 +0200)]
Merge branch 'develop' of https://code.grnet.gr/git/kamaki into develop

11 years agoFix image list_public syntax bug, gracefull error
Stavros Sachtouris [Tue, 30 Oct 2012 12:13:42 +0000 (14:13 +0200)]
Fix image list_public syntax bug, gracefull error

Connection module errors are controled and nicer
untitest list_public

11 years agoimage test list_public
Stavros Sachtouris [Tue, 30 Oct 2012 12:13:03 +0000 (14:13 +0200)]
image test list_public

11 years agoAstakos: minor config bug, introduce unittesting
Stavros Sachtouris [Tue, 30 Oct 2012 11:25:36 +0000 (13:25 +0200)]
Astakos: minor config bug, introduce unittesting

11 years agoSome touches in Cyclades unittests
Stavros Sachtouris [Tue, 30 Oct 2012 10:09:09 +0000 (12:09 +0200)]
Some touches in Cyclades unittests

11 years agoComplete cyclades testing
Stavros Sachtouris [Mon, 29 Oct 2012 17:43:04 +0000 (19:43 +0200)]
Complete cyclades testing

11 years agoHistory file at root
Stavros Sachtouris [Mon, 29 Oct 2012 17:09:53 +0000 (19:09 +0200)]
History file at root

11 years agoDefault values minor fixes
Stavros Sachtouris [Mon, 29 Oct 2012 16:15:05 +0000 (18:15 +0200)]
Default values minor fixes

11 years agoSetup default values for synnefo services
Stavros Sachtouris [Mon, 29 Oct 2012 15:31:48 +0000 (17:31 +0200)]
Setup default values for synnefo services

Defult values refer to the okeanos production
services. If the caller has access to okeanos
production site (an account name and a token)
then the minimum config file for kamaki is

[global]
account=myaccount@lala.org
token=myT0k3n==

11 years agoSet colors off by default
Stavros Sachtouris [Mon, 29 Oct 2012 14:11:04 +0000 (16:11 +0200)]
Set colors off by default

11 years agoChange syntax for KeyValue properties
Stavros Sachtouris [Mon, 29 Oct 2012 13:52:30 +0000 (15:52 +0200)]
Change syntax for KeyValue properties

old syntax: --property "key1=val1 key2=val2 ..."
new syntax: --property key1=val1,key2-val2,...

11 years agoFix parse error in argument parsing
Stavros Sachtouris [Mon, 29 Oct 2012 12:47:46 +0000 (14:47 +0200)]
Fix parse error in argument parsing

11 years agolist/disconnect nics by network at clients lib
Stavros Sachtouris [Mon, 29 Oct 2012 11:31:49 +0000 (13:31 +0200)]
list/disconnect nics by network at clients lib

11 years agoTry (and fail) to fix _delete_network in tests.py
Stavros Sachtouris [Fri, 26 Oct 2012 14:10:22 +0000 (17:10 +0300)]
Try (and fail) to fix _delete_network in tests.py

11 years agoGracefull filenotfound error in store upload
Stavros Sachtouris [Fri, 26 Oct 2012 14:03:50 +0000 (17:03 +0300)]
Gracefull filenotfound error in store upload

11 years agoClean up forgoten HTTPRequest imports
Stavros Sachtouris [Fri, 26 Oct 2012 13:35:15 +0000 (16:35 +0300)]
Clean up forgoten HTTPRequest imports

11 years agoRemove relative imports from all pkgs, fix astakos
Stavros Sachtouris [Fri, 26 Oct 2012 13:18:55 +0000 (16:18 +0300)]
Remove relative imports from all pkgs, fix astakos

astakos imports an anused (and soon deprecated) module

11 years agoRemove relative imports from commands specs
Stavros Sachtouris [Fri, 26 Oct 2012 13:03:14 +0000 (16:03 +0300)]
Remove relative imports from commands specs

11 years agoHandle connection.close in repeated requests
Stavros Sachtouris [Thu, 25 Oct 2012 16:37:42 +0000 (19:37 +0300)]
Handle connection.close in repeated requests

11 years agoAdjust get_firewall_profile expcted rspns frmt
Stavros Sachtouris [Thu, 25 Oct 2012 14:10:43 +0000 (17:10 +0300)]
Adjust get_firewall_profile expcted rspns frmt

11 years agoVersion 0.6.0
Stavros Sachtouris [Thu, 25 Oct 2012 12:31:37 +0000 (15:31 +0300)]
Version 0.6.0

11 years agoFix unicode on httplib bug
Stavros Sachtouris [Thu, 25 Oct 2012 12:20:00 +0000 (15:20 +0300)]
Fix unicode on httplib bug

Unicode headers or url might apear as httplib request
Although httplib can usually handle the problem, it breaks when
the body has been read from a binary file because
unicode_str + binary produces a UnicodeDecodeError
Thus the url, headers, etc are forced to be simple strings

11 years agoPush error raising upload for testing
Stavros Sachtouris [Tue, 23 Oct 2012 14:54:10 +0000 (17:54 +0300)]
Push error raising upload for testing

11 years agoRaise block upload greenlet failure error
Stavros Sachtouris [Tue, 23 Oct 2012 14:21:54 +0000 (17:21 +0300)]
Raise block upload greenlet failure error

11 years agoTry pithos without relative imports
Stavros Sachtouris [Tue, 23 Oct 2012 12:20:46 +0000 (15:20 +0300)]
Try pithos without relative imports

11 years agoFinish testing cyclades already!
Stavros Sachtouris [Mon, 22 Oct 2012 16:24:31 +0000 (19:24 +0300)]
Finish testing cyclades already!

OK, there are a couple of issues unresolved:
- disconnect_server
- network_profiles

Both of them are probably OK, but should be tested against proper
cyclades versions

11 years agotest get_network_details
Stavros Sachtouris [Mon, 22 Oct 2012 15:55:01 +0000 (18:55 +0300)]
test get_network_details

11 years agoUnittest bugfixes
Stavros Sachtouris [Mon, 22 Oct 2012 15:45:53 +0000 (18:45 +0300)]
Unittest bugfixes

11 years agotest connect/list_server_necs now works
Stavros Sachtouris [Mon, 22 Oct 2012 15:19:59 +0000 (18:19 +0300)]
test connect/list_server_necs now works

11 years agoRemove useless import
Stavros Sachtouris [Mon, 22 Oct 2012 14:18:39 +0000 (17:18 +0300)]
Remove useless import

11 years agoFix import line in clients/connection
Stavros Sachtouris [Mon, 22 Oct 2012 13:55:21 +0000 (16:55 +0300)]
Fix import line in clients/connection

11 years agoTest get_server_stats, list_networks
Stavros Sachtouris [Mon, 22 Oct 2012 13:23:46 +0000 (16:23 +0300)]
Test get_server_stats, list_networks

11 years agotest connect_server (to nic) list_server_nics
Stavros Sachtouris [Mon, 22 Oct 2012 12:53:45 +0000 (15:53 +0300)]
test connect_server (to nic) list_server_nics

11 years agoStart testing network methods (nothing ready yet)
Stavros Sachtouris [Fri, 19 Oct 2012 16:04:45 +0000 (19:04 +0300)]
Start testing network methods (nothing ready yet)

11 years agoImprove cyclades test msgs
Stavros Sachtouris [Fri, 19 Oct 2012 15:27:16 +0000 (18:27 +0300)]
Improve cyclades test msgs

11 years agoTest cyclades.py upto get/set_firewall_profile
Stavros Sachtouris [Fri, 19 Oct 2012 14:32:15 +0000 (17:32 +0300)]
Test cyclades.py upto get/set_firewall_profile

11 years agoTest get_image-metadata, server_console
Stavros Sachtouris [Fri, 19 Oct 2012 12:53:30 +0000 (15:53 +0300)]
Test get_image-metadata, server_console

11 years agoFull flavor testing
Stavros Sachtouris [Thu, 18 Oct 2012 15:33:38 +0000 (18:33 +0300)]
Full flavor testing

11 years agoTest delete_server_metadata and list_flavors
Stavros Sachtouris [Thu, 18 Oct 2012 15:17:48 +0000 (18:17 +0300)]
Test delete_server_metadata and list_flavors

11 years agoMinor fix
Stavros Sachtouris [Thu, 18 Oct 2012 12:37:22 +0000 (15:37 +0300)]
Minor fix

11 years agoMerge branch 'develop' of https://code.grnet.gr/git/kamaki into develop
Stavros Sachtouris [Thu, 18 Oct 2012 12:36:49 +0000 (15:36 +0300)]
Merge branch 'develop' of https://code.grnet.gr/git/kamaki into develop

11 years agoImprove interactive shell help
Stavros Sachtouris [Thu, 18 Oct 2012 12:35:11 +0000 (15:35 +0300)]
Improve interactive shell help

11 years agoImprove interactive shell help msg
Stavros Sachtouris [Thu, 18 Oct 2012 12:25:58 +0000 (15:25 +0300)]
Improve interactive shell help msg

11 years agoBugfixes
Stavros Sachtouris [Wed, 17 Oct 2012 15:27:41 +0000 (18:27 +0300)]
Bugfixes

11 years agoTest create/get_server_metadata, reboot_server etc
Stavros Sachtouris [Wed, 17 Oct 2012 15:20:29 +0000 (18:20 +0300)]
Test create/get_server_metadata, reboot_server etc

11 years agoTest update_server_name + minor bugfixes
Stavros Sachtouris [Wed, 17 Oct 2012 13:45:44 +0000 (16:45 +0300)]
Test update_server_name + minor bugfixes

11 years agoFix arguments in context switching
Stavros Sachtouris [Tue, 16 Oct 2012 15:38:32 +0000 (18:38 +0300)]
Fix arguments in context switching

11 years agoMinor fixes
Stavros Sachtouris [Tue, 16 Oct 2012 14:47:44 +0000 (17:47 +0300)]
Minor fixes

11 years agoTide up a little
Stavros Sachtouris [Tue, 16 Oct 2012 14:07:03 +0000 (17:07 +0300)]
Tide up a little

11 years agoKamaki now has interactive shell + minor fixes
Stavros Sachtouris [Tue, 16 Oct 2012 13:22:49 +0000 (16:22 +0300)]
Kamaki now has interactive shell + minor fixes

11 years agoSeperate shell from one-command cli
Stavros Sachtouris [Mon, 15 Oct 2012 13:32:22 +0000 (16:32 +0300)]
Seperate shell from one-command cli

11 years agoQuota Holder init (no functionality)
Stavros Sachtouris [Mon, 15 Oct 2012 09:44:30 +0000 (12:44 +0300)]
Quota Holder init (no functionality)

11 years agoRearange commands class hierarchy
Stavros Sachtouris [Mon, 15 Oct 2012 09:00:47 +0000 (12:00 +0300)]
Rearange commands class hierarchy

11 years agoVarious behavioral fixes
Stavros Sachtouris [Fri, 12 Oct 2012 15:13:49 +0000 (18:13 +0300)]
Various behavioral fixes

11 years agoError details in default error message
Stavros Sachtouris [Fri, 12 Oct 2012 12:06:20 +0000 (15:06 +0300)]
Error details in default error message

11 years agoRemove some debug msgs
Stavros Sachtouris [Fri, 12 Oct 2012 12:01:05 +0000 (15:01 +0300)]
Remove some debug msgs

11 years agoShell can run cmds with args ony from context
Stavros Sachtouris [Fri, 12 Oct 2012 11:57:52 +0000 (14:57 +0300)]
Shell can run cmds with args ony from context

11 years agoMultilevel command names and one-level api calls
Stavros Sachtouris [Thu, 11 Oct 2012 15:38:46 +0000 (18:38 +0300)]
Multilevel command names and one-level api calls

11 years agoMinor fixes
Stavros Sachtouris [Thu, 11 Oct 2012 15:12:56 +0000 (18:12 +0300)]
Minor fixes

11 years agoInitial shell functionality with 1st lvl cmds
Stavros Sachtouris [Thu, 11 Oct 2012 14:18:03 +0000 (17:18 +0300)]
Initial shell functionality with 1st lvl cmds

11 years agoMinor improvements
Stavros Sachtouris [Thu, 11 Oct 2012 09:47:33 +0000 (12:47 +0300)]
Minor improvements

11 years agoInteractive shell (without functionality ftm)
Stavros Sachtouris [Wed, 10 Oct 2012 13:58:51 +0000 (16:58 +0300)]
Interactive shell (without functionality ftm)

11 years agoHistory clean and params
Stavros Sachtouris [Wed, 10 Oct 2012 13:19:24 +0000 (16:19 +0300)]
History clean and params

11 years agoHistory as command
Stavros Sachtouris [Mon, 8 Oct 2012 16:15:54 +0000 (19:15 +0300)]
History as command

11 years agoRemove History Argument
Stavros Sachtouris [Mon, 8 Oct 2012 15:14:05 +0000 (18:14 +0300)]
Remove History Argument

11 years agoAdjust cyclades clis, rearange command locations
Stavros Sachtouris [Mon, 8 Oct 2012 14:55:58 +0000 (17:55 +0300)]
Adjust cyclades clis, rearange command locations

11 years agoAdd history handling - no history storage yet
Stavros Sachtouris [Mon, 8 Oct 2012 10:20:56 +0000 (13:20 +0300)]
Add history handling - no history storage yet

11 years agoAdjust config
Stavros Sachtouris [Fri, 5 Oct 2012 15:58:07 +0000 (18:58 +0300)]
Adjust config

11 years agoAdjust astakos
Stavros Sachtouris [Fri, 5 Oct 2012 15:33:17 +0000 (18:33 +0300)]
Adjust astakos

11 years agoRename command (mixed with method "command")
Stavros Sachtouris [Fri, 5 Oct 2012 15:17:01 +0000 (18:17 +0300)]
Rename command (mixed with method "command")

11 years agoFix command args bug
Stavros Sachtouris [Fri, 5 Oct 2012 15:12:30 +0000 (18:12 +0300)]
Fix command args bug

11 years agoRefactor command-tree. Better code, still buggy
Stavros Sachtouris [Fri, 5 Oct 2012 15:03:47 +0000 (18:03 +0300)]
Refactor command-tree. Better code, still buggy

11 years agoRe-write Command-Tree (cleaner and faster)
Stavros Sachtouris [Wed, 3 Oct 2012 14:20:24 +0000 (17:20 +0300)]
Re-write Command-Tree (cleaner and faster)

11 years agoCompleted Pithos_cli adjustment
Stavros Sachtouris [Tue, 2 Oct 2012 13:31:15 +0000 (16:31 +0300)]
Completed Pithos_cli adjustment

11 years agoFix help message formating, go on with pithos_cli
Stavros Sachtouris [Tue, 2 Oct 2012 10:43:49 +0000 (13:43 +0300)]
Fix help message formating, go on with pithos_cli

11 years agoShow command-specific help
Stavros Sachtouris [Tue, 2 Oct 2012 09:32:41 +0000 (12:32 +0300)]
Show command-specific help

11 years agoInteruption - Haven't finished pithos_cli adjust
Stavros Sachtouris [Mon, 1 Oct 2012 12:35:12 +0000 (15:35 +0300)]
Interuption - Haven't finished pithos_cli adjust