2016-05-11 10:54:53 +02:00
<?xml version="1.0" encoding="utf-8"?>
<creole >
<files >
<!-- file filelist='onesinglenode' name='/etc/one/sunstone - server.conf' rm='True' mkdir='True'/ -->
<file filelist= 'onesinglenode' name= '/etc/one/vmm_exec/vmm_exec_kvm.conf' rm= 'True' mkdir= 'True' />
2016-10-12 16:36:15 +02:00
<file filelist= 'onesinglenode' name= '/etc/one/oned.conf' rm= 'True' />
2019-02-20 14:17:48 +01:00
<file filelist= 'onesinglenode' name= '/etc/one/sched.conf' rm= 'True' />
2018-06-13 14:16:09 +02:00
<file filelist= 'onesinglenode' name= '/var/lib/one/remotes/etc/vnm/OpenNebulaNetwork.conf' rm= 'True' mkdir= 'True' />
2017-10-19 11:09:12 +02:00
<file filelist= 'onesinglenode' name= '/etc/one/auth/ldap_auth.conf' />
2016-07-19 14:05:54 +02:00
<service > opennebula</service>
2019-02-20 15:47:11 +01:00
<service > opennebula-scheduler</service>
2016-05-11 10:54:53 +02:00
<service_access service= 'one-ssh' >
2016-09-02 12:34:11 +02:00
<tcpwrapper > sshd</tcpwrapper>
2016-05-11 10:54:53 +02:00
</service_access>
<service_restriction service= 'one-ssh' >
2016-09-02 12:34:11 +02:00
<ip interface= 'eth0' ip_type= 'SymLinkOption' > adresse_ip_eth0</ip>
2016-05-11 10:54:53 +02:00
</service_restriction>
2019-02-06 14:14:03 +01:00
<service_access service= 'sunstone' >
<port port_type= "SymLinkOption" > port_sunstone</port>
<port port_type= "SymLinkOption" > vnc_proxy_port_sunstone</port>
</service_access>
2016-05-11 10:54:53 +02:00
</files>
<variables >
<family name= 'general' >
<variable name= 'nom_machine' redefine= 'True' auto_freeze= 'True' />
</family>
2016-10-03 17:31:25 +02:00
<family name= 'services' >
<variable name= 'activer_onesinglenode' type= 'oui/non' description= "Activer l'orchestrateur de virtualisation" mode= 'expert' >
2016-05-11 10:54:53 +02:00
<value > oui</value>
</variable>
2016-10-03 17:31:25 +02:00
</family>
<family name= 'Virtualisation' icon= 'cloud' >
2018-04-09 10:23:41 +02:00
<variable name= 'one_cluster_name' type= 'string' description= "Nom de la grappe OpenNebula par défaut" mode= 'expert' >
<value > default</value>
</variable>
2019-02-06 14:14:03 +01:00
<!-- Base de donnée -->
2019-02-08 17:43:22 +01:00
<variable name= "one_database_type" description= "Moteur de base de données a utiliser" type= "string" mode= "expert" >
2019-02-06 14:14:03 +01:00
<value > sqlite</value>
</variable>
2019-02-08 17:43:22 +01:00
<variable name= "one_database_host" description= "Adresse du serveur de base de données (mySQL uniquement)" mandatory= "True" mode= "expert" />
<variable name= "one_database_port" description= "Port d'écoute du serveur de base de données" mode= "expert" type= "number" mandatory= "True" >
2019-02-06 14:14:03 +01:00
<value > 3306</value>
</variable>
2019-02-08 17:43:22 +01:00
<variable name= "one_database_name" description= "Nom de la base de données" type= "string" mandatory= "True" >
2019-02-06 14:14:03 +01:00
<value > onedb</value>
</variable>
2019-02-08 17:43:22 +01:00
<variable name= "one_database_user" description= "Utilisateur pour se connecter à la base de données" type= "string" mandatory= "True" >
2019-02-06 14:14:03 +01:00
<value > one</value>
</variable>
2019-02-13 14:41:01 +01:00
<variable name= "one_database_pass" description= "Mot de passe pour se connecter à la base de données" type= "password" mandatory= "True" />
2019-02-20 15:47:11 +01:00
<variable name= "one_database_connections" description= "Nombre de connection à la base de données" type= "number" mandatory= "True" mode= "expert" /> <value > 50</value> </variable>
2019-02-06 14:14:03 +01:00
<!-- VNETS -->
2016-09-28 17:59:54 +02:00
<variable name= 'vnet_pilote' type= 'string' description= 'Pilote utilisé pour le réseau virtuel' hidden= 'True' />
<variable name= 'vnets' type= 'string' description= "Nom du réseau virtuel à plage d'adresse IP" multi= 'True' />
2016-09-29 17:42:03 +02:00
<variable name= 'vnet_range_start' type= 'ip' description= 'Première IP de la plage' mandatory= "True" />
<variable name= 'vnet_range_size' type= 'number' description= "Nombre d'adresses disponible" mandatory= "True" />
<variable name= 'vnet_network_addr' type= 'network' description= 'Adresse du réseau virtuel' />
2016-09-28 17:59:54 +02:00
<variable name= 'vnet_network_mask' type= 'netmask' description= 'Masque du réseau virtuel' />
2016-10-12 16:36:15 +02:00
<variable name= 'vnet_network_gw' type= 'ip' description= 'Passerelle du réseau virtuel' />
2016-09-29 17:42:03 +02:00
<variable name= 'vnet_network_dns' type= 'ip' description= 'Adresse du serveur DNS' />
2016-05-11 10:54:53 +02:00
<variable name= 'vnet_vlan_tag' type= 'number' description= 'Numéro du VLAN' />
<variable name= 'vnet_vlan_trunk' type= 'number' description= "VLAN à transporter (trunk)" mode= 'expert' />
2016-09-29 17:42:03 +02:00
<variable name= 'l2_vnets' type= 'string' description= "Nom du réseau virtuel à plage d'adresse ethernet" multi= 'True' />
2016-05-11 10:54:53 +02:00
<variable name= 'l2_vnet_first_mac' type= 'string' description= 'Première adresse MAC' mode= 'expert' />
2016-09-29 17:42:03 +02:00
<variable name= 'l2_vnet_size' type= 'number' description= "Nombre d'adresse MAC disponible" mandatory= "True" />
2016-05-11 10:54:53 +02:00
<variable name= 'l2_vnet_vlan_tag' type= 'number' description= 'Numéro du VLAN' />
<variable name= 'l2_vnet_vlan_trunk' type= 'number' description= "VLAN à transporter (trunk)" mode= 'expert' />
2016-10-12 16:36:15 +02:00
<variable name= 'one_ds_system_prefix' description= "Préfixe de l'espace de stockage système" auto_freeze= 'True' >
2016-05-11 10:54:53 +02:00
<value > system-</value>
</variable>
2016-10-12 16:36:15 +02:00
<variable name= 'one_ds_iso_name' description= "Nom de l'espace de stockage des images ISO" auto_freeze= 'True' >
2016-05-11 10:54:53 +02:00
<value > iso-images</value>
</variable>
2016-10-12 16:36:15 +02:00
<variable name= 'one_ds_image_name' description= "Nom de l'espace de stockage des images disques" auto_freeze= 'True' >
2016-05-11 10:54:53 +02:00
<value > images-disques</value>
</variable>
2016-10-12 16:36:15 +02:00
<variable name= 'one_disk_cache' type= 'oui/non' description= 'Activer le cache pour les images Qcow2' mode= 'expert' >
2016-05-11 10:54:53 +02:00
<value > oui</value>
</variable>
<variable name= 'one_video_driver' type= 'string' description= 'Pilote vidéo par défaut' mode= 'expert' >
<value > vga</value>
</variable>
<variable name= 'arp_cache_poisoning' type= 'oui/non' description= "Activer la protection contre l'ARP Poisoning" mode= 'expert' >
<value > non</value>
</variable>
2016-10-12 16:36:15 +02:00
<variable name= 'activer_hooks' type= 'oui/non' description= "Utiliser des hooks personnalisés" mode= 'expert' >
2016-09-02 12:34:11 +02:00
<value > non</value>
2016-05-11 10:54:53 +02:00
</variable>
2016-10-12 16:36:15 +02:00
<variable name= 'activer_multinode' description= "Activer l'intégration de plusieurs nœuds de virtualisation" mode= 'expert' type= 'oui/non' >
2016-10-04 14:12:04 +02:00
<value > non</value>
</variable>
2016-10-12 17:47:39 +02:00
<variable name= 'one_nodes' type= 'string' description= "Nom du nœud de virtualisation" multi= 'True' mandatory= 'True' />
<variable name= 'node_ip' type= 'ip' description= "Adresse IP du nœud de virtualisation" mandatory= 'True' />
2016-10-03 17:31:25 +02:00
</family>
2016-10-12 16:36:15 +02:00
<family name= 'Modèle' icon= 'cloud' >
<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" >
2016-10-03 17:31:25 +02:00
<value > non</value>
</variable>
<variable name= 'hapy_init_master_iso_version' type= 'string' description= "Version de l'image ISO EOLE à télécharger" mandatory= "True" />
<variable name= 'hapy_init_master_disk_size' type= 'number' description= "Taille en giga-octets du disque dur vierge" >
<value > 40</value>
</variable>
2016-05-11 10:54:53 +02:00
</family>
2016-09-08 12:00:30 +02:00
<family name= 'Hooks' icon= 'anchor' >
2016-10-03 17:31:25 +02:00
<variable name= 'hapy_vm_hooks' type= 'oui/non' description= "Hooks sur les machines virtuelles" mode= 'expert' mandatory= 'True' >
2016-09-02 12:34:11 +02:00
<value > non</value>
</variable>
2016-10-03 17:31:25 +02:00
<variable name= 'hapy_vm_hook' type= 'string' description= "Nom du hook des machines virtuelles" multi= 'True' mode= 'expert' />
2016-09-02 12:34:11 +02:00
<variable name= 'hapy_vm_hook_on' type= 'string' description= "Déclencheur (on)" mode= 'expert' />
<variable name= 'hapy_vm_hook_command' type= 'string' description= "Script à déclencher (command)" mode= 'expert' />
<variable name= 'hapy_vm_hook_arguments' type= 'string' description= "Arguments à passer au script (arguments)" mode= 'expert' />
<variable name= 'hapy_vm_hook_remote' type= 'oui/non' description= "Exécuter sur les nœuds (remote)" mode= 'expert' >
<value > non</value>
</variable>
2016-10-12 16:36:15 +02:00
<variable name= 'hapy_vm_hook_state' type= 'string' description= 'État attendu en déclencheur CUSTOM (state)' mode= 'expert' />
<variable name= 'hapy_vm_hook_lcm_state' type= 'string' description= 'État LCM attendu en déclencheur CUSTOM (lcm_state)' mode= 'expert' />
2016-05-11 10:54:53 +02:00
2016-09-02 12:34:11 +02:00
<variable name= 'hapy_user_hooks' type= 'oui/non' description= "Hooks sur les utilisateurs" mode= 'expert' mandatory= 'True' >
<value > non</value>
</variable>
2016-09-08 12:00:30 +02:00
<variable name= 'hapy_user_hook' type= 'string' description= "Nom du hook d'utilisateur" multi= 'True' mode= 'expert' />
2016-09-02 12:34:11 +02:00
<variable name= 'hapy_user_hook_on' type= 'string' description= "Déclencheur (on)" mode= 'expert' mandatory= 'True' />
<variable name= 'hapy_user_hook_command' type= 'string' description= "Script à déclencher (command)" mode= 'expert' mandatory= 'True' />
<variable name= 'hapy_user_hook_arguments' type= 'string' description= "Arguments à passer au script (arguments)" mode= 'expert' />
2016-05-11 10:54:53 +02:00
</family>
2016-09-02 12:34:11 +02:00
<separators >
2019-02-08 17:43:22 +01:00
<separator name= "one_database_type" > Configuration de la base de données</separator>
2016-10-03 17:31:25 +02:00
<separator name= 'vnet_pilote' > Configuration des réseaux de l'orchestrateur</separator>
<separator name= 'one_ds_system_prefix' > Configuration de l'orchestrateur</separator>
2016-10-12 16:36:15 +02:00
<separator name= 'activer_multinode' > Configuration des nœuds de virtualisation</separator>
2016-09-02 12:34:11 +02:00
</separators>
2016-05-11 10:54:53 +02:00
</variables>
<constraints >
<check name= "valid_enum" target= "vnet_pilote" >
<param > ['openvswitch']</param>
</check>
<auto name= 'calc_multi_condition' target= 'activer_openvswitch' >
<param > openvswitch</param>
<param type= "eole" name= "condition_1" > vnet_pilote</param>
</auto>
2019-02-08 17:43:22 +01:00
<check name= "valid_enum" target= "one_database_type" >
2019-02-06 14:14:03 +01:00
<param > ['sqlite','mysql']</param>
</check>
2016-05-11 10:54:53 +02:00
<check name= 'valid_enum' target= 'one_video_driver' >
<param > ['qxl','vga','std','cirrus']</param>
<param name= 'checkval' > False</param>
</check>
<condition name= 'disabled_if_in' source= 'activer_onesinglenode' >
<param > non</param>
<target type= 'filelist' > onesinglenode</target>
2016-10-12 16:36:15 +02:00
<target type= 'family' > Modèle</target>
2016-05-11 10:54:53 +02:00
<target type= 'variable' > one_ds_system_prefix</target>
<target type= 'variable' > one_ds_iso_name</target>
<target type= 'variable' > one_ds_image_name</target>
<target type= 'variable' > vnets</target>
<target type= 'variable' > vnet_network_addr</target>
<target type= 'variable' > vnet_network_mask</target>
<target type= 'variable' > vnet_network_dns</target>
<target type= 'variable' > vnet_network_gw</target>
<target type= 'variable' > vnet_range_start</target>
<target type= 'variable' > vnet_range_size</target>
<target type= 'variable' > vnet_vlan_tag</target>
<target type= 'variable' > vnet_vlan_trunk</target>
<target type= 'variable' > activer_multinode</target>
<target type= 'variable' > l2_vnets</target>
<target type= 'variable' > l2_vnet_first_mac</target>
<target type= 'variable' > l2_vnet_size</target>
<target type= 'variable' > l2_vnet_vlan_tag</target>
<target type= 'variable' > l2_vnet_vlan_trunk</target>
<target type= 'variable' > arp_cache_poisoning</target>
</condition>
2019-02-08 17:43:22 +01:00
<condition name= "disabled_if_in" source= "one_database_type" >
2019-02-06 14:14:03 +01:00
<param > sqlite</param>
2019-02-08 17:43:22 +01:00
<target type= "variable" > one_database_host</target>
<target type= "variable" > one_database_port</target>
<target type= "variable" > one_database_name</target>
<target type= "variable" > one_database_user</target>
<target type= "variable" > one_database_pass</target>
2019-02-06 14:14:03 +01:00
</condition>
2016-05-11 10:54:53 +02:00
<condition name= 'disabled_if_in' source= 'activer_multinode' >
<param > non</param>
<target type= 'variable' > one_nodes</target>
<target type= 'variable' > node_ip</target>
</condition>
<group master= 'vnets' >
2016-09-29 17:42:03 +02:00
<slave > vnet_range_start</slave>
<slave > vnet_range_size</slave>
2016-05-11 10:54:53 +02:00
<slave > vnet_network_addr</slave>
<slave > vnet_network_mask</slave>
<slave > vnet_network_gw</slave>
2016-09-29 17:42:03 +02:00
<slave > vnet_network_dns</slave>
2016-05-11 10:54:53 +02:00
<slave > vnet_vlan_tag</slave>
<slave > vnet_vlan_trunk</slave>
</group>
<group master= 'l2_vnets' >
<slave > l2_vnet_first_mac</slave>
<slave > l2_vnet_size</slave>
<slave > l2_vnet_vlan_tag</slave>
<slave > l2_vnet_vlan_trunk</slave>
</group>
<group master= 'one_nodes' >
<slave > node_ip</slave>
</group>
<check name= 'valid_enum' target= 'vnets' >
<param > ['internet','admin','pedago','dmzpub','dmzpriv','wifi']</param>
<param name= 'checkval' > False</param>
</check>
<check name= 'valid_enum' target= 'l2_vnets' >
<param > ['internet','admin','pedago','dmzpub','dmzpriv','wifi']</param>
<param name= 'checkval' > False</param>
</check>
<condition name= 'disabled_if_in' source= 'activer_openvswitch' >
<param > non</param>
<target type= 'variable' > vnets</target>
<target type= 'variable' > vnet_network_addr</target>
<target type= 'variable' > vnet_network_dns</target>
<target type= 'variable' > vnet_network_mask</target>
<target type= 'variable' > vnet_network_gw</target>
<target type= 'variable' > vnet_range_start</target>
<target type= 'variable' > vnet_range_size</target>
<target type= 'variable' > vnet_vlan_tag</target>
<target type= 'variable' > vnet_vlan_trunk</target>
<target type= 'variable' > l2_vnet_first_mac</target>
<target type= 'variable' > l2_vnet_size</target>
<target type= 'variable' > l2_vnet_vlan_tag</target>
<target type= 'variable' > l2_vnet_vlan_trunk</target>
<target type= 'variable' > arp_cache_poisoning</target>
</condition>
<condition name= 'disabled_if_in' source= 'activer_hooks' >
<param > non</param>
<target type= 'family' > Hooks</target>
</condition>
<check name= "valid_enum" target= "hapy_vm_hook_on" >
2016-09-02 12:34:11 +02:00
<param > ['CREATE','RUNNING','SHUTDOWN','STOP','DONE','UNKNOWN','FAILED','CUSTOM']</param>
2016-05-11 10:54:53 +02:00
</check>
<condition name= 'disabled_if_in' source= 'hapy_vm_hooks' >
<param > non</param>
<target type= 'variable' > hapy_vm_hook</target>
</condition>
<group master= 'hapy_vm_hook' >
2016-09-02 12:34:11 +02:00
<slave > hapy_vm_hook_on</slave>
<slave > hapy_vm_hook_command</slave>
<slave > hapy_vm_hook_arguments</slave>
<slave > hapy_vm_hook_remote</slave>
<slave > hapy_vm_hook_state</slave>
<slave > hapy_vm_hook_lcm_state</slave>
2016-05-11 10:54:53 +02:00
</group>
<check name= "valid_enum" target= "hapy_user_hook_on" >
2016-09-02 12:34:11 +02:00
<param > ['CREATE','REMOVE']</param>
2016-05-11 10:54:53 +02:00
</check>
<condition name= 'disabled_if_in' source= 'hapy_user_hooks' >
<param > non</param>
<target type= 'variable' > hapy_user_hook</target>
</condition>
<group master= 'hapy_user_hook' >
2016-09-02 12:34:11 +02:00
<slave > hapy_user_hook_on</slave>
<slave > hapy_user_hook_command</slave>
<slave > hapy_user_hook_arguments</slave>
2016-05-11 10:54:53 +02:00
</group>
2016-09-02 12:34:11 +02:00
<condition name= 'disabled_if_in' source= 'hapy_init_master' >
2016-05-11 10:54:53 +02:00
<param > non</param>
<target type= 'variable' > hapy_init_master_iso_version</target>
2016-09-29 17:42:03 +02:00
<target type= 'variable' > hapy_init_master_disk_size</target>
2016-05-11 10:54:53 +02:00
</condition>
2016-09-29 17:42:03 +02:00
<fill name= 'calc_val' target= 'hapy_init_master_iso_version' >
<param type= 'eole' name= 'valeur' > eole_release</param>
</fill>
<auto name= 'calc_network' target= 'vnet_network_addr' >
<param type= 'eole' name= 'ip' > vnet_range_start</param>
<param type= 'eole' name= 'netmask' > vnet_network_mask</param>
</auto>
<check name= "valid_in_network" target= "vnet_network_gw" level= "warning" >
<param type= 'eole' > vnet_network_addr</param>
<param type= 'eole' > vnet_network_mask</param>
</check>
<check name= "valid_differ" target= "vnet_network_gw" level= "warning" >
<param type= 'eole' > vnet_range_start</param>
</check>
<check name= "valid_differ" target= "vnet_network_dns" level= "warning" >
<param type= 'eole' > vnet_range_start</param>
</check>
2016-05-11 10:54:53 +02:00
</constraints>
<help >
2016-10-12 16:36:15 +02:00
<variable name= 'arp_cache_poisoning' > Active la protection contre les attaques par empoisonnement ARP. Non compatible avec les réseaux à plage d'adresse ethernet</variable>
2016-09-08 12:00:30 +02:00
<family name= 'Hooks' > Gestion des hooks personnalisés</family>
2016-10-12 16:36:15 +02:00
<variable name= 'hapy_vm_hook' > Nom du hook de machine virtuelle</variable>
<variable name= 'hapy_vm_hook_on' > Déclencheur du hook</variable>
<variable name= 'hapy_vm_hook_command' > Script lancé par le hook</variable>
<variable name= 'hapy_vm_hook_arguments' > Arguments passés au script lancé par le hook de machine virtuelle</variable>
<variable name= 'hapy_vm_hook_remote' > Exécuter le script sur le nœud plutôt que sur l'orchestrateur</variable>
<variable name= 'hapy_vm_hook_state' > État attendu par le hook lorsque le déclencheur est "CUSTOM"</variable>
<variable name= 'hapy_vm_hook_lcm_state' > État LCM attendu par le hook lorsque le déclencheur est "CUSTOM"</variable>
<variable name= 'hapy_user_hook' > Nom du hook d'utilisateur</variable>
<variable name= 'hapy_user_hook_on' > Déclencheur du hook</variable>
<variable name= 'hapy_user_hook_command' > Script lancé par le hook</variable>
<variable name= 'hapy_user_hook_arguments' > Arguments passés au script lancé par le hook</variable>
<family name= 'Modèle' > Configuration d'un modèle de machine virtuelle par défaut</family>
<variable name= 'hapy_init_master' > Initialiser OpenNebula avec quelques fonctions de base : ISO EOLE, Disque dur vierge et template d'installation d'Eolebase. ATTENTION, provoque le téléchargement de l'ISO EOLE</variable>
2016-05-11 10:54:53 +02:00
<variable name= 'hapy_init_master_iso_version' > Version de l'ISO EOLE à télécharger lors de l'initialisation</variable>
<variable name= 'vnets' > Réseau de type IPv4 (niveau 3 du modèle OSI)</variable>
2016-10-12 16:36:15 +02:00
<variable name= 'l2_vnets' > Réseau de type ethernet (niveau 2 du modèle OSI)</variable>
2016-05-11 10:54:53 +02:00
</help>
</creole>