]>
Commit | Line | Data |
---|---|---|
20b41754 JS |
1 | <?xml version="1.0"?> |
2 | <!DOCTYPE refentry PUBLIC "-//OASIS/DTD DocBook XML V4.2//EN" | |
3 | "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> | |
4 | ||
5 | <refentry id="nitsi.setting"> | |
6 | <refentryinfo> | |
7 | <title>nitsi.settings</title> | |
8 | <productname>nitsi.settings</productname> | |
9 | ||
10 | <authorgroup> | |
11 | <author> | |
12 | <contrib>Developer</contrib> | |
13 | <firstname>Jonatan</firstname> | |
14 | <surname>Schlag</surname> | |
15 | <email>jonatan.schlag@ipfire.org</email> | |
16 | </author> | |
17 | </authorgroup> | |
18 | </refentryinfo> | |
19 | ||
20 | <refmeta> | |
21 | <refentrytitle>nitsi.settings</refentrytitle> | |
9a27a648 | 22 | <manvolnum>5</manvolnum> |
20b41754 JS |
23 | </refmeta> |
24 | ||
25 | <refnamediv> | |
26 | <refname>nitsi.settings</refname> | |
27 | <refpurpose>Settings file for a nitsi test</refpurpose> | |
28 | </refnamediv> | |
29 | ||
30 | ||
31 | <refsect1> | |
32 | <title>Description</title> | |
33 | ||
34 | <para> | |
35 | The <filename>settings</filename> file is the main configuration file of the | |
36 | <command>nitsi</command> test. | |
37 | This file specifies runtime configuration parameters for the test | |
38 | and set the virtual environment to use. | |
39 | </para> | |
40 | ||
41 | <para> | |
42 | The syntax of the configuration file is based on the INI configuration | |
43 | file format. Lines starting with hash (#) or semi-colon (;) | |
44 | are ignored. | |
45 | </para> | |
46 | </refsect1> | |
47 | ||
48 | <refsect1> | |
49 | <title>DEFAULT configuration</title> | |
50 | ||
51 | <para> | |
52 | The following options can be configured in the [DEFAULT] section: | |
53 | </para> | |
54 | ||
55 | <variablelist> | |
56 | <varlistentry> | |
57 | <term> | |
58 | <option>Name = ""</option> | |
59 | </term> | |
60 | ||
61 | <listitem> | |
62 | <para> | |
63 | This option will configure the name of the test | |
64 | and can be something more human readbale then the name of the test directory. | |
65 | </para> | |
66 | ||
67 | </listitem> | |
68 | </varlistentry> | |
69 | ||
70 | <varlistentry> | |
71 | <term> | |
72 | <option>Description = ""</option> | |
73 | </term> | |
74 | ||
75 | <listitem> | |
76 | <para> | |
77 | This can be a short description of the test to explain | |
78 | what we are trying to test and what results we expect when | |
79 | we are running the recipe. So when do the test succeed and when do the test fails. | |
80 | </para> | |
81 | ||
82 | </listitem> | |
83 | </varlistentry> | |
84 | ||
85 | <varlistentry> | |
86 | <term> | |
87 | <option>Copy_from = ""</option> | |
88 | </term> | |
89 | ||
90 | <listitem> | |
91 | <para> | |
92 | The files or directories which should be copied into all virtual machines. | |
93 | The paths are relativ to the path of the test directory. | |
94 | </para> | |
95 | ||
96 | </listitem> | |
97 | </varlistentry> | |
98 | ||
99 | <varlistentry> | |
100 | <term> | |
101 | <option>Copy_to = ""</option> | |
102 | </term> | |
103 | ||
104 | <listitem> | |
105 | <para> | |
106 | The path to which the files should be copied. For example /root/ | |
107 | </para> | |
108 | ||
109 | </listitem> | |
110 | </varlistentry> | |
111 | ||
112 | </variablelist> | |
113 | </refsect1> | |
114 | ||
115 | <refsect1> | |
116 | <title>VIRTUAL_ENVIRONMENT Configuration</title> | |
117 | ||
118 | <para> | |
119 | The following options can be configured in the [VIRTUAL_ENVIRONMENT] section: | |
120 | </para> | |
121 | ||
122 | <variablelist> | |
123 | <varlistentry> | |
124 | <term> | |
125 | <option>Name = ""</option> | |
126 | </term> | |
127 | ||
128 | <listitem> | |
129 | <para> | |
130 | The Name of the virtual environment to use. | |
131 | </para> | |
132 | ||
133 | </listitem> | |
134 | </varlistentry> | |
135 | ||
136 | <varlistentry> | |
137 | <term> | |
138 | <option>path = ""</option> | |
139 | </term> | |
140 | ||
141 | <listitem> | |
142 | <para> | |
143 | The path of the virtual environment relativ to the path of the test. | |
144 | </para> | |
145 | ||
146 | </listitem> | |
147 | </varlistentry> | |
148 | </variablelist> | |
149 | </refsect1> | |
150 | ||
151 | <refsect1> | |
152 | <title>Example</title> | |
153 | ||
154 | <example> | |
155 | ||
156 | <simplelist> | |
157 | <member>[DEFAULT]</member> | |
158 | <member>Name = Hello World</member> | |
159 | <member>Description = This is a | |
160 | short description.</member> | |
161 | <member>Copy_from =</member> | |
162 | <member>Copy_to = /root/</member> | |
163 | <member>[VIRTUAL_ENVIRONMENT]</member> | |
164 | <member>Name = basic</member> | |
165 | <member>path = ../virtual-environment/basic</member> | |
166 | </simplelist> | |
167 | </example> | |
168 | ||
169 | </refsect1> | |
170 | ||
171 | <refsect1> | |
172 | <title>Bugs</title> | |
173 | ||
174 | <para> | |
175 | Please report all bugs to the official bugtracker at | |
176 | http://bugzilla.ipfire.org/. | |
177 | </para> | |
178 | </refsect1> | |
179 | ||
180 | <refsect1> | |
181 | <title>See Also</title> | |
182 | ||
183 | <para> | |
184 | <citerefentry> | |
185 | <refentrytitle>nitsi</refentrytitle> | |
186 | <manvolnum>1</manvolnum> | |
187 | </citerefentry> | |
188 | </para> | |
189 | </refsect1> | |
190 | </refentry> |