1 <?xml version="1.0" encoding="utf-8"?>
4 Default SFA configuration file
10 <!DOCTYPE configuration PUBLIC "-//PlanetLab Central//DTD PLC configuration//EN" "plc_config.dtd">
15 <!-- ======================================== -->
18 <description>Basic system variables.</description>
21 <variable id="generic_flavour" type="string">
22 <name>Generic Flavour</name>
24 <description>This string refers to a class located in sfa.generic that describes
25 which specific implementation needs to be used for api, manager and driver objects.
26 PlanetLab users do not need to change this setting.
30 <variable id="interface_hrn" type="string">
31 <name>Human readable name</name>
33 <description>The human readable name for this interface.</description>
36 <variable id="credential_schema" type="string">
37 <name>Credential Schema</name>
38 <value>/etc/sfa/credential.xsd</value>
39 <description>The path to the default credential schema</description>
42 <variable id="api_loglevel" type="int">
45 <description>Logging level; 0=minimum, 1=info, 2=debug</description>
48 <variable id="max_slice_renew" type="int">
49 <name>Max Slice Renew</name>
51 <description>Maximum amout of days a user can extend/renew their slices to</description>
54 <variable id="session_key_path" type="string">
55 <name>User Session Keys Path </name>
56 <value>/var/lib/sfa/session_keys</value>
57 <description>Some services will peform operations on behalf of a user, but make
58 it look like the user is the one performing the operation. Doing this requires a
59 valid key pair and credential for the user. This option defines the path where
60 key pairs and credentials are generated and stored.
61 This functionality is used by the SFA web GUI.
65 <variable id="data_dir" type="string">
66 <name>Data Directory </name>
67 <value>/var/lib/sfa/</value>
68 <description>Directory where cached certficiates and other data is stored.
75 <!-- ======================================== -->
76 <category id="sfa_registry">
78 <description>The settings that affect the registry that will run
79 as part of this SFA instance.</description>
82 <variable id="enabled" type="boolean">
83 <name>Enable Registry</name>
85 <description>Allows this local SFA instance to run as a
86 registry.</description>
89 <variable id="host" type="hostname">
91 <value>localhost</value>
92 <description>The hostname where the registry is expected to
93 be found; using localhost when the local registry is enabled
94 seems reasonable.</description>
97 <variable id="port" type="int">
98 <name>Port number</name>
100 <description>The port where the registry is to be found.</description>
103 <variable id="root_auth" type="string">
104 <name>Root Authority</name>
106 <description>The hrn of the registry's root auth.</description>
112 <!-- ======================================== -->
113 <category id="sfa_sm">
114 <name>Slice Manager</name>
115 <description>The settings that affect the slice manager that will run
116 as part of this SFA instance.</description>
119 <variable id="enabled" type="boolean">
120 <name>Enable Slice Manager</name>
122 <description>Allows this local SFA instance to run as a
123 slice manager. Warning, this feature is not really supported
124 any longer.</description>
127 <variable id="host" type="hostname">
128 <name>Hostname</name>
129 <value>localhost</value>
130 <description>The hostname where the slice manager is expected to
131 be found.</description>
134 <variable id="port" type="int">
135 <name>Port number</name>
137 <description>The port where the slice manager is to be found.</description>
140 <variable id="caching" type="boolean">
141 <name>Cache advertisement rspec</name>
143 <description>Enable caching of the global advertisement, as
144 returned by ListResources without a slice argument. </description>
150 <!-- ======================================== -->
151 <category id="sfa_aggregate">
152 <name>Aggregate</name>
153 <description>The settings that affect the aggregate manager that will run
154 as part of this SFA instance.</description>
157 <variable id="enabled" type="boolean">
158 <name>Enable Aggregate</name>
160 <description>Allows this local SFA instance to run as an
161 aggregate manager.</description>
164 <variable id="host" type="hostname">
165 <name>Hostname</name>
166 <value>localhost</value>
167 <description>The hostname where the aggregate is expected to
168 be found.</description>
171 <variable id="port" type="int">
172 <name>Port number</name>
174 <description>The port where the aggregate is to be found.</description>
177 <variable id="caching" type="boolean">
178 <name>Cache advertisement rspec</name>
180 <description>Enable caching of the global advertisement, as
181 returned by ListResources without a slice argument. </description>
188 <!-- ======================================== -->
189 <category id="sfa_db">
191 <description>The settings that tell this SFA instance where to find its database. You can essentially leave this as-is unless you plan on hosting your data on some other box.</description>
194 <variable id="enabled" type="boolean">
197 <description>Enable the database server on this machine.</description>
200 <variable id="host" type="hostname">
201 <name>Database host</name>
202 <value>localhost</value>
203 <description>The host where the SFA database can be reached.</description>
206 <variable id="port" type="int">
207 <name>Database port</name>
209 <description>The port where the SFA database can be reached.</description>
212 <variable id="user" type="string">
213 <name>Database user</name>
214 <value>sfadbuser</value>
215 <description>When SFA gets co-hosted with a myplc, this should match the PLC config.</description>
218 <variable id="password" type="string">
219 <name>Database password</name>
221 <description>When SFA gets co-hosted with a myplc, this should match the PLC config.</description>
224 <variable id="name" type="string">
225 <name>Database name</name>
227 <description>SFA database name.</description>
234 <!-- ======================================== -->
235 <category id="sfa_flashpolicy">
236 <name>SFA Flash Policy</name>
237 <description>The settings that affect the flash policy server that will run
238 as part of this SFA instance.</description>
241 <variable id="enabled" type="boolean">
242 <name>Enable Flash Policy Server</name>
244 <description>Allows this local SFA instance to run a
245 flash policy server.</description>
247 <variable id="config_file" type="string">
248 <name>Flash policy config file</name>
249 <value>/etc/sfa/sfa_flashpolicy_config.xml</value>
250 <description>The path to where the flash policy config file can be reached.</description>
252 <variable id="port" type="int">
253 <name>Flash policy port</name>
255 <description>The flash policy server port.</description>
260 <!-- ======================================== -->
261 <category id="sfa_plc">
263 <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>
266 <variable id="user" type="string">
267 <name>PLC login name for an admin user; SFA will carry on operations under this account.</name>
268 <value>root@localhost.localdomain</value>
269 <description></description>
272 <variable id="password" type="string">
273 <name>Password</name>
275 <description>The PLC password for SFA_PLC_USER.</description>
278 <variable id="url" type="string">
280 <value>https://localhost:443/PLCAPI/</value>
281 <description>Full URL of PLC interface.</description>
287 <!-- ======================================== -->
288 <category id="sfa_federica">
290 <description>The settings that tell this SFA instance how to interact with the FEDERICA testbed.</description>
293 <variable id="url" type="string">
294 <name>XMLRPC URL</name>
295 <value>https://root:password@federica.sfa.wrapper.com:8443/fedewrapper/xmlrpc/</value>
296 <description>URL for the federica xmlrpc API; login and password need to be set like in http://login:password@hostname:port/the/path </description>
301 <!-- ======================================== -->
302 <category id="sfa_nova">
303 <name>SFA Flash Policy</name>
304 <description>The settings that affect how SFA connects to
305 the Nova/EC2 API</description>
307 <variable id="user" type="string">
308 <name>Sfa nova user</name>
309 <value>novaadmin</value>
310 <description>Account/context to use when performing
311 administrative nova operations</description>
313 <variable id="api_url" type="string">
314 <name>Nova API url</name>
315 <value>127.0.0.1</value>
316 <description>The Nova/EC2 API url </description>
318 <variable id="api_port" type="int">
319 <name>Nova API Port</name>
321 <description>The Nova/EC2 API port.</description>
323 <variable id="novarc" type="string">
325 <value>/root/novarc</value>
326 <description>Path to novarc client config file</description>
331 <!-- ======================================== -->
332 <category id="sfa_nitos">
334 <description>The settings that tell this SFA instance how to interact with the NITOS testbed.</description>
337 <variable id="url" type="string">
338 <name>XMLRPC URL</name>
339 <value>http://195.251.17.239:8080/RPC2</value>
340 <description>URL for the NITOS Scheduler xmlrpc API</description>
345 <!-- ======================================== -->
346 <category id="sfa_dummy">
348 <description>The settings for using SFA with a demmy testbed.</description>
351 <variable id="url" type="string">
352 <name>XMLRPC URL</name>
353 <value>http://127.0.0.1:8080</value>
354 <description>URL for the Dummy Testbed xmlrpc API</description>
359 <!-- ======================================== -->
364 <!-- deprecated - not used anymore - use .lst files instead -->