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.
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="host" type="hostname">
84 <value>localhost</value>
85 <description>The hostname where the registry is expected to
86 be found; using localhost when the local registry is enabled
87 seems reasonable.</description>
90 <variable id="port" type="int">
91 <name>Port number</name>
93 <description>The port where the registry is to be found.</description>
96 <variable id="root_auth" type="string">
97 <name>Root Authority</name>
99 <description>The hrn of the registry's root auth.</description>
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>
112 <variable id="enabled" type="boolean">
113 <name>Enable Slice Manager</name>
115 <description>Allows this local SFA instance to run as a
116 slice manager.</description>
119 <variable id="host" type="hostname">
120 <name>Hostname</name>
121 <value>localhost</value>
122 <description>The hostname where the slice manager is expected to
123 be found.</description>
126 <variable id="port" type="int">
127 <name>Port number</name>
129 <description>The port where the slice manager is to be found.</description>
132 <variable id="caching" type="boolean">
133 <name>Cache advertisement rspec</name>
135 <description>Enable caching of the global advertisement, as
136 returned by ListResources without a slice argument. </description>
142 <!-- ======================================== -->
143 <category id="sfa_aggregate">
144 <name>Aggregate</name>
145 <description>The settings that affect the aggregate manager that will run
146 as part of this SFA instance.</description>
149 <variable id="enabled" type="boolean">
150 <name>Enable Aggregate</name>
152 <description>Allows this local SFA instance to run as an
153 aggregate manager.</description>
156 <variable id="host" type="hostname">
157 <name>Hostname</name>
158 <value>localhost</value>
159 <description>The hostname where the aggregate is expected to
160 be found.</description>
163 <variable id="port" type="int">
164 <name>Port number</name>
166 <description>The port where the aggregate is to be found.</description>
169 <variable id="caching" type="boolean">
170 <name>Cache advertisement rspec</name>
172 <description>Enable caching of the global advertisement, as
173 returned by ListResources without a slice argument. </description>
180 <!-- ======================================== -->
181 <category id="sfa_db">
183 <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>
186 <variable id="enabled" type="boolean">
189 <description>Enable the database server on this machine.</description>
192 <variable id="host" type="hostname">
193 <name>Database host</name>
194 <value>localhost</value>
195 <description>The host where the SFA database can be reached.</description>
198 <variable id="port" type="int">
199 <name>Database port</name>
201 <description>The port where the SFA database can be reached.</description>
204 <variable id="user" type="string">
205 <name>Database user</name>
206 <value>sfadbuser</value>
207 <description>When SFA gets co-hosted with a myplc, this should match the PLC config.</description>
210 <variable id="password" type="string">
211 <name>Database password</name>
213 <description>When SFA gets co-hosted with a myplc, this should match the PLC config.</description>
216 <variable id="name" type="string">
217 <name>Database name</name>
219 <description>SFA database name.</description>
226 <!-- ======================================== -->
227 <category id="sfa_flashpolicy">
228 <name>SFA Flash Policy</name>
229 <description>The settings that affect the flash policy server that will run
230 as part of this SFA instance.</description>
233 <variable id="enabled" type="boolean">
234 <name>Enable Flash Policy Server</name>
236 <description>Allows this local SFA instance to run a
237 flash policy server.</description>
239 <variable id="config_file" type="string">
240 <name>Flash policy config file</name>
241 <value>/etc/sfa/sfa_flashpolicy_config.xml</value>
242 <description>The path to where the flash policy config file can be reached.</description>
244 <variable id="port" type="int">
245 <name>Flash policy port</name>
247 <description>The flash policy server port.</description>
252 <!-- ======================================== -->
253 <category id="sfa_plc">
255 <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>
258 <variable id="user" type="string">
259 <name>PLC login name for an admin user; SFA will carry on operations under this account.</name>
260 <value>root@localhost.localdomain</value>
261 <description></description>
264 <variable id="password" type="string">
265 <name>Password</name>
267 <description>The PLC password for SFA_PLC_USER.</description>
270 <variable id="url" type="string">
272 <value>https://localhost:443/PLCAPI/</value>
273 <description>Full URL of PLC interface.</description>
279 <!-- ======================================== -->
280 <category id="sfa_federica">
282 <description>The settings that tell this SFA instance how to interact with the FEDERICA testbed.</description>
285 <variable id="url" type="string">
286 <name>XMLRPC URL</name>
287 <value>https://root:password@federica.sfa.wrapper.com:8443/fedewrapper/xmlrpc/</value>
288 <description>URL for the federica xmlrpc API; login and password need to be set like in http://login:password@hostname:port/the/path </description>
293 <!-- ======================================== -->
294 <category id="sfa_nova">
295 <name>SFA Flash Policy</name>
296 <description>The settings that affect how SFA connects to
297 the Nova/EC2 API</description>
299 <variable id="user" type="string">
300 <name>Sfa nova user</name>
301 <value>novaadmin</value>
302 <description>Account/context to use when performing
303 administrative nova operations</description>
305 <variable id="api_url" type="string">
306 <name>Nova API url</name>
307 <value>127.0.0.1</value>
308 <description>The Nova/EC2 API url </description>
310 <variable id="api_port" type="int">
311 <name>Nova API Port</name>
313 <description>The Nova/EC2 API port.</description>
321 <!-- deprecated - not used anymore - use .lst files instead -->