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="interface_hrn" type="string">
22 <name>Human readable name</name>
24 <description>The human readable name for this interface.</description>
27 <variable id="credential_schema" type="string">
28 <name>Credential Schema</name>
29 <value>/etc/sfa/credential.xsd</value>
30 <description>The path to the default credential schema</description>
33 <variable id="api_debug" type="boolean">
36 <description>Flag to turn debug on.</description>
39 <variable id="max_slice_renew" type="int">
40 <name>Max Slice Renew</name>
42 <description>Maximum amout of days a user can extend/renew their slices to</description>
45 <variable id="session_key_path" type="string">
46 <name>User Session Keys Path </name>
47 <value>/var/lib/sfa/session_keys</value>
48 <description>Some services will peform operations on behalf of a user, but make
49 it look like the user is the one performing the operation. Doing this requires a
50 valid key pair and credential for the user. This option defines the path where
51 key pairs and credentials are generated and stored.
52 This functionality is used by the SFA web gui
58 <!-- ======================================== -->
59 <category id="sfa_registry">
61 <description>The settings that affect the registry that will run
62 as part of this SFA instance.</description>
65 <variable id="enabled" type="boolean">
66 <name>Enable Registry</name>
68 <description>Allows this local SFA instance to run as a
69 registry.</description>
72 <variable id="type" type="string">
73 <name>Registry type</name>
75 <description>The type of backend server for this
76 registry. Some registries may not be myplc.</description>
79 <variable id="host" type="hostname">
81 <value>localhost</value>
82 <description>The hostname where the registry is expected to
83 be found; using localhost when the local registry is enabled
84 seems reasonable.</description>
87 <variable id="port" type="int">
88 <name>Port number</name>
90 <description>The port where the registry is to be found.</description>
93 <variable id="root_auth" type="string">
94 <name>Root Authority</name>
96 <description>The hrn of the registry's root auth.</description>
102 <!-- ======================================== -->
103 <category id="sfa_aggregate">
104 <name>Aggregate</name>
105 <description>The settings that affect the aggregate manager that will run
106 as part of this SFA instance.</description>
109 <variable id="enabled" type="boolean">
110 <name>Enable Aggregate</name>
112 <description>Allows this local SFA instance to run as an
113 aggregate manager.</description>
116 <variable id="type" type="string">
117 <name>Aggregate type</name>
119 <description>The type of backend server for this
120 aggregate. Some aggregates may not be myplc.</description>
123 <variable id="rspec_schema" type="string">
124 <name>RSpec Schema</name>
125 <value>/etc/sfa/pl.rng</value>
126 <description>The path to the default schema</description>
129 <variable id="host" type="hostname">
130 <name>Hostname</name>
131 <value>localhost</value>
132 <description>The hostname where the aggregate is expected to
133 be found.</description>
136 <variable id="port" type="int">
137 <name>Port number</name>
139 <description>The port where the aggregate is to be found.</description>
145 <!-- ======================================== -->
146 <category id="sfa_sm">
147 <name>Slice Manager</name>
148 <description>The settings that affect the slice manager that will run
149 as part of this SFA instance.</description>
152 <variable id="enabled" type="boolean">
153 <name>Enable Slice Manager</name>
155 <description>Allows this local SFA instance to run as a
156 slice manager.</description>
159 <variable id="type" type="string">
160 <name>Slice Manager type</name>
162 <description>The type of backend server for this
163 slice manager. Not all slice managers are myplc.</description>
166 <variable id="host" type="hostname">
167 <name>Hostname</name>
168 <value>localhost</value>
169 <description>The hostname where the slice manager is expected to
170 be found.</description>
173 <variable id="port" type="int">
174 <name>Port number</name>
176 <description>The port where the slice manager is to be found.</description>
181 <!-- ======================================== -->
182 <category id="sfa_plc">
184 <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>
187 <variable id="user" type="string">
188 <name>PLC login name for an admin user; SFA will carry on operations under this account.</name>
189 <value>root@localhost.localdomain</value>
190 <description></description>
193 <variable id="password" type="string">
194 <name>Password</name>
196 <description>The PLC password for SFA_PLC_USER.</description>
199 <variable id="url" type="string">
201 <value>https://localhost:443/PLCAPI/</value>
202 <description>Full URL of PLC interface.</description>
205 <variable id="db_name" type="string">
206 <name>Database name</name>
207 <value>planetlab5</value>
208 <description>Planetlab database name.</description>
211 <variable id="db_host" type="hostname">
212 <name>Datbase host</name>
213 <value>localhost</value>
214 <description>The host where the PLC database can be reached.</description>
217 <variable id="db_port" type="int">
218 <name>Database port</name>
220 <description>The port where the PLC database can be reached.</description>
223 <variable id="db_user" type="string">
224 <name>Database user</name>
225 <value>pgsqluser</value>
226 <description></description>
229 <variable id="db_password" type="string">
230 <name>Database password</name>
232 <description>The password for PLC_DB_USER.</description>
238 <category id="sfa_flashpolicy">
239 <name>SFA Flash Policy</name>
240 <description>The settings that affect the flash policy server that will run
241 as part of this SFA instance.</description>
244 <variable id="enabled" type="boolean">
245 <name>Enable Flash Policy Server</name>
247 <description>Allows this local SFA instance to run a
248 flash policy server.</description>
250 <variable id="config_file" type="string">
251 <name>Flash policy config file</name>
252 <value>/etc/sfa/sfa_flashpolicy_config.xml</value>
253 <description>The path to where the flash policy config file can be reached.</description>
255 <variable id="port" type="int">
256 <name>Flash policy port</name>
258 <description>The flash policy server port.</description>
266 <!-- deprecated - not used anymore - use .lst files instead -->