15 Commits

Author SHA1 Message Date
Tim Simpson
62e603a3b7 Minor fixes and tweaks.
* insecure no longer needs a string value added to it.
* Print "ok" in situations where the client would otherwise give no
  output.
* Fixed a bug in non-verbose output.
2012-08-14 15:32:52 -05:00
Tim Simpson
4187d16cd9 Merge pull request #27 from TimSimpsonR/better_cli-2
Added a ton of CLI options, plus fixed a CI bug.
2012-08-14 10:47:07 -07:00
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
Tim Simpson
d2565688f6 Merge pull request #28 from ed-/fix-flavor-id
Fixes reference to flavor_id that should be flavor instead
2012-08-14 10:27:41 -07:00
Nirmal Ranganathan
48e58d265f Merge pull request #25 from vipulsabhaya/reset-password
Support for root user reset-password action
2012-08-14 08:52:07 -07:00
Ed Cranford
611fd13894 Fixes reference to flavor_id that should be flavor instead 2012-08-14 09:58:06 -05:00
Vipul Sabhaya
26b058acc9 Merge branch 'master' into reset-password
Conflicts:
	reddwarfclient/cli.py
	reddwarfclient/instances.py
2012-08-12 21:18:21 -07:00
Ed Cranford
e9318ec03c Fixed volume_size for size 2012-08-09 14:15:08 -05:00
Ed Cranford
0fad705f91 Built common CommandsBase so we can share double-dashed options from the parser between command classes. 2012-07-27 16:58:02 -05:00
Vipul Sabhaya
248f87906c Support for root user reset-password action 2012-07-27 11:00:00 -07:00
Nirmal Ranganathan
199ded7eb5 Moving away from novaclient and adding all the missing pieces into reddwarfclient.
- Added parameters for the authentication instead of the arguments.
- Cleaned out the HttpClient and Authentication pieces.
2012-07-06 15:02:06 -05:00
Ed Cranford
0b21c5d6b7 Small bugfix, now iterates over users.links like dbs and instances. 2012-06-04 10:39:48 -05:00
Ed Cranford
389bdf81aa Adds pagination limit and marker to instances, databases, and users indices. 2012-06-01 14:28:00 -05:00
Ed Cranford
ecdb185461 root_enabled_history shortened to root_history. 2012-05-10 11:49:26 -05:00
Tim Simpson
1faea31c95 Added setup.py.
* Added the CLI tool from reddwarf to this repo, made it available as a script.
* Added a gitignore.
2012-03-07 15:19:47 -06:00