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