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-11-04 14:08:21 +01:00
|
|
|
<file filelist='onefrontend' name='/etc/one/sunstone-views.yaml' rm='True' mkdir='True'/>
|
|
|
|
<file filelist='onefrontend' name='/etc/one/sunstone-views/admin.yaml' rm='True' mkdir='True'/>
|
|
|
|
<file filelist='onefrontend' name='/etc/one/sunstone-views/user.yaml' rm='True' mkdir='True'/>
|
|
|
|
<file filelist='onefrontend' name='/etc/one/sunstone-views/cloud.yaml' rm='True' mkdir='True'/>
|
|
|
|
<file filelist='onefrontend' name='/etc/one/sunstone-views/vdcadmin.yaml' rm='True' mkdir='True'/>
|
2014-09-30 09:59:25 +02:00
|
|
|
<file filelist='onefrontend' name='/etc/one/auth/ldap_auth.conf' source='sunstone-ldap_auth.conf' rm='True' mkdir='True'/>
|
2014-11-05 10:57:44 +01:00
|
|
|
<file filelist='appmarket' name='/etc/one/sunstone-appmarket.conf' rm='True' mkdir='True'/>
|
2014-05-22 14:43:12 +02:00
|
|
|
<service_access service='sunstone'>
|
2014-09-29 15:02:50 +02:00
|
|
|
<port port_type="SymLinkOption">port_sunstone</port>
|
|
|
|
<port port_type="SymLinkOption">vnc_proxy_port_sunstone</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>
|
2014-09-29 15:12:24 +02:00
|
|
|
<variable name='vnc_proxy_port_sunstone' type='number' description="Numéro de port d'écoute du proxy VNC" mode='expert'>
|
2014-09-29 15:02:50 +02:00
|
|
|
<value>29876</value>
|
|
|
|
</variable>
|
2014-02-05 15:46:51 +01:00
|
|
|
<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-10-07 15:19:41 +02:00
|
|
|
<variable name='sunstone_auth_modes' type='string' description="Modes supplémentaires d'authentification des utilisateurs" mode='expert'/>
|
2014-11-05 10:57:44 +01:00
|
|
|
<variable name='activer_market_views' type='oui/non' description="Activer l'intégration appmarket dans Sunstone" mode="expert"/>
|
2014-11-05 10:46:13 +01:00
|
|
|
<variable name='appmarket_endpoint' type='web_address' description="Adresse du serveur appmarket" mode='expert'/>
|
2014-11-05 11:14:20 +01:00
|
|
|
<variable name='appmarket_user' type='string' description="Utilisateur d'administration du serveur appmarket" mode='expert'/>
|
|
|
|
<variable name='appmarket_password' type='string' description="Mot de passe de l'administrateur du serveur appmarket" mode='expert'/>
|
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>
|
2014-09-30 09:59:25 +02:00
|
|
|
<check name='valid_enum' target='sunstone_auth_modes'>
|
2014-10-07 15:19:41 +02:00
|
|
|
<param>['', 'ldap']</param>
|
2014-09-30 09:59:25 +02:00
|
|
|
</check>
|
2014-11-04 14:08:21 +01:00
|
|
|
|
2014-10-07 15:19:41 +02:00
|
|
|
<auto name='calc_multi_condition' target='activer_client_ldap'>
|
|
|
|
<param>ldap</param>
|
|
|
|
<param type='eole' name='condition_1'>sunstone_auth_modes</param>
|
|
|
|
<param name='match'>distant</param>
|
|
|
|
<param name='mismatch'>non</param>
|
|
|
|
</auto>
|
|
|
|
|
2014-02-05 15:46:51 +01:00
|
|
|
<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>
|
2014-11-05 10:57:44 +01:00
|
|
|
<condition name='disabled_if_in' source='activer_market_views'>
|
|
|
|
<param>non</param>
|
|
|
|
<target type='variable'>appmarket_endpoint</target>
|
2014-11-05 11:14:20 +01:00
|
|
|
<target type='variable'>appmarket_user</target>
|
|
|
|
<target type='variable'>appmarket_password</target>
|
2014-11-05 10:57:44 +01:00
|
|
|
<target type='filelist'>appmarket</target>
|
|
|
|
</condition>
|
2014-02-05 15:46:51 +01:00
|
|
|
</constraints>
|
|
|
|
<help>
|
|
|
|
<variable name='activer_onefrontend'>Interface d'administration du Cluster OpenNebula.</variable>
|
2014-11-05 10:46:13 +01:00
|
|
|
<variable name='port_sunstone'>Numéro de port d'écoute d'OpenNebula Sunstone</variable>
|
|
|
|
<variable name='vnc_proxy_port_sunstone'>Numéro de port d'écoute du proxy VNC (novnc)</variable>
|
|
|
|
<variable name='ip_sunstone'>Adresse IP d'écoute pour OpenNebula Sunstone</variable>
|
|
|
|
<variable name='langue_sunstone'>Langue par défaut de l'interface OpenNebula Sunstone</variable>
|
|
|
|
<variable name='sunstone_auth_modes'>Modes d'authentification des utilisateurs (LDAP ...)</variable>
|
2014-11-05 11:01:40 +01:00
|
|
|
<variable name='activer_market_views'>Intégration de la gestion du serveur appmarket dans OpenNebula Sunstone</variable>
|
2014-11-05 10:46:13 +01:00
|
|
|
<variable name='appmarket_endpoint'>Adresse du serveur appmarket (URL http://serveur.domaine.fr[:port] ou https://xxx.xxx.xxx.xxx[:port])</variable>
|
2014-11-05 11:14:20 +01:00
|
|
|
<variable name='appmarket_user'>Utilisateur d'administration du serveur appmarket (déclaré dans la configuration du serveur appmarket)</variable>
|
|
|
|
<variable name='appmarket_password'>Mot de passe de l'administrateur du serveur appmarket</variable>
|
|
|
|
|
2014-02-05 15:46:51 +01:00
|
|
|
</help>
|
|
|
|
</creole>
|