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="session_key_path" type="string">
40 <name>User Session Keys Path </name>
41 <value>/var/lib/sfa/session_keys</value>
42 <description>Some services will peform operations on behalf of a user, but make
43 it look like the user is the one performing the operation. Doing this requires a
44 valid key pair and credential for the user. This option defines the path where
45 key pairs and credentials are generated and stored.
46 This functionality is used by the SFA web gui
52 <!-- ======================================== -->
53 <category id="sfa_registry">
55 <description>The settings that affect the registry that will run
56 as part of this SFA instance.</description>
59 <variable id="enabled" type="boolean">
60 <name>Enable Registry</name>
62 <description>Allows this local SFA instance to run as a
63 registry.</description>
66 <variable id="type" type="string">
67 <name>Registry type</name>
69 <description>The type of backend server for this
70 registry. Some registries may not be myplc.</description>
73 <variable id="host" type="hostname">
75 <value>localhost</value>
76 <description>The hostname where the registry is expected to
77 be found; using localhost when the local registry is enabled
78 seems reasonable.</description>
81 <variable id="port" type="int">
82 <name>Port number</name>
84 <description>The port where the registry is to be found.</description>
87 <variable id="root_auth" type="string">
88 <name>Root Authority</name>
90 <description>The hrn of the registry's root auth.</description>
96 <!-- ======================================== -->
97 <category id="sfa_aggregate">
98 <name>Aggregate</name>
99 <description>The settings that affect the aggregate manager that will run
100 as part of this SFA instance.</description>
103 <variable id="enabled" type="boolean">
104 <name>Enable Aggregate</name>
106 <description>Allows this local SFA instance to run as an
107 aggregate manager.</description>
110 <variable id="type" type="string">
111 <name>Aggregate type</name>
113 <description>The type of backend server for this
114 aggregate. Some aggregates may not be myplc.</description>
117 <variable id="rspec_schema" type="string">
118 <name>RSpec Schema</name>
119 <value>/etc/sfa/pl.rng</value>
120 <description>The path to the default schema</description>
123 <variable id="host" type="hostname">
124 <name>Hostname</name>
125 <value>localhost</value>
126 <description>The hostname where the aggregate is expected to
127 be found.</description>
130 <variable id="port" type="int">
131 <name>Port number</name>
133 <description>The port where the aggregate is to be found.</description>
139 <!-- ======================================== -->
140 <category id="sfa_sm">
141 <name>Slice Manager</name>
142 <description>The settings that affect the slice manager that will run
143 as part of this SFA instance.</description>
146 <variable id="enabled" type="boolean">
147 <name>Enable Slice Manager</name>
149 <description>Allows this local SFA instance to run as a
150 slice manager.</description>
153 <variable id="type" type="string">
154 <name>Slice Manager type</name>
156 <description>The type of backend server for this
157 slice manager. Not all slice managers are myplc.</description>
160 <variable id="host" type="hostname">
161 <name>Hostname</name>
162 <value>localhost</value>
163 <description>The hostname where the slice manager is expected to
164 be found.</description>
167 <variable id="port" type="int">
168 <name>Port number</name>
170 <description>The port where the slice manager is to be found.</description>
175 <!-- ======================================== -->
176 <category id="sfa_plc">
178 <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>
181 <variable id="user" type="string">
182 <name>PLC login name for an admin user; SFA will carry on operations under this account.</name>
183 <value>root@localhost.localdomain</value>
184 <description></description>
187 <variable id="password" type="string">
188 <name>Password</name>
190 <description>The PLC password for SFA_PLC_USER.</description>
193 <variable id="url" type="string">
195 <value>https://localhost:443/PLCAPI/</value>
196 <description>Full URL of PLC interface.</description>
199 <variable id="db_name" type="string">
200 <name>Database name</name>
201 <value>planetlab5</value>
202 <description>Planetlab database name.</description>
205 <variable id="db_host" type="hostname">
206 <name>Datbase host</name>
207 <value>localhost</value>
208 <description>The host where the PLC database can be reached.</description>
211 <variable id="db_port" type="int">
212 <name>Database port</name>
214 <description>The port where the PLC database can be reached.</description>
217 <variable id="db_user" type="string">
218 <name>Database user</name>
219 <value>pgsqluser</value>
220 <description></description>
223 <variable id="db_password" type="string">
224 <name>Database password</name>
226 <description>The password for PLC_DB_USER.</description>
232 <category id="sfa_flashpolicy">
233 <name>SFA Flash Policy</name>
234 <description>The settings that affect the flash policy server that will run
235 as part of this SFA instance.</description>
238 <variable id="enabled" type="boolean">
239 <name>Enable Flash Policy Server</name>
241 <description>Allows this local SFA instance to run a
242 flash policy server.</description>
244 <variable id="config_file" type="string">
245 <name>Flash policy config file</name>
246 <value>/etc/sfa/sfa_flashpolicy_config.xml</value>
247 <description>The path to where the flash policy config file can be reached.</description>
249 <variable id="port" type="int">
250 <name>Flash policy port</name>
252 <description>The flash policy server port.</description>
260 <!-- deprecated - not used anymore - use .lst files instead -->