eole-one-frontend/dicos/99_one-frontend.xml

37 lines
1.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<creole>
<files>
<file filelist='onefrontend' name='/etc/one/sunstone-server.conf' rm='True' mkdir='True'/>
</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>
</family>
</variables>
<constraints>
<fill name='calc_val' target='ip_sunstone'>
<param type='eole' name='valeur'>nom_machine</param>
</fill>
<condition name='disabled_if_in' source='activer_onefrontend'>
<param>non</param>
<!--target type='filelist'>onefrontend</target-->
<target type='variable'>port_sunstone</target>
<target type='ip_sunstone'>port_sunstone</target>
<target type='ip_sunstone'>port_sunstone</target>
</condition>
</constraints>
<help>
<variable name='activer_onefrontend'>Interface d'administration du Cluster OpenNebula.</variable>
</help>
</creole>