Commit Graph

7 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
Andreas Jaeger 76f46ecfb8 Remove argparse from requirements
argparse was external in python 2.6 but not anymore, remove it from
requirements.

This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.

Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
2016-01-20 19:14:29 +01:00
Cedric Brandily ca3f5b8dcc Respect flake8/pep8 rules
This change updates code to respect flake8/pep8 rules. It changes:

 * correct KeystoneManager.set_client signature
 * correct code indentation
 * remove useless variables
 * support py3X
   * use netaddr instead of ipaddr (not supported by py34)
   * use dict.values instead of dict.itervalues.
 * correct tests
   * "fake.networks[0]['router:external'] = True" update had side
     effects on other tests, fake managers attributes are now builded
     at instantiation to avoid such trouble.

Change-Id: I56943e198c3dc0e28be5f5b799e62f4a6427292c
2014-11-08 18:45:06 +01: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
Ala Rezmerita 09875b313a Initial commit 2014-06-06 10:19:38 +02:00