Commit Graph

5 Commits

Author SHA1 Message Date
Yves-Gwenael Bourhis e798119841 Addapted flame to openstacksdk and shade.
Flame needed pemanent adjustments to mathe the changes in the
python-openstackclients. We now use openstacksdk or shade which will
handle themselves the compatibility.

We also made flame modular so that any-one can add features by
implementing there own flame managers and adding their modules to
the `openstack_flame` entry point.

This new flame version is also fully compatible with python 3.

Change-Id: I586a165b5022031963f504874bd50e1b11fe0d27
2018-11-22 11:50:41 +01:00
Guillaume Espanel ab1f11f7bc Parallelize API calls for resources fetching
This change improves the performance of flame by fetching the different
Openstack resources through a ThreadPoolExecutor.

The resources to fetch are declared in a dict inside
flame.TemplateGenerator.extract_vm_details of the form

{'resource_type' : (fetch_method, filter_method), ...}

Co-Authored-By: zarrouk <mzarrouk.ext@orange.com>

Change-Id: I8f34ecbfff236e5469b83d1c79d1f98accb125c0
2016-09-28 17:54:01 +02:00
Yves-Gwenael Bourhis c9ee415228 Update requirements
flame could not install with curent supported version of openstack because the
requirements where conflicting with https://github.com/openstack/requirements

Updated requirements.txt and tes-requirements.txt to match openstack's
global requirements.

Change-Id: I7dd0ba588569922d43d0282183d86c82e5e9b7fc
2016-03-29 11:21:31 +02:00
George Peristerakis ddc2c802f1 Refactor the TemplateGenerator class 2014-09-17 15:30:56 -04:00
George Peristerakis 947c21b112 Refactor the code to match the openstack code structure.
Used the openstack cookiecutter template to generate all the
files necessary.
2014-08-25 20:58:42 -04:00