31 |
31 |
|
32 |
32 |
<service_restriction service='sunstone_xmlrpc'>
|
33 |
33 |
<ip interface='one_node_int_name' interface_type='SymLinkOption' ip_type='SymLinkOption'>one_nodes</ip>
|
|
34 |
<ip interface='one_node_int_name' interface_type='SymLinkOption' ip_type='SymLinkOption'>xmlrpc_allowed_ips</ip>
|
34 |
35 |
</service_restriction>
|
35 |
36 |
</files>
|
36 |
37 |
<variables>
|
... | ... | |
125 |
126 |
<variable name="one_rpc_log" description="Créer un fichier séparé pour les log XML-RPC" mode="expert">
|
126 |
127 |
<value>NO</value>
|
127 |
128 |
</variable>
|
|
129 |
|
|
130 |
<variable name='activer_acces_xmlrpc' type='oui/non' description="Ouvrir l'accès à l'API XMLRPC pour des IP externes ?" mode='expert'>
|
|
131 |
<value>non</value>
|
|
132 |
</variable>
|
|
133 |
<variable name='xmlrpc_allowed_ips' type='ip' description="Adresses IP autorisées à utiliser l'API XMLRPC" multi='True' mode='expert'/>
|
128 |
134 |
</family>
|
129 |
135 |
<family name='Modèle' icon='cloud'>
|
130 |
136 |
<variable name='hapy_init_master' type='oui/non' description="Activer l'auto-création du modèle de machine virtuelle pour installer un module EOLE">
|
... | ... | |
222 |
228 |
<target type="variable">one_database_connections</target>
|
223 |
229 |
</condition>
|
224 |
230 |
|
|
231 |
<fill name='calc_multi_condition' target='activer_acces_xmlrpc'>
|
|
232 |
<param>oui</param>
|
|
233 |
<param type='eole' name='condition_1'>activer_one_ha</param>
|
|
234 |
<param name='match'>oui</param>
|
|
235 |
<param name='default_mismatch'>None</param>
|
|
236 |
</fill>
|
|
237 |
|
225 |
238 |
<check name="valid_enum" target="one_node_int">
|
226 |
239 |
<param>['0','1','2','3','4']</param>
|
227 |
240 |
</check>
|
... | ... | |
249 |
262 |
<target type='variable'>one_ha_server_index</target>
|
250 |
263 |
<target type='variable'>one_vip</target>
|
251 |
264 |
<target type='variable'>one_vip_mask</target>
|
252 |
|
<target type='service_accesslist'>sunstone_xmlrpc</target>
|
253 |
265 |
<target type='filelist'>one_ha</target>
|
254 |
266 |
</condition>
|
255 |
267 |
|
|
268 |
<condition name='disabled_if_in' source='activer_acces_xmlrpc'>
|
|
269 |
<param>non</param>
|
|
270 |
<target type='service_accesslist'>sunstone_xmlrpc</target>
|
|
271 |
</condition>
|
|
272 |
|
256 |
273 |
<fill name='calc_val' target='one_vip_mask'>
|
257 |
274 |
<param type='eole' name='valeur'>adresse_netmask_eth0</param>
|
258 |
275 |
</fill>
|
259 |
|
-
|