Go to file
Tim Simpson 88f9530151 Added a ton of CLI options, plus fixed a CI bug.
* Renamed the auth_type "basic" to the more apt "auth1.1".
* Made it possible to pass an "token" and "service_url" argument alone to
  the client. It wouldn't work with just this before.
* The client now saves all arguments you give it to the pickled file,
  including the auth strategy, and preserves the token and service_url
  (which it didn't before) which makes exotic auth types such as "fake"
  easier to work with.
* Not raising an error for a lack of an auth_url until auth occurs
  (which is usually right after creation of the client anyway for most
   auth types).
* Moved oparser code into CliOption class. This is where the options live
  plus is the name of that pickled file that gets stored on login.
* Added a "debug" option which avoids swallowing stack traces if
  something goes wrong with the CLI. Should make client work much easier.
* Added a "verbose" option which changes the output to instead show the
  simulated CURL statement plus the request and response headers and
  bodies, which is useful because I...
* Added an "xml" option which does all the communication in XML.
* Fixed a bug which was affecting the CI tests where the client would fail
  if the response body could not be parsed.
* Added all of Ed's work to update the mgmt CLI module with his newer
  named parameters.
2012-08-14 12:35:38 -05:00

Python bindings to the Reddwarf API

This is a client for the Reddwarf API. There's a Python API (the reddwarfclient module), and a command-line script (reddwarf). Each implements 100% (or less ;) ) of the Reddwarf API.

Command-line API

To use the command line API, first log in using your user name, api key, tenant, and appropriate auth url.

$ reddwarf-cli --username=jsmith --apikey=abcdefg --tenant=12345 --auth_url=http://reddwarf_auth:35357/v2.0/tokens auth login

At this point you will be authenticated and given a token, which is stored at ~/.apitoken. From there you can make other calls to the CLI.

TODO: Add docs

Description
OpenStack Database as a Service (Trove) Client
Readme 12 MiB
Languages
Python 99.8%
Shell 0.2%