2014-02-05 15:46:51 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<creole>
|
|
|
|
<files>
|
2014-02-06 12:18:03 +01:00
|
|
|
<service type='service'>opennebula-sunstone</service>
|
2014-02-05 15:46:51 +01:00
|
|
|
<file filelist='onefrontend' name='/etc/one/sunstone-server.conf' rm='True' mkdir='True'/>
|
2014-05-22 14:43:12 +02:00
|
|
|
<service_access service='sunstone'>
|
|
|
|
<port>9000</port>
|
2014-05-22 14:57:10 +02:00
|
|
|
<port>29876</port>
|
2014-05-22 14:43:12 +02:00
|
|
|
</service_access>
|
|
|
|
<service_restriction service='sunstone'>
|
|
|
|
<ip interface='eth0' netmask='netmask_ssh_eth0' netmask_type='SymLinkOption' ip_type='SymLinkOption'>ip_ssh_eth0</ip>
|
|
|
|
</service_restriction>
|
2014-02-05 15:46:51 +01:00
|
|
|
</files>
|
|
|
|
<variables>
|
|
|
|
<family name='Virtualisation'>
|
|
|
|
<variable name='activer_onefrontend' type='oui/non' description="Activer l'application web OpenNebula sunstone">
|
|
|
|
<value>oui</value>
|
|
|
|
</variable>
|
|
|
|
<variable name='port_sunstone' type='number' description="Numéro de port d'écoute d'OpenNebula Sunstone">
|
|
|
|
<value>9000</value>
|
|
|
|
</variable>
|
|
|
|
<variable name='ip_sunstone' type='ip' description="Adresse IP d'écoute pour OpenNebula Sunstone"/>
|
|
|
|
<variable name='langue_sunstone' type='string' description="Langue par défaut de l'interface" mode='expert'>
|
|
|
|
<value>fr_FR</value>
|
|
|
|
</variable>
|
2014-02-14 16:42:13 +01:00
|
|
|
<variable name='sunstone_auth' type='string' description="Mode d'authentification des utilisateurs" mode='expert'>
|
|
|
|
<value>sunstone</value>
|
|
|
|
</variable>
|
2014-02-05 15:46:51 +01:00
|
|
|
</family>
|
|
|
|
</variables>
|
|
|
|
|
|
|
|
<constraints>
|
|
|
|
<fill name='calc_val' target='ip_sunstone'>
|
2014-02-05 16:15:56 +01:00
|
|
|
<param type='eole' name='valeur'>adresse_ip_eth0</param>
|
2014-02-05 15:46:51 +01:00
|
|
|
</fill>
|
|
|
|
<condition name='disabled_if_in' source='activer_onefrontend'>
|
|
|
|
<param>non</param>
|
|
|
|
<!--target type='filelist'>onefrontend</target-->
|
|
|
|
<target type='variable'>port_sunstone</target>
|
2014-02-05 16:09:27 +01:00
|
|
|
<target type='variable'>port_sunstone</target>
|
|
|
|
<target type='variable'>ip_sunstone</target>
|
|
|
|
<target type='variable'>langue_sunstone</target>
|
2014-02-05 15:46:51 +01:00
|
|
|
</condition>
|
|
|
|
</constraints>
|
|
|
|
<help>
|
|
|
|
<variable name='activer_onefrontend'>Interface d'administration du Cluster OpenNebula.</variable>
|
|
|
|
</help>
|
|
|
|
</creole>
|