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_plc">
229 <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>
232 <variable id="user" type="string">
233 <name>PLC login name for an admin user; SFA will carry on operations under this account.</name>
234 <value>root@localhost.localdomain</value>
235 <description></description>
238 <variable id="password" type="string">
239 <name>Password</name>
241 <description>The PLC password for SFA_PLC_USER.</description>
244 <variable id="url" type="string">
246 <value>https://localhost:443/PLCAPI/</value>
247 <description>Full URL of PLC interface.</description>
254 <!-- ======================================== -->
255 <category id="sfa_flashpolicy">
256 <name>SFA Flash Policy</name>
257 <description>The settings that affect the flash policy server that will run
258 as part of this SFA instance.</description>
261 <variable id="enabled" type="boolean">
262 <name>Enable Flash Policy Server</name>
264 <description>Allows this local SFA instance to run a
265 flash policy server.</description>
267 <variable id="config_file" type="string">
268 <name>Flash policy config file</name>
269 <value>/etc/sfa/sfa_flashpolicy_config.xml</value>
270 <description>The path to where the flash policy config file can be reached.</description>
272 <variable id="port" type="int">
273 <name>Flash policy port</name>
275 <description>The flash policy server port.</description>
283 <!-- deprecated - not used anymore - use .lst files instead -->