Debian Stable running latest version of libcloud against OpenNebula 2.2.
OpenNebula compute driver must be re-factored to support multiple versions of the OpenNebula/OCCI API.
This patch superseeds the following tickets and their associated patches:
LIBCLOUD-117 - Already closed.
This patch re-factors the OpenNebula driver to support API versions 1.4 and 3.0. It currently works correctly on OpenNebula 2.2 using the v3.0 API.
This patch does not contain new test fixtures.
I have made some minor changes to your patch and committed it in r1184967 (http://svn.apache.org/viewvc?rev=1184967&view=rev).
Next time please run pep8 tool on the changed files and make sure there aren't any warnings (this time I have fixed them for you).