Being work on ONE HA
This commit is contained in:
parent
850585af21
commit
d3d620376f
|
@ -16,6 +16,12 @@
|
|||
<service_restriction service='one-ssh'>
|
||||
<ip interface='eth0' ip_type='SymLinkOption'>adresse_ip_eth0</ip>
|
||||
</service_restriction>
|
||||
|
||||
<service_access service='sunstone'>
|
||||
<port port_type="SymLinkOption">port_sunstone</port>
|
||||
<port port_type="SymLinkOption">vnc_proxy_port_sunstone</port>
|
||||
<port port_type="SymLinkOption">xmlrpc_port_sunstone</port>
|
||||
</service_access>
|
||||
</files>
|
||||
<variables>
|
||||
<family name='general'>
|
||||
|
@ -30,6 +36,32 @@
|
|||
<variable name='one_cluster_name' type='string' description="Nom de la grappe OpenNebula par défaut" mode='expert'>
|
||||
<value>default</value>
|
||||
</variable>
|
||||
|
||||
<!-- XMLRPC -->
|
||||
<variable name='activer_xmlrpc_port_sunstone' type='oui/non' description="Activer l'accès distant à l'API XML-RPC" mode='expert'>
|
||||
<value>non</value>
|
||||
</variable>
|
||||
<variable name='xmlrpc_port_sunstone' type='number' description="Numéro de port d'écoute de l'API XML-RPC" mode='expert' mandatory="True">
|
||||
<value>2633</value>
|
||||
</variable>
|
||||
|
||||
<!-- Base de donnée -->
|
||||
<variable name="oneDataBaseType" description="Moteur de base de données a utiliser" type="string" mode="expert">
|
||||
<value>sqlite</value>
|
||||
</variable>
|
||||
<variable name="oneDataBaseHost" description="Addresse du serveur de base de données (mySQL uniquement)" mandatory="True" mode="expert"/>
|
||||
<variable name="oneDataBasePort" description="Port d'écoute du serveur de base de données" mode="expert" type="number" mandatory="True">
|
||||
<value>3306</value>
|
||||
</variable>
|
||||
<variable name="oneDataBaseName" description="Nom de la base de données" type="string" mode="expert" mandatory="True">
|
||||
<value>onedb</value>
|
||||
</variable>
|
||||
<variable name="oneDataBaseUser" description="Utilisateur pour se connecter à la base de données" mode="expert" type="string" mandatory="True">
|
||||
<value>one</value>
|
||||
</variable>
|
||||
<variable name="oneDataBasePass" description="Mot de passe pour se connecter à la base de données" mode="expert" type="string" mandatory="True"/>
|
||||
|
||||
<!-- VNETS -->
|
||||
<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'/>
|
||||
<variable name='vnet_range_start' type='ip' description='Première IP de la plage' mandatory="True"/>
|
||||
|
@ -106,6 +138,8 @@
|
|||
<variable name='hapy_user_hook_arguments' type='string' description="Arguments à passer au script (arguments)" mode='expert'/>
|
||||
</family>
|
||||
<separators>
|
||||
<separator name='activer_xmlrpc_port_sunstone'>Configuration du service XML-RPC</separator>
|
||||
<separator name="oneDataBaseType">Configuration de la base de données</separator>
|
||||
<separator name='vnet_pilote'>Configuration des réseaux de l'orchestrateur</separator>
|
||||
<separator name='one_ds_system_prefix'>Configuration de l'orchestrateur</separator>
|
||||
<separator name='activer_multinode'>Configuration des nœuds de virtualisation</separator>
|
||||
|
@ -121,11 +155,20 @@
|
|||
<param type="eole" name="condition_1">vnet_pilote</param>
|
||||
</auto>
|
||||
|
||||
<check name="valid_enum" target="oneDataBaseType">
|
||||
<param>['sqlite','mysql']</param>
|
||||
</check>
|
||||
|
||||
<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_xmlrpc_port_sunstone'>
|
||||
<param>non</param>
|
||||
<target type='variable'>xmlrpc_port_sunstone</target>
|
||||
</condition>
|
||||
|
||||
<condition name='disabled_if_in' source='activer_onesinglenode'>
|
||||
<param>non</param>
|
||||
<target type='filelist'>onesinglenode</target>
|
||||
|
@ -151,6 +194,15 @@
|
|||
<target type='variable'>arp_cache_poisoning</target>
|
||||
</condition>
|
||||
|
||||
<condition name="disabled_if_in" source="oneDataBaseType">
|
||||
<param>sqlite</param>
|
||||
<target type="variable">oneDataBaseHost</target>
|
||||
<target type="variable">oneDataBasePort</target>
|
||||
<target type="variable">oneDataBaseName</target>
|
||||
<target type="variable">oneDataBaseUser</target>
|
||||
<target type="variable">oneDataBasePass</target>
|
||||
</condition>
|
||||
|
||||
<condition name='disabled_if_in' source='activer_multinode'>
|
||||
<param>non</param>
|
||||
<target type='variable'>one_nodes</target>
|
||||
|
|
Loading…
Reference in New Issue