]>
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> | |
5de02bff | 27 | <refpurpose>Settings file for a NITSI test</refpurpose> |
20b41754 JS |
28 | </refnamediv> |
29 | ||
30 | ||
31 | <refsect1> | |
32 | <title>Description</title> | |
33 | ||
34 | <para> | |
5de02bff MT |
35 | The <filename>settings</filename> file is the main configuration file |
36 | of a <command>nitsi</command> test. | |
37 | It specifies runtime configuration parameters for the test | |
38 | and defines the virtual environment to be used. | |
20b41754 JS |
39 | </para> |
40 | ||
41 | <para> | |
42 | The syntax of the configuration file is based on the INI configuration | |
5de02bff MT |
43 | file format. |
44 | Lines starting with hash (#) or semi-colon (;) are comments. | |
20b41754 JS |
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> | |
5de02bff | 58 | <option>Name</option> |
20b41754 JS |
59 | </term> |
60 | ||
61 | <listitem> | |
62 | <para> | |
63 | This option will configure the name of the test | |
5de02bff | 64 | and should be in human-readable format. |
20b41754 | 65 | </para> |
20b41754 JS |
66 | </listitem> |
67 | </varlistentry> | |
68 | ||
69 | <varlistentry> | |
70 | <term> | |
5de02bff | 71 | <option>Description</option> |
20b41754 JS |
72 | </term> |
73 | ||
74 | <listitem> | |
75 | <para> | |
5de02bff MT |
76 | A short short description of the test to explain |
77 | what it is trying to test and what results are expected when | |
78 | running the recipe. | |
20b41754 | 79 | </para> |
20b41754 JS |
80 | </listitem> |
81 | </varlistentry> | |
82 | ||
83 | <varlistentry> | |
84 | <term> | |
5de02bff | 85 | <option>Copy_from</option> |
20b41754 JS |
86 | </term> |
87 | ||
88 | <listitem> | |
89 | <para> | |
5de02bff MT |
90 | Lists files or directories which should be copied into |
91 | all virtual machines. | |
92 | The paths are relative to the path of the test directory. | |
20b41754 | 93 | </para> |
20b41754 JS |
94 | </listitem> |
95 | </varlistentry> | |
96 | ||
97 | <varlistentry> | |
98 | <term> | |
5de02bff | 99 | <option>Copy_to</option> |
20b41754 JS |
100 | </term> |
101 | ||
102 | <listitem> | |
103 | <para> | |
5de02bff | 104 | The path to which the files should be copied. For example /root. |
20b41754 | 105 | </para> |
20b41754 JS |
106 | </listitem> |
107 | </varlistentry> | |
108 | ||
109 | </variablelist> | |
110 | </refsect1> | |
111 | ||
112 | <refsect1> | |
113 | <title>VIRTUAL_ENVIRONMENT Configuration</title> | |
114 | ||
115 | <para> | |
116 | The following options can be configured in the [VIRTUAL_ENVIRONMENT] section: | |
117 | </para> | |
118 | ||
119 | <variablelist> | |
120 | <varlistentry> | |
121 | <term> | |
5de02bff | 122 | <option>Name</option> |
20b41754 JS |
123 | </term> |
124 | ||
125 | <listitem> | |
126 | <para> | |
5de02bff | 127 | The name of the virtual environment to use. |
20b41754 | 128 | </para> |
20b41754 JS |
129 | </listitem> |
130 | </varlistentry> | |
131 | ||
5de02bff | 132 | <varlistentry> |
20b41754 | 133 | <term> |
5de02bff | 134 | <option>path</option> |
20b41754 JS |
135 | </term> |
136 | ||
137 | <listitem> | |
138 | <para> | |
5de02bff MT |
139 | The path of the virtual environment relative to |
140 | the path of the test directory. | |
20b41754 | 141 | </para> |
20b41754 JS |
142 | </listitem> |
143 | </varlistentry> | |
144 | </variablelist> | |
145 | </refsect1> | |
146 | ||
147 | <refsect1> | |
148 | <title>Example</title> | |
149 | ||
150 | <example> | |
151 | ||
152 | <simplelist> | |
153 | <member>[DEFAULT]</member> | |
154 | <member>Name = Hello World</member> | |
5de02bff | 155 | <member>Description = This is a short description.</member> |
20b41754 JS |
156 | <member>Copy_from =</member> |
157 | <member>Copy_to = /root/</member> | |
158 | <member>[VIRTUAL_ENVIRONMENT]</member> | |
159 | <member>Name = basic</member> | |
160 | <member>path = ../virtual-environment/basic</member> | |
161 | </simplelist> | |
162 | </example> | |
20b41754 JS |
163 | </refsect1> |
164 | ||
165 | <refsect1> | |
166 | <title>Bugs</title> | |
167 | ||
168 | <para> | |
169 | Please report all bugs to the official bugtracker at | |
170 | http://bugzilla.ipfire.org/. | |
171 | </para> | |
172 | </refsect1> | |
173 | ||
174 | <refsect1> | |
175 | <title>See Also</title> | |
176 | ||
177 | <para> | |
178 | <citerefentry> | |
179 | <refentrytitle>nitsi</refentrytitle> | |
180 | <manvolnum>1</manvolnum> | |
181 | </citerefentry> | |
182 | </para> | |
183 | </refsect1> | |
184 | </refentry> |