37cd6cce4849c8d2c84f61d4f82d9dd5df3556d8
[sfa.git] / config / default_config.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4 Default SFA configuration file
5
6 Thierry Parmentelat 
7
8 $Id$
9 $URL$
10 -->
11
12 <!DOCTYPE configuration PUBLIC "-//PlanetLab Central//DTD PLC configuration//EN" "plc_config.dtd">
13
14 <configuration>
15   <variables>
16
17     <!-- ======================================== -->
18     <category id="sfa">
19       <name>General</name>
20       <description>Basic system variables.</description>
21
22       <variablelist>
23         <variable id="interface_hrn" type="string">
24           <name>Human readable name</name>
25           <value>plc</value>
26           <description>The human readable name for this interface.</description>
27         </variable>
28
29         <variable id="api_debug" type="boolean">
30           <name>Debug</name>
31           <value>false</value>
32           <description>Flag to turn debug on.</description>
33         </variable>
34
35       </variablelist>
36     </category>
37
38     <!-- ======================================== -->
39     <category id="sfa_registry">
40       <name>Registry</name>
41       <description>The settings that affect the registry that will run
42       as part of this SFA instance.</description>
43
44       <variablelist>
45         <variable id="enabled" type="boolean">
46           <name>Enable Registry</name>
47           <value>true</value>
48           <description>Allows this local SFA instance to run as a
49           registry.</description>
50         </variable>
51
52         <variable id="type" type="string">
53           <name>Registry type</name>
54           <value>pl</value>
55           <description>The type of backend server for this
56           registry. Some registries may not be myplc.</description>
57         </variable>
58
59         <variable id="host" type="hostname">
60           <name>Hostname</name>
61           <value>localhost</value>
62           <description>The hostname where the registry is expected to
63           be found; using localhost when the local registry is enabled
64           seems reasonable.</description>
65         </variable>
66
67         <variable id="port" type="int">
68           <name>Port number</name>
69           <value>12345</value>
70           <description>The port where the registry is to be found.</description>
71         </variable>
72
73         <variable id="root_auth" type="string">
74           <name>Root Authority</name>
75           <value>plc</value>
76           <description>The hrn of the registry's root auth.</description>
77         </variable>
78
79     </variablelist>
80     </category>
81
82     <!-- ======================================== -->
83     <category id="sfa_aggregate">
84       <name>Aggregate</name>
85       <description>The settings that affect the aggregate manager that will run
86       as part of this SFA instance.</description>
87
88       <variablelist>
89         <variable id="enabled" type="boolean">
90           <name>Enable Aggregate</name>
91           <value>true</value>
92           <description>Allows this local SFA instance to run as an
93           aggregate manager.</description>
94         </variable>
95
96         <variable id="type" type="string">
97           <name>Aggregate type</name>
98           <value>pl</value>
99           <description>The type of backend server for this
100           aggregate. Some aggregates may not be myplc.</description>
101         </variable>
102     
103     <variable id="rspec_schema" type="string">
104       <name>RSpec Schema</name>
105       <value>/etc/sfa/pl.rng</value>
106       <description>The path to the default schema</description>
107     </variable>
108
109         <variable id="host" type="hostname">
110           <name>Hostname</name>
111           <value>localhost</value>
112           <description>The hostname where the aggregate is expected to
113           be found.</description>
114         </variable>
115
116         <variable id="port" type="int">
117           <name>Port number</name>
118           <value>12346</value>
119           <description>The port where the aggregate is to be found.</description>
120         </variable>
121       </variablelist>
122
123     </category>
124     <!-- ======================================== -->
125     <category id="sfa_geni_aggregate">
126       <name>GENI Aggregate</name>
127       <description>The settings that affect the geni aggregate manager that will run
128       as part of this SFA instance.</description>
129
130       <variablelist>
131         <variable id="enabled" type="boolean">
132           <name>Enable GENI Aggregate</name>
133           <value>true</value>
134           <description>Allows this local SFA instance to run as an
135           GENI aggregate manager.</description>
136         </variable>
137
138         <variable id="type" type="string">
139           <name>GENI Aggregate type</name>
140           <value>pl</value>
141           <description>The type of backend server for this
142           aggregate. Some aggregates may not be myplc.</description>
143         </variable>
144
145         <variable id="host" type="hostname">
146           <name>Hostname</name>
147           <value>localhost</value>
148           <description>The hostname where the aggregate is expected to
149           be found.</description>
150         </variable>
151
152         <variable id="port" type="int">
153           <name>Port number</name>
154           <value>12348</value>
155           <description>The port where the aggregate is to be found.</description>
156         </variable>
157       </variablelist>
158
159     </category>
160
161     <!-- ======================================== -->
162     <category id="sfa_sm">
163       <name>Slice Manager</name>
164       <description>The settings that affect the slice manager that will run
165       as part of this SFA instance.</description>
166
167       <variablelist>
168         <variable id="enabled" type="boolean">
169           <name>Enable Slice Manager</name>
170           <value>true</value>
171           <description>Allows this local SFA instance to run as a
172           slice manager.</description>
173         </variable>
174
175         <variable id="type" type="string">
176           <name>Slice Manager type</name>
177           <value>pl</value>
178           <description>The type of backend server for this
179           slice manager. Not all slice managers are myplc.</description>
180         </variable>
181
182         <variable id="host" type="hostname">
183           <name>Hostname</name>
184           <value>localhost</value>
185           <description>The hostname where the slice manager is expected to
186           be found.</description>
187         </variable>
188
189         <variable id="port" type="int">
190           <name>Port number</name>
191           <value>12347</value>
192           <description>The port where the slice manager is to be found.</description>
193         </variable>
194       </variablelist>
195     </category>
196
197     <!-- ======================================== -->
198     <category id="sfa_plc">
199       <name></name>
200       <description>The settings that tell this SFA instance how to interact with the underlying PLC. Refer to plc-config-tty on this installation for more information.</description>
201
202       <variablelist>
203         <variable id="user" type="string">
204           <name>PLC login name for an admin user; SFA will carry on operations under this account.</name>
205           <value>root@localhost.localdomain</value>
206           <description></description>
207         </variable>
208
209         <variable id="password" type="string">
210           <name>Password</name>
211           <value>root</value>
212           <description>The PLC password for SFA_PLC_USER.</description>
213         </variable>
214
215         <variable id="url" type="string">
216           <name>URL</name>
217           <value>https://localhost:443/PLCAPI/</value>
218           <description>Full URL of PLC interface.</description>
219         </variable>
220
221         <variable id="db_name" type="string">
222           <name>Database name</name>
223           <value>planetlab5</value>
224           <description>Planetlab database name.</description>
225         </variable>
226
227         <variable id="db_host" type="hostname">
228           <name>Datbase host</name>
229           <value>localhost</value>
230           <description>The host where the PLC database can be reached.</description>
231         </variable>
232
233         <variable id="db_port" type="int">
234           <name>Database port</name>
235           <value>5432</value>
236           <description>The port where the PLC database can be reached.</description>
237         </variable>
238
239         <variable id="db_user" type="string">
240           <name>Database user</name>
241           <value>pgsqluser</value>
242           <description></description>
243         </variable>
244
245         <variable id="db_password" type="string">
246           <name>Database password</name>
247           <value></value>
248           <description>The password for PLC_DB_USER.</description>
249         </variable>
250
251       </variablelist>
252     </category>
253
254   </variables>
255
256   <comps>
257     <!-- deprecated - not used anymore - use .lst files instead -->
258   </comps>
259
260 </configuration>