Luigi Toscano
04472ac09f
Convert the README from Markdown to reStructuredText
So that the format matches the extension. The other option would have been to rename the file to README.md, but that would require changes in the spec file for RDO for example. Change-Id: I0766abd310b0ea717989e755ace7252d68d7111f
python-tempestconf
Overview
python-tempestconf will automatically generate the tempest configuration based on your cloud.
- Free software: Apache license
- Documentation: https://github.com/redhat-openstack/python-tempestconf/blob/master/README.rst
- Source: https://github.com/redhat-openstack/python-tempestconf
- Bugs: https://github.com/redhat-openstack/python-tempestconf/issues
Usage
Git
- Clone and change to the directory:
$ git clone https://github.com/redhat-openstack/python-tempestconf
$ cd python-tempestconf
- Create virtual environment using virtualenv:
$ virtualenv .venv
$ source .venv/bin/activate
- Source the newly created virtual environment and install requirements:
(.venv) $ pip install -r requirements.txt
(.venv) $ pip install -r test-requirements.txt
- Source cloud credentials, for example:
(py27) $ source cloudrc
- Run python-tempestconf to generate tempest configuration file:
(py27) $ python config_tempest/config_tempest.py --debug identity.uri $OS_AUTH_URL \
identity.admin_password $OS_PASSWORD --create
After this, ./etc/tempest.conf
is generated.
RPM Installation (RDO)
- python-tempestconf is installed together with openstack-tempest, as a new dependency (starting from the Ocata release)
# yum -y install openstack-tempest
- Source cloud credentials, initialize tempest and run the discovery tool:
$ source cloudrc
$ tempest init testingdir
$ cd testingdir
$ discover-tempest-config --debug identity.uri $OS_AUTH_URL \
identity.admin_password $OS_PASSWORD --create
Note
In Ocata release new features were presented.
discover-tempest-config
is the new name of the
old config_tempest.py
script and it
accepts the same parameters. More about new features
can be found here
Description
Languages
Python
99.8%
Jinja
0.2%