heat-translator/translator/osc
Alvaro Lopez Garcia 9ed0a3d134 use keystoneauth and OpenStack clients
The parser should not rely on the OS_* environment variables for
authentication, as it will fail with more complex setups, when using the
"clouds.yaml" configuration file or when being called through osc with
arguments instead of environment variables.

Moreover, the client should not use "requests" directly to do GETs to
access the nova flavors and glance images, but it should use the
existing clients.

When used through the python-openstackclient it is possible to force the
client to request authentication. The authentication will be handled by
the client, so that the parser does not need to worry about it (so that
authentication plugins can be used). Then, the existing authentication
session can be reused for all the client interaction with OpenStack to
fetch the flavor and images information.

Change-Id: I9f65e7d46686c37bb44ef18756ebd295ee4961de
2016-07-21 17:07:47 +02:00
..
v1 use keystoneauth and OpenStack clients 2016-07-21 17:07:47 +02:00
__init__.py Create an OSC plugin for heat-translator 2015-06-17 18:01:54 +00:00
osc_plugin.py Create an OSC plugin for heat-translator 2015-06-17 18:01:54 +00:00
utils.py Add support for parameters to translate template 2015-06-22 23:58:42 -04:00