2014-02-05 15:46:51 +01:00
<?xml version="1.0" encoding="utf-8"?>
<creole >
<files >
2016-07-19 14:19:37 +02:00
<service > opennebula-sunstone</service>
2016-09-07 10:40:14 +02:00
<file filelist= 'onefrontend' name= '/etc/one/sunstone-server.conf' />
2017-10-19 11:42:07 +02:00
<file filelist= 'onefrontend' name= '/etc/one/sunstone-logos.yaml' />
2018-06-13 15:19:51 +02:00
<file filelist= 'onefrontend' name= '/etc/one/sunstone-views/kvm/admin.yaml' source= 'kvm-admin.yaml' />
<file filelist= 'onefrontend' name= '/etc/one/sunstone-views/kvm/cloud.yaml' source= 'kvm-cloud.yaml' />
<file filelist= 'onefrontend' name= '/etc/one/sunstone-views/kvm/groupadmin.yaml' source= 'kvm-groupadmin.yaml' />
<file filelist= 'onefrontend' name= '/etc/one/sunstone-views/kvm/user.yaml' source= 'kvm-user.yaml' />
<file filelist= 'onefrontend' name= '/etc/one/sunstone-views/mixed/admin.yaml' source= 'mixed-admin.yaml' />
<file filelist= 'onefrontend' name= '/etc/one/sunstone-views/mixed/cloud.yaml' source= 'mixed-cloud.yaml' />
<file filelist= 'onefrontend' name= '/etc/one/sunstone-views/mixed/groupadmin.yaml' source= 'mixed-groupadmin.yaml' />
<file filelist= 'onefrontend' name= '/etc/one/sunstone-views/mixed/user.yaml' source= 'mixed-user.yaml' />
<file filelist= 'onefrontend' name= '/etc/one/sunstone-views/vcenter/admin.yaml' source= 'vcenter-admin.yaml' />
<file filelist= 'onefrontend' name= '/etc/one/sunstone-views/vcenter/cloud.yaml' source= 'vcenter-cloud.yaml' />
<file filelist= 'onefrontend' name= '/etc/one/sunstone-views/vcenter/groupadmin.yaml' source= 'vcenter-groupadmin.yaml' />
<file filelist= 'onefrontend' name= '/etc/one/sunstone-views/vcenter/user.yaml' source= 'vcenter-user.yaml' />
2016-09-07 10:40:14 +02:00
<file filelist= 'onefrontend' name= '/etc/nginx/sites-available/nebula.conf' source= 'nginx-nebula.conf' />
2018-06-13 15:19:59 +02:00
2015-08-11 15:16:45 +02:00
<service_access service= 'sunstoneHttps' >
<port > 443</port>
</service_access>
<service_restriction service= 'sunstoneHttps' >
<ip interface= 'eth0' netmask= 'netmask_admin_eth0' netmask_type= 'SymLinkOption' ip_type= 'SymLinkOption' > ip_admin_eth0</ip>
</service_restriction>
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>
2016-04-19 10:52:25 +02:00
<port port_type= "SymLinkOption" > xmlrpc_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 >
2014-11-06 15:54:28 +01:00
<family name= 'Annuaire' >
<variable name= 'ldap_nss' redefine= 'True' hidden= 'True' />
</family>
2016-10-03 17:41:23 +02:00
<family name= 'Services' >
<variable name= 'activer_onefrontend' type= 'oui/non' description= "Activer l'application web OpenNebula Sunstone" mode= "expert" >
2014-02-05 15:46:51 +01:00
<value > oui</value>
</variable>
2016-10-03 17:41:23 +02:00
</family>
<family name= 'Virtualisation' >
2018-06-13 15:19:26 +02:00
<variable name= 'sunstone_view_mode' type= 'string' description= 'Mode d’ affichage par défaut des vues' mode= 'expert' >
<value > kvm</value>
</variable>
2016-10-03 17:41:23 +02:00
<variable name= 'sunstone_auth_modes' type= 'string' description= "Modes supplémentaires d'authentification des utilisateurs" mode= 'expert' />
2016-10-13 17:12:45 +02:00
<variable name= 'port_sunstone' type= 'number' description= "Numéro de port d'écoute" mode= "expert" hidden= 'True' >
2014-02-05 15:46:51 +01:00
<value > 9000</value>
</variable>
2016-10-03 17:41:23 +02:00
<variable name= 'ip_sunstone' type= 'ip' description= "Adresse IP d'écoute" mandatory= "True" mode= "expert" />
<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>
2016-10-03 17:41:23 +02:00
<variable name= 'langue_sunstone' type= 'string' description= "Langue par défaut" mode= 'expert' mandatory= "True" >
<value > fr_FR</value>
</variable>
<variable name= 'sunstone_logo' type= 'string' description= "Logo pour l'interface Sunstone" mode= 'expert' >
<value > opennebula-sunstone-v4.0.png</value>
2016-04-19 10:52:25 +02:00
</variable>
2019-02-08 17:45:39 +01:00
<variable name= 'activer_xmlrpc_port_sunstone' type= 'oui/non' description= "Activer l'accès distant à l'API XML-RPC" mode= 'expert' exists= 'False' >
2016-10-04 14:28:01 +02:00
<value > non</value>
</variable>
2016-04-19 11:58:50 +02:00
<!-- le port est là pour bastion, mais on ne peut pas le changer -->
2019-02-08 17:45:39 +01:00
<variable name= 'xmlrpc_port_sunstone' type= 'number' description= "Numéro de port d'écoute de l'API XML-RPC" mode= 'expert' mandatory= "True" hidden= 'True' exists= 'False' >
2016-04-19 10:52:25 +02:00
<value > 2633</value>
</variable>
2014-02-05 15:46:51 +01:00
</family>
2016-04-27 17:16:48 +02:00
<separators >
2018-06-13 16:24:31 +02:00
<separator name= 'sunstone_view_mode' > Configuration du l'application web OpenNebula Sunstone</separator>
2019-02-08 17:45:39 +01:00
<!-- separator name='activer_xmlrpc_port_sunstone'>Configuration du service XML - RPC</separator -->
2016-04-27 17:16:48 +02:00
</separators>
2014-02-05 15:46:51 +01:00
</variables>
<constraints >
2018-06-13 15:19:26 +02:00
<check name= 'valid_enum' target= 'sunstone_view_mode' >
<param > ['kvm', 'mixed', 'vcenter']</param>
</check>
2014-02-05 15:46:51 +01:00
<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>
2016-04-19 10:52:25 +02:00
<condition name= 'disabled_if_in' source= 'activer_xmlrpc_port_sunstone' >
<param > non</param>
<target type= 'variable' > xmlrpc_port_sunstone</target>
</condition>
2014-02-05 15:46:51 +01:00
<condition name= 'disabled_if_in' source= 'activer_onefrontend' >
<param > non</param>
2016-09-07 10:40:14 +02:00
<target type= 'filelist' > onefrontend</target>
2014-02-05 15:46:51 +01:00
<target type= 'variable' > port_sunstone</target>
2016-04-19 10:52:25 +02:00
<target type= 'variable' > vnc_proxy_port_sunstone</target>
<target type= 'variable' > xmlrpc_port_sunstone</target>
2014-02-05 16:09:27 +01:00
<target type= 'variable' > ip_sunstone</target>
<target type= 'variable' > langue_sunstone</target>
2015-08-11 10:22:21 +02:00
<target type= 'variable' > sunstone_logo</target>
2014-02-05 15:46:51 +01:00
</condition>
2014-11-12 14:58:50 +01:00
2014-02-05 15:46:51 +01:00
</constraints>
<help >
2018-06-13 15:19:26 +02:00
<variable name= 'sunstone_view_mode' > Utiliser l’ un des types de vues par défaut en fonction de l’ hyperviseur</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>
2014-02-05 15:46:51 +01:00
</help>
</creole>