Sample environment generator
authorBen Nemec <bnemec@redhat.com>
Tue, 31 May 2016 16:36:23 +0000 (11:36 -0500)
committerBen Nemec <bnemec@redhat.com>
Mon, 12 Jun 2017 20:02:50 +0000 (15:02 -0500)
commit4e24c8cb6a1f65b1e5c764febfe96c2c465cfed1
treee1f5a72dfece465f72117db99114a2b4f11eabe7
parentea04e61094c65e9bf26b035aa7113128eb38f4f3
Sample environment generator

This is a tool to automate the generation of our sample environment
files.  It takes a yaml file as input, and based on the environments
defined in that file generates a number of sample environment files
from the parameters in the Heat templates.  A tox genconfig target
is added that mirrors how the other OpenStack services generate
their sample config files.

A description of the available options for the input file is
provided in a README file in the sample-env-generator directory.

In this commit only a single sample config is provided as a basic
example of how the tool works, but subsequent commits will add
more generated sample configs.

Change-Id: I855f33a61bba5337d844555a7c41b633b3327f7a
bp: environment-generator
.gitignore
.testr.conf [new file with mode: 0644]
environments/predictable-placement/custom-hostnames.yaml [new file with mode: 0644]
sample-env-generator/README.rst [new file with mode: 0644]
sample-env-generator/sample-environments.yaml [new file with mode: 0644]
test-requirements.txt
tox.ini
tripleo_heat_templates/__init__.py [new file with mode: 0644]
tripleo_heat_templates/environment_generator.py [new file with mode: 0755]
tripleo_heat_templates/tests/__init__.py [new file with mode: 0644]
tripleo_heat_templates/tests/test_environment_generator.py [new file with mode: 0644]