sfa-config-tty is now using the plc_config class
[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_registry">
19       <name>Registry</name>
20       <description>The settings that affect the registry that will run
21       as part of this SFA instance.</description>
22
23       <variablelist>
24         <variable id="enabled" type="boolean">
25           <name>Enable Registry</name>
26           <value>true</value>
27           <description>Allows this local SFA instance to run as a
28           registry.</description>
29         </variable>
30
31         <variable id="type" type="string">
32           <name>Registry type</name>
33           <value>pl</value>
34           <description>The type of backend server for this
35           registry. Some registries may not be myplc.</description>
36         </variable>
37
38         <variable id="host" type="hostname">
39           <name>Hostname</name>
40           <value>localhost</value>
41           <description>The hostname where the registry is expected to
42           be found; using localhost when the local registry is enabled
43           seems reasonable.</description>
44         </variable>
45
46         <variable id="port" type="int">
47           <name>Port number</name>
48           <value>12345</value>
49           <description>The port where the registry is to be found.</description>
50         </variable>
51
52         <variable id="root_auth" type="string">
53           <name>Root Authority</name>
54           <value>plc</value>
55           <description>The hrn of the registry's root auth.</description>
56         </variable>
57
58         <variable id="level1_auth" type="string">
59           <name>Level1 Authority</name>
60           <value></value>
61           <description>The hrn of the registry's level1 auth (sub
62           authority). The full name of this interface (only secify if
63           this interface is a sub authority).</description>
64         </variable>
65       </variablelist>
66     </category>
67
68     <!-- ======================================== -->
69     <category id="sfa_aggregate">
70       <name>Aggregate</name>
71       <description>The settings that affect the aggregate manager that will run
72       as part of this SFA instance.</description>
73
74       <variablelist>
75         <variable id="enabled" type="boolean">
76           <name>Enable Aggregate</name>
77           <value>true</value>
78           <description>Allows this local SFA instance to run as an
79           aggregate manager.</description>
80         </variable>
81
82         <variable id="type" type="string">
83           <name>Aggregate type</name>
84           <value>pl</value>
85           <description>The type of backend server for this
86           aggregate. Some aggregates may not be myplc.</description>
87         </variable>
88
89         <variable id="host" type="hostname">
90           <name>Hostname</name>
91           <value>localhost</value>
92           <description>The hostname where the aggregate is expected to
93           be found.</description>
94         </variable>
95
96         <variable id="port" type="int">
97           <name>Port number</name>
98           <value>12346</value>
99           <description>The port where the aggregate is to be found.</description>
100         </variable>
101       </variablelist>
102
103     </category>
104
105     <!-- ======================================== -->
106     <category id="sfa_sm">
107       <name>Slice Manager</name>
108       <description>The settings that affect the slice manager that will run
109       as part of this SFA instance.</description>
110
111       <variablelist>
112         <variable id="enabled" type="boolean">
113           <name>Enable Slice Manager</name>
114           <value>true</value>
115           <description>Allows this local SFA instance to run as a
116           slice manager.</description>
117         </variable>
118
119         <variable id="type" type="string">
120           <name>Slice Manager type</name>
121           <value>pl</value>
122           <description>The type of backend server for this
123           slice manager. Not all slice managers are myplc.</description>
124         </variable>
125
126         <variable id="host" type="hostname">
127           <name>Hostname</name>
128           <value>localhost</value>
129           <description>The hostname where the slice manager is expected to
130           be found.</description>
131         </variable>
132
133         <variable id="port" type="int">
134           <name>Port number</name>
135           <value>12346</value>
136           <description>The port where the slice manager is to be found.</description>
137         </variable>
138       </variablelist>
139     </category>
140
141     <!-- ======================================== -->
142     <category id="sfa_plc">
143       <name></name>
144       <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>
145
146       <variablelist>
147         <variable id="user" type="string">
148           <name>PLC login name for an admin user; SFA will carry on operations under this account.</name>
149           <value>root@localhost.localdomain</value>
150           <description></description>
151         </variable>
152
153         <variable id="password" type="string">
154           <name>Password</name>
155           <value>root</value>
156           <description>The PLC password for SFA_PLC_USER.</description>
157         </variable>
158
159         <variable id="url" type="string">
160           <name>URL</name>
161           <value>https://localhost:443/PLCAPI/</value>
162           <description>Full URL of PLC interface.</description>
163         </variable>
164
165         <variable id="db_name" type="string">
166           <name>Database name</name>
167           <value>planetlab5</value>
168           <description>Planetlab database name.</description>
169         </variable>
170
171         <variable id="db_host" type="hostname">
172           <name>Datbase host</name>
173           <value>localhost</value>
174           <description>The host where the PLC database can be reached.</description>
175         </variable>
176
177         <variable id="db_port" type="string">
178           <name>Database port</name>
179           <value>5432</value>
180           <description>The port where the PLC database can be reached.</description>
181         </variable>
182
183         <variable id="db_user" type="string">
184           <name>Database user</name>
185           <value>pgsqluser</value>
186           <description></description>
187         </variable>
188
189         <variable id="db_password" type="string">
190           <name>Database password</name>
191           <value></value>
192           <description>The password for PLC_DB_USER.</description>
193         </variable>
194
195       </variablelist>
196     </category>
197
198   </variables>
199
200   <comps>
201     <!-- deprecated - not used anymore - use .lst files instead -->
202   </comps>
203
204 </configuration>