Align run_tests.sh with nova.

We need for run_tests.sh to accept the same inputs and outputs from a CI
perspective. In this case, the easiest way was just to port in run_test.py.
Additionally, we need with_venv.sh to exist.

Change-Id: I25e659ed796c8a70239aab610f5b014b35443b67
Add support for RAX authentication.

Change-Id: Ia9180a3919373d3ec2e794d4dffe21838b23fc95
Accept 1 and 2 as version choices

- removes all unused imports
- update .gitignore with new venv path

Change-Id: I3e8199b72dc83268115133d7c73335ffb6060f9a
Fix typo in README

Change-Id: If165635e3cf73488b305d0b2c4fc9515b7a0849f
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Adding extension framework.

Change-Id: If882f7a822ef6b1e58666b3af6f7166ab0a230fe
Merge "Adding extension framework."
Making contrib a Python package

Change-Id: Ibfde2e5cbececeec0b6a17f7d71da207f582a5c7
Removed v1.0 support.

Change-Id: I6850075a2ac0e1558aa94539e73f4fb939dfb318
standardize environmental settings for cli auth

a first pass at common configuration between cli tools
https://blueprints.launchpad.net/openstack-common/+spec/cli-auth

Change-Id: Ie1354268ef647fb265ad9f30e730ddcac990e7f7
Do no depends on argparse for Python >= 2.7

Python >= 2.7 has argparse has a builtin module, so there's no need to add
it to the this list of requirements.

Change-Id: I647cec70a564b1d184f0cb2aca6caf4d6478c403
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
Merge "standardize environmental settings for cli auth"
User friendly help message

Fixes bug #892066

Change-Id: Ibeb86c5a9ae0f1dcc313c77fdf923a2eb37de505
Add 'discover' command for Keystone discovery and version listing

Added @unauthenticated decorator to mark subcommands that do not
need authentication. And checks to skip authentication for these
commands.
Added novaclient.keystone to setup.py

Change-Id: Id2fd60af305c30a950bdbae8f897192bfae4d797
Merge "Add 'discover' command for Keystone discovery and version listing"
Adding support for the os-getConsoleOutput server action.

Change-Id: I8b4a82ba42e00e5b312d7cad79c2f9725c6b48a7
Allow to not specify image if block_device_mapping is set

Change-Id: Ibdd900264f2e80e9d9c04de6d3bcb60b546fa3f2
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
more work towards standardize config

Change-Id: I63ca85c56a61b8412bdc8bf30d6a179b134faff4
blueprint: cli-auth
Extensions can now modify resources.

Change-Id: I0d9c1050428d0ccf2e2b18053d75e0465463c08b
Add list() method to ManagerWithFind

ManagerWithFind.find() method wants to use self.list() but Manager does not
provides it. Therefore, it's better to implement it as an interface here,
and raise a NotImplementedError.

Change-Id: Iba6ef2c1f789c2eb12b210d42261d63796db3407
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
utils.find_resource fixes + fix for volumes

Nova volumes do not have a name property but a displayName one, therefore we
modify find_resource() so it looks for this. Then, we modify the test suite
for utils.py so it uses the novaclient.base.ManagerWithFind class for its
FakeManager rather than implementing its own find() method. This way we are
sure that the utils.py functions work correctly with ManagerWithFind and its
way to search in objects list.

FakeResource class is now used, whereas it was not before.

Change-Id: I4c4838250e6987e05022e1607e8d099eb8fb7fff
Signed-off-by: Julien Danjou <julien@danjou.info>