- 02 Nov, 2015 2 commits
-
-
Stavros Sachtouris authored
Commands are adjusted to recent changes to the API client, so that they conform with Synnefo 0.16next API
-
Stavros Sachtouris authored
-
- 30 Oct, 2015 15 commits
-
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
Dionysis Grigoropoulos authored
-
Stavros Sachtouris authored
"kamaki file cat" can now output data as they are being downloaded It is also safe to pipe it The new library method "stream_down" is implemented in "kamaki.clients.PithosClient" and it sequentially downloads parts of a remote object to a buffer, which is then written to the destination. The destination descriptor is prepared and provided by the caller (i.e., "kamaki file cat"). Each part of the object is downloaded asynchronously, though.
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Affects the kamaki.cli.cmds.errors.Pithos.container CLI error handler, which is used when a container name is present.
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
* Move the class from kamaki.cli.cmds to kamaki.cli.argument * Change the name of object path from "path" to "object" throughout the class * Add the dict and tuple properties, which return the value in dict {user_uuid: .., container: .., object: ..} or tuple (user_uuid, container, object) format
-
Stavros Sachtouris authored
The "Waiter" class is now deprecated. A "wait" method is used instead. The new method is located at "kamaki.clients" and has this signature: wait( poll method, poll method params, stop method, delay=1, timeout=100, caller callback method=None) The poll method is provided by the caller and is typically the "get_details" method of each API client. The "poll method params" is a list of parameters for the polling method, typically just the item id (i.e., server_id, port_id, volume_id). The stop method returns a boolean, is called after each polling and decides whether the blocking should stop. The delay is the time between each call of the poll method The timeout is the total time after which the blocker stops The caller callback method is not a generator anymore, instead it is just a method that takes the results of the poll method as input and it is called at each iteration. It remains optional. Typically, the caller may use it to advance a progress bar. The CycladesComputeClient, CycladesNetworkClient and CycladesBlockStorageClient have been updated so that they make use of the new method, but they retain the ability to call the Waiter methods for two more versions, due to backwards compatibility policies. The CLI has been adjusted to use the new mechanism.
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
The "create_server" method is located at "kamaki.clients.cyclades" as member of the "CycladesComputeClient" class. The docstring was incorrectly describing the effects passing None or [] to the "networks" argument.
-
Stavros Sachtouris authored
Used flake8 to check for pep8 errors
-
Stavros Sachtouris authored
The term "different account" refers to a user account that is not the same as the one running the request. The most notable example is when user A uploads something to a directory owned by user B, provided user B has granted write permissions to user A.
-
- 29 Oct, 2015 3 commits
-
-
Stavros Sachtouris authored
Some commands carry "--wait" options with their respective help messages. Some of the messages were referring to the wrong commands and this is now fixed.
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
-
- 12 Oct, 2015 2 commits
-
-
Stavros Sachtouris authored
Fixes grnet/kamaki#69
-
Stavros Sachtouris authored
Refs grnet/kamaki#69 To get the hashmap, the user must call the command with the "--hashmap" argument.
-
- 24 Sep, 2015 3 commits
-
-
Nikos Skalkotos authored
Conflicts: kamaki/version.py version
-
Nikos Skalkotos authored
-
Stavros Sachtouris authored
-
- 08 Sep, 2015 3 commits
-
-
Stavros Sachtouris authored
The new logging level DEBUGV is set in "kamaki.clients" and it is used to log verbose information related to ReST communication. The CLI is changed accordingly.
-
Stavros Sachtouris authored
The problem was noted in OS X: when an SSL credential file (e.g., the certificates bundle) does not exist or is not provided, the ssl.wrap_socket method fails with an IOError, while in other systems it fails with an SSLError. In this commit, the IOError is examined and, if some conditions hold (errno==2, no SSL credential files or files do not exist), an SSLError is raised.
-
Stavros Sachtouris authored
-
- 05 Jun, 2015 2 commits
-
-
Nikos Skalkotos authored
Conflicts: kamaki/version.py version
-
Nikos Skalkotos authored
Hotfix 0.13.4
-
- 04 Jun, 2015 3 commits
-
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Affects the methods "object_move" and "object_copy" of the class "PithosRestClient" in "kamaki.clients.pithos", allowing moving and copying of objects with unicode object or container names.
-
Stavros Sachtouris authored
-
- 04 May, 2015 5 commits
-
-
Nikos Skalkotos authored
-
Stavros Sachtouris authored
-
Stavros Sachtouris authored
Closes grnet/kamaki#96
-
Stavros Sachtouris authored
Refs grnet/kamaki#96 Affects the class "kamaki.clients.pithos.PithosClient" and more specifically the methods "get_object_hashmap", "download_object" and "download_to_string". All affected methods will now accept an optional placeholder "headers" dict as a parameter.
-
Stavros Sachtouris authored
-
- 16 Mar, 2015 2 commits
-
-
Nikos Skalkotos authored
Bump version to 0.13.2next Conflicts: kamaki/version.py version
-
Nikos Skalkotos authored
-