eole-one-master/dicos/29_one-master.xml

271 lines
16 KiB
XML
Raw Normal View History

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'/>
<file filelist='onesinglenode' name='/etc/one/oned.conf' rm='True' mkdir='True'/>
<file filelist='onesinglenode' name='/var/lib/one/remotes/vnm/OpenNebulaNetwork.conf' rm='True' mkdir='True'/>
<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='vnet_pilote' type='string' description='Pilote réseau' hidden='True' />
<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)'/>
<variable name='vnet_range_size' type='number' description='Taille du sous réseaux '/>
<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>
<variable name='one_disk_cache' type='oui/non' description='Activer le cache pour les images qcow2' mode='expert'>
<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='activer_multinode' description='Activer le mode multi-noeud' mode='expert' type='oui/non'>
<value>non</value>
</variable>
<variable name='arp_cache_poisoning' type='oui/non' description="Activer la protection contre l'ARP Poisoning" mode='expert'>
<value>non</value>
</variable>
<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'/>
<variable name='activer_hooks' type='oui/non' description="Utiliser des hook personnalisés" mode='expert'>
<value>non</value>
</variable>
<variable name='hapy_init_master' type='oui/non' description="Pré-paramétrer Hapy">
<value>non</value>
</variable>
<variable name='hapy_init_master_disk_size' type='number' description="Taille en Giga-octets du disque dur vierge">
<value>40</value>
</variable>
<variable name='hapy_init_master_iso_version' type='string' description="Version de l'image ISO EOLE à télécharger">
<value>2.5.2</value>
</variable>
</family>
<separators>
<separator name='activer_onesinglenode'>Configuration du pilote (Master)</separator>
</separators>
<family name='Hooks'>
<variable name='hapy_vm_hooks' type='oui/non' description="Hooks sur les VM" mode='expert' mandatory='True'>
<value>non</value>
</variable>
<variable name='hapy_vm_hook' type='string' description="Nom du hook de VM" multi='True' mode='expert'/>
<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>
<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'/>
<variable name='hapy_user_hooks' type='oui/non' description="Hooks sur les utilisateurs" mode='expert' mandatory='True'>
<value>non</value>
</variable>
<variable name='hapy_user_hook' type='string' description="Nom du hook d' utilisateur" multi='True' mode='expert'/>
<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'/>
</family>
</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>
<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>
<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>
<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>
<slave>vnet_range_size</slave>
<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">
<param>['CREATE','RUNNING','SHUTDOWN','STOP','DONE','UNKNOWN','FAILED','CUSTOM']</param>
</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'>
<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>
<check name="valid_enum" target="hapy_user_hook_on">
<param>['CREATE','REMOVE']</param>
</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'>
<slave>hapy_user_hook_on</slave>
<slave>hapy_user_hook_command</slave>
<slave>hapy_user_hook_arguments</slave>
</group>
<condition name='hidden_if_in' source='hapy_init_master'>
<param>non</param>
<target type='variable'>hapy_init_master_disk_size</target>
<target type='variable'>hapy_init_master_iso_version</target>
</condition>
</constraints>
<help>
<variable name='activer_onesinglenode'>Interface d'administration du Cluster OpenNebula.</variable>
<variable name='arp_cache_poisoning'>Active la protection contre les attaques par empoisonnement ARP. Non compatible avec les réseaux de Niveau 2</variable>
<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>
<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>
<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>
<variable name='hapy_init_master'>Initialiser Hâpy avec quelques fonctions de bases : ISO EOLE, Disque dur vierge et template d'installation d'EoleBase. ATTENTION, provoque le téléchargement de l'ISO EOLE</variable>
<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>
<variable name='l2_vnets'>Réseau de type ETHER (niveau 2 du modèle OSI)</variable>
</help>
</creole>