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_debug" type="boolean">
45 <description>Flag to turn debug on.</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.
68 <!-- ======================================== -->
69 <category id="sfa_registry">
71 <description>The settings that affect the registry that will run
72 as part of this SFA instance.</description>
75 <variable id="enabled" type="boolean">
76 <name>Enable Registry</name>
78 <description>Allows this local SFA instance to run as a
79 registry.</description>
82 <variable id="type" type="string">
83 <name>Registry type</name>
85 <description>The type of backend server for this
86 registry. Some registries may not be myplc.</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_aggregate">
114 <name>Aggregate</name>
115 <description>The settings that affect the aggregate manager that will run
116 as part of this SFA instance.</description>
119 <variable id="enabled" type="boolean">
120 <name>Enable Aggregate</name>
122 <description>Allows this local SFA instance to run as an
123 aggregate manager.</description>
126 <variable id="type" type="string">
127 <name>Aggregate type</name>
129 <description>The type of backend server for this
130 aggregate. Some aggregates may not be myplc.</description>
133 <variable id="rspec_schema" type="string">
134 <name>RSpec Schema</name>
135 <value>/etc/sfa/pl.rng</value>
136 <description>The path to the default schema</description>
139 <variable id="host" type="hostname">
140 <name>Hostname</name>
141 <value>localhost</value>
142 <description>The hostname where the aggregate is expected to
143 be found.</description>
146 <variable id="port" type="int">
147 <name>Port number</name>
149 <description>The port where the aggregate is to be found.</description>
155 <!-- ======================================== -->
156 <category id="sfa_sm">
157 <name>Slice Manager</name>
158 <description>The settings that affect the slice manager that will run
159 as part of this SFA instance.</description>
162 <variable id="enabled" type="boolean">
163 <name>Enable Slice Manager</name>
165 <description>Allows this local SFA instance to run as a
166 slice manager.</description>
169 <variable id="type" type="string">
170 <name>Slice Manager type</name>
172 <description>The type of backend server for this
173 slice manager. Not all slice managers are myplc.</description>
176 <variable id="host" type="hostname">
177 <name>Hostname</name>
178 <value>localhost</value>
179 <description>The hostname where the slice manager is expected to
180 be found.</description>
183 <variable id="port" type="int">
184 <name>Port number</name>
186 <description>The port where the slice manager is to be found.</description>
191 <!-- ======================================== -->
192 <category id="sfa_plc">
194 <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>
197 <variable id="user" type="string">
198 <name>PLC login name for an admin user; SFA will carry on operations under this account.</name>
199 <value>root@localhost.localdomain</value>
200 <description></description>
203 <variable id="password" type="string">
204 <name>Password</name>
206 <description>The PLC password for SFA_PLC_USER.</description>
209 <variable id="url" type="string">
211 <value>https://localhost:443/PLCAPI/</value>
212 <description>Full URL of PLC interface.</description>
215 <variable id="db_name" type="string">
216 <name>Database name</name>
217 <value>planetlab5</value>
218 <description>Planetlab database name.</description>
221 <variable id="db_host" type="hostname">
222 <name>Datbase host</name>
223 <value>localhost</value>
224 <description>The host where the PLC database can be reached.</description>
227 <variable id="db_port" type="int">
228 <name>Database port</name>
230 <description>The port where the PLC database can be reached.</description>
233 <variable id="db_user" type="string">
234 <name>Database user</name>
235 <value>pgsqluser</value>
236 <description></description>
239 <variable id="db_password" type="string">
240 <name>Database password</name>
242 <description>The password for PLC_DB_USER.</description>
248 <category id="sfa_flashpolicy">
249 <name>SFA Flash Policy</name>
250 <description>The settings that affect the flash policy server that will run
251 as part of this SFA instance.</description>
254 <variable id="enabled" type="boolean">
255 <name>Enable Flash Policy Server</name>
257 <description>Allows this local SFA instance to run a
258 flash policy server.</description>
260 <variable id="config_file" type="string">
261 <name>Flash policy config file</name>
262 <value>/etc/sfa/sfa_flashpolicy_config.xml</value>
263 <description>The path to where the flash policy config file can be reached.</description>
265 <variable id="port" type="int">
266 <name>Flash policy port</name>
268 <description>The flash policy server port.</description>
276 <!-- deprecated - not used anymore - use .lst files instead -->