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
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
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
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
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