install pl rspec schema (pl.rng) in /etc/sfa. Add variable to default config file...
[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         <variable id="level1_auth" type="string">
80           <name>Level1 Authority</name>
81           <value></value>
82           <description>The hrn of the registry's level1 auth (sub
83           authority). The full name of this interface (only secify if
84           this interface is a sub authority).</description>
85         </variable>
86       </variablelist>
87     </category>
88
89     <!-- ======================================== -->
90     <category id="sfa_aggregate">
91       <name>Aggregate</name>
92       <description>The settings that affect the aggregate manager that will run
93       as part of this SFA instance.</description>
94
95       <variablelist>
96         <variable id="enabled" type="boolean">
97           <name>Enable Aggregate</name>
98           <value>true</value>
99           <description>Allows this local SFA instance to run as an
100           aggregate manager.</description>
101         </variable>
102
103         <variable id="type" type="string">
104           <name>Aggregate type</name>
105           <value>pl</value>
106           <description>The type of backend server for this
107           aggregate. Some aggregates may not be myplc.</description>
108         </variable>
109     
110     <variable id="rspec_schema" type="string">
111       <name>RSpec Schema</name>
112       <value>/etc/sfa/pl.rng</value>
113       <description>The path to the default schema</description>
114     </variable>
115
116         <variable id="host" type="hostname">
117           <name>Hostname</name>
118           <value>localhost</value>
119           <description>The hostname where the aggregate is expected to
120           be found.</description>
121         </variable>
122
123         <variable id="port" type="int">
124           <name>Port number</name>
125           <value>12346</value>
126           <description>The port where the aggregate is to be found.</description>
127         </variable>
128       </variablelist>
129
130     </category>
131
132     <!-- ======================================== -->
133     <category id="sfa_sm">
134       <name>Slice Manager</name>
135       <description>The settings that affect the slice manager that will run
136       as part of this SFA instance.</description>
137
138       <variablelist>
139         <variable id="enabled" type="boolean">
140           <name>Enable Slice Manager</name>
141           <value>true</value>
142           <description>Allows this local SFA instance to run as a
143           slice manager.</description>
144         </variable>
145
146         <variable id="type" type="string">
147           <name>Slice Manager type</name>
148           <value>pl</value>
149           <description>The type of backend server for this
150           slice manager. Not all slice managers are myplc.</description>
151         </variable>
152
153         <variable id="host" type="hostname">
154           <name>Hostname</name>
155           <value>localhost</value>
156           <description>The hostname where the slice manager is expected to
157           be found.</description>
158         </variable>
159
160         <variable id="port" type="int">
161           <name>Port number</name>
162           <value>12347</value>
163           <description>The port where the slice manager is to be found.</description>
164         </variable>
165       </variablelist>
166     </category>
167
168     <!-- ======================================== -->
169     <category id="sfa_plc">
170       <name></name>
171       <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>
172
173       <variablelist>
174         <variable id="user" type="string">
175           <name>PLC login name for an admin user; SFA will carry on operations under this account.</name>
176           <value>root@localhost.localdomain</value>
177           <description></description>
178         </variable>
179
180         <variable id="password" type="string">
181           <name>Password</name>
182           <value>root</value>
183           <description>The PLC password for SFA_PLC_USER.</description>
184         </variable>
185
186         <variable id="url" type="string">
187           <name>URL</name>
188           <value>https://localhost:443/PLCAPI/</value>
189           <description>Full URL of PLC interface.</description>
190         </variable>
191
192         <variable id="db_name" type="string">
193           <name>Database name</name>
194           <value>planetlab5</value>
195           <description>Planetlab database name.</description>
196         </variable>
197
198         <variable id="db_host" type="hostname">
199           <name>Datbase host</name>
200           <value>localhost</value>
201           <description>The host where the PLC database can be reached.</description>
202         </variable>
203
204         <variable id="db_port" type="int">
205           <name>Database port</name>
206           <value>5432</value>
207           <description>The port where the PLC database can be reached.</description>
208         </variable>
209
210         <variable id="db_user" type="string">
211           <name>Database user</name>
212           <value>pgsqluser</value>
213           <description></description>
214         </variable>
215
216         <variable id="db_password" type="string">
217           <name>Database password</name>
218           <value></value>
219           <description>The password for PLC_DB_USER.</description>
220         </variable>
221
222       </variablelist>
223     </category>
224
225   </variables>
226
227   <comps>
228     <!-- deprecated - not used anymore - use .lst files instead -->
229   </comps>
230
231 </configuration>