2014-11-13 10:06:16 +01: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' />
<file filelist= 'onesinglenode' name= '/etc/one/oned.conf' rm= 'True' mkdir= 'True' />
2015-07-09 07:59:19 +02:00
<file filelist= 'onesinglenode' name= '/var/lib/one/remotes/vnm/OpenNebulaNetwork.conf' rm= 'True' mkdir= 'True' />
2014-11-13 10:06:16 +01:00
<service type= 'service' > opennebula</service>
<service_access service= 'one-ssh' >
<tcpwrapper > sshd</tcpwrapper>
</service_access>
<service_restriction service= 'one-ssh' >
<ip interface= 'eth0' ip_type= 'SymLinkOption' > adresse_ip_eth0</ip>
</service_restriction>
</files>
<variables >
<family name= 'general' >
<variable name= 'nom_machine' redefine= 'True' auto_freeze= 'True' />
</family>
<family name= 'Virtualisation' >
<variable name= 'activer_onesinglenode' type= 'oui/non' description= "Activer le serveur de virtualisation" mode= 'expert' >
<value > oui</value>
</variable>
<variable name= 'one_cluster_name' type= 'string' description= "Nom de la grappe OpenNebula" mode= 'expert' auto_freeze= 'True' mandatory= "True" >
<value > </value>
</variable>
<variable name= 'vnets' type= 'string' description= 'Réseaux virtuels Niveau 3' multi= 'True' />
<variable name= 'vnet_network_addr' type= 'ip' description= 'Adresse du réseau' />
<variable name= 'vnet_network_mask' type= 'netmask' description= 'Masque du réseau' />
<variable name= 'vnet_network_dns' type= 'ip' description= 'Adresse du serveur DNS' />
<variable name= 'vnet_network_gw' type= 'ip' description= 'Passerelle du réseau' />
<variable name= 'vnet_range_start' type= 'ip' description= 'Première IP de la plage (si nécessaire)' />
2015-08-14 10:40:42 +02:00
<variable name= 'vnet_range_size' type= 'number' description= 'Taille du sous réseaux ' />
2014-11-13 10:06:16 +01: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' />
<variable name= 'l2_vnets' type= 'string' description= 'Réseaux virtuels Niveau 2' multi= 'True' />
<variable name= 'l2_vnet_first_mac' type= 'string' description= 'Première adresse MAC' mode= 'expert' />
<variable name= 'l2_vnet_size' type= 'number' description= "Taille du réseau (en nombre d'adresse MAC)" />
<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' />
<variable name= 'one_ds_system_prefix' description= "Préfix de l'espace de stockage système" mode= 'expert' auto_freeze= 'True' >
<value > system-</value>
</variable>
<variable name= 'one_ds_iso_name' description= "Nom de l'espace de stockage des ISO" mode= 'expert' auto_freeze= 'True' >
<value > iso-images</value>
</variable>
<variable name= 'one_ds_image_name' description= "Nom de l'espace de stockage de images disque" mode= 'expert' auto_freeze= 'True' >
<value > images-disques</value>
</variable>
2014-11-18 10:05:31 +01:00
<variable name= 'one_disk_cache' type= 'oui/non' description= 'Activer le cache pour les images qcow2' mode= 'expert' >
2014-11-13 10:06:16 +01:00
<value > oui</value>
</variable>
2014-11-18 16:43:57 +01:00
<variable name= 'one_video_driver' type= 'string' description= 'Pilote vidéo par défaut' mode= 'expert' >
2014-11-13 10:06:16 +01:00
<value > vga</value>
</variable>
<variable name= 'activer_multinode' description= 'Activer le mode multi-noeud' mode= 'expert' type= 'oui/non' >
<value > non</value>
</variable>
2015-07-09 07:59:19 +02:00
<variable name= 'arp_cache_poisoning' type= 'oui/non' description= "Activer la protection contre l'ARP Poisoning" mode= 'expert' >
<value > non</value>
</variable>
2014-11-13 10:06:16 +01:00
<variable name= 'one_nodes' type= 'string' description= 'Noeud voisin du Cluster' multi= 'True' />
<variable name= 'node_ip' type= 'ip' description= 'Adresse IP du noeud' multi= 'True' />
2015-08-12 12:09:03 +02:00
<variable name= 'activer_hooks' type= 'oui/non' description= "Utiliser des hook personnalisés" mode= 'expert' >
2015-08-12 10:39:15 +02:00
<value > non</value>
</variable>
</family>
<family name= 'Hooks' >
2015-09-01 17:00:05 +02:00
<variable name= 'hapy_vm_hooks' type= 'oui/non' description= "Hooks sur les VM" mode= 'expert' mandatory= 'True' >
<value > non</value>
</variable>
2015-08-12 10:39:15 +02:00
<variable name= 'hapy_vm_hook' type= 'string' description= "Nom du hook de VM" multi= 'True' mode= 'expert' />
2015-09-01 17:00:05 +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' >
2015-08-12 10:39:15 +02:00
<value > non</value>
</variable>
2015-09-01 17:00:05 +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' />
2015-08-12 12:09:03 +02:00
2015-09-01 17:00:05 +02:00
<variable name= 'hapy_user_hooks' type= 'oui/non' description= "Hooks sur les utilisateurs" mode= 'expert' mandatory= 'True' >
<value > non</value>
</variable>
2015-08-12 12:09:03 +02:00
<variable name= 'hapy_user_hook' type= 'string' description= "Nom du hook d' utilisateur" multi= 'True' mode= 'expert' />
2015-09-01 17:00:05 +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' />
2014-11-13 10:06:16 +01:00
</family>
</variables>
<constraints >
<fill name= 'concat' target= 'one_cluster_name' >
<param > CL-</param>
<param type= 'eole' > numero_etab</param>
</fill>
<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>
<target type= 'variable' > one_cluster_name</target>
<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>
2015-08-14 10:40:42 +02:00
<target type= 'variable' > vnet_range_size</target>
2014-11-13 10:06:16 +01:00
<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>
2015-07-09 07:59:19 +02:00
<target type= 'variable' > arp_cache_poisoning</target>
2014-11-13 10:06:16 +01:00
</condition>
<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' >
<slave > vnet_network_addr</slave>
<slave > vnet_network_dns</slave>
<slave > vnet_network_mask</slave>
<slave > vnet_network_gw</slave>
<slave > vnet_range_start</slave>
2015-08-14 10:40:42 +02:00
<slave > vnet_range_size</slave>
2014-11-13 10:06:16 +01: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' > 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>
2015-08-14 10:40:42 +02:00
<target type= 'variable' > vnet_range_size</target>
2014-11-13 10:06:16 +01:00
<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>
2015-07-09 07:59:19 +02:00
<target type= 'variable' > arp_cache_poisoning</target>
2014-11-13 10:06:16 +01:00
</condition>
2015-08-12 10:39:15 +02:00
2015-08-12 12:09:03 +02:00
<condition name= 'disabled_if_in' source= 'activer_hooks' >
2015-08-12 10:39:15 +02:00
<param > non</param>
<target type= 'family' > Hooks</target>
</condition>
<check name= "valid_enum" target= "hapy_vm_hook_on" >
<param > ['CREATE','RUNNING','SHUTDOWN','STOP','DONE','UNKNOWN','FAILED','CUSTOM']</param>
</check>
2015-09-01 17:00:05 +02:00
<condition name= 'disabled_if_in' source= 'hapy_vm_hooks' >
<param > non</param>
<target type= 'variable' > hapy_vm_hook</target>
</condition>
2015-08-12 10:39:15 +02:00
<group master= 'hapy_vm_hook' >
<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>
</group>
2015-08-12 12:09:03 +02:00
<check name= "valid_enum" target= "hapy_user_hook_on" >
<param > ['CREATE','REMOVE']</param>
</check>
2015-09-01 17:00:05 +02:00
<condition name= 'disabled_if_in' source= 'hapy_user_hooks' >
<param > non</param>
<target type= 'variable' > hapy_user_hook</target>
</condition>
2015-08-12 12:09:03 +02:00
<group master= 'hapy_user_hook' >
<slave > hapy_user_hook_on</slave>
<slave > hapy_user_hook_command</slave>
<slave > hapy_user_hook_arguments</slave>
</group>
2014-11-13 10:06:16 +01:00
</constraints>
2015-08-12 10:39:15 +02:00
2014-11-13 10:06:16 +01:00
<help >
<variable name= 'activer_onesinglenode' > Interface d'administration du Cluster OpenNebula.</variable>
2015-07-09 07:59:19 +02:00
<variable name= 'arp_cache_poisoning' > Active la protection contre les attaques par empoisonnement ARP. Non compatible avec les réseaux de Niveau 2</variable>
2015-08-12 12:09:03 +02:00
<variable name= 'activer_hooks' > Activer la création de hook personnalisée sur le serveur Hâpy (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
2015-08-12 10:39:15 +02:00
<variable name= 'hapy_vm_hook' > Nom du Hook de machine virtuelle (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
<variable name= 'hapy_vm_hook_on' > Déclancheur du Hook (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
<variable name= 'hapy_vm_hook_command' > Script lancé par le Hook (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
<variable name= 'hapy_vm_hook_arguments' > Arguments passés au script lancé par le Hook de machine virtuelle (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
<variable name= 'hapy_vm_hook_remote' > Exécuter le script sur le noeud plutôt que sur le maitre (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
<variable name= 'hapy_vm_hook_state' > État attendus par le hook lorsque le déclancheur est "CUSTOM" (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
<variable name= 'hapy_vm_hook_lcm_state' > État LCM attendus par le hook lorsque le déclancheur est "CUSTOM" (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
2015-08-12 12:09:03 +02:00
<variable name= 'hapy_user_hook' > Nom du Hook d'utilisateur (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
<variable name= 'hapy_user_hook_on' > Déclancheur du Hook (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
<variable name= 'hapy_user_hook_command' > Script lancé par le Hook (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
<variable name= 'hapy_user_hook_arguments' > Arguments passés au script lancé par le Hook d'utilisateur (cf: http://docs.opennebula.org/4.8/integration/infrastructure_integration/hooks.html)</variable>
2014-11-13 10:06:16 +01:00
</help>
</creole>