[英]Devstack: tempest.conf file
I am new to devstack and was trying to understand the way it works. 我是devstack的新手,正在尝试了解它的工作方式。 I have one question regarding generation of tempest.conf file.
关于tempest.conf文件的生成,我有一个问题。 I can not understand how this file gets generated and which part of the code generates it.
我不明白如何生成此文件以及代码的哪一部分生成它。
Is it always generated into /opt/stack/tempest/etc/ directory. 它是否总是生成到/ opt / stack / tempest / etc /目录中。 What if I have a different folder structure and I want to generate my tempest.conf file in suppose /opt/stack/new/tempest/etc/ directory.
如果我具有不同的文件夹结构,并且想在/ opt / stack / new / tempest / etc /目录中生成tempest.conf文件,该怎么办。
Any help is appreciated, thanks. 任何帮助表示赞赏,谢谢。
First of all, Tempest framework in the OpenStack is works for openstack development. 首先,OpenStack中的Tempest框架适用于Openstack开发。 You can find it in github .
您可以在github中找到它。
the tempest.conf
file is the configuration file of Tempest, from the README.rst, you can know: tempest.conf
文件是Tempest的配置文件,从README.rst中可以知道:
To start you need to create a configuration file.
要开始,您需要创建一个配置文件。 The easiest way to create a configuration file is to generate a sample in the
etc/
directory创建配置文件的最简单方法是在
etc/
目录中生成样本$ cd $TEMPEST_ROOT_DIR
$ cd $ TEMPEST_ROOT_DIR
$ oslo-config-generator --config-file \\ tempest/cmd/config-generator.tempest.conf \\ --output-file etc/tempest.conf$ oslo-config-generator --config-file \\ tempest / cmd / config-generator.tempest.conf \\ --output-file etc / tempest.conf
You can just modify the output file path in the --output-file
param. 您可以只在
--output-file
参数中修改输出文件路径。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.