2022-03-08 19:42:28 +01:00
<?xml version="1.0" encoding="utf-8"?>
<rougail version= "0.10" >
2022-03-11 18:41:49 +01:00
<services >
<service name= "base" manage= "False" >
<file engine= "none" > /etc/locale.conf</file>
</service>
</services>
2022-03-08 19:42:28 +01:00
<variables >
2022-12-25 17:08:52 +01:00
<variable name= "hide_secret" type= "boolean" description= "Les secrets sont obscurcis" mode= "expert" help= "Obscurcir les secrets peut permettre de générer des configurations diffusable sans problème de confidentialité ou pour comparer deux configurations générés à des moments différents" hidden= "True" >
2022-06-24 19:00:16 +02:00
<value > False</value>
</variable>
2022-10-01 19:29:50 +02:00
<variable name= "module_name" type= "string" hidden= "True" provider= "global:module_name" mandatory= "True" />
2022-06-24 19:00:16 +02:00
<family name= "network" description= "Réseau" >
2022-12-25 17:08:52 +01:00
<variable name= "server_name" description= "Nom de domaine du serveur" type= "domainname" hidden= "True" provider= "global:server_name" mandatory= "True" />
2023-06-23 08:12:05 +02:00
<variable name= "last_server_name" type= "domainname" hidden= "True" />
2022-08-18 10:19:43 +02:00
<variable name= "zones_list" type= "string" multi= "True" description= "Liste de toutes les zones" mandatory= "True" hidden= "True" provider= "global:zones_name" />
<variable name= "interfaces_list" type= "number" multi= "True" description= "Liste de tous les numéros d'interfaces" hidden= "True" provider= "global:zones_list" />
2022-06-24 19:00:16 +02:00
<family name= "interface_" description= "Interface " dynamic= "interfaces_list" >
2022-08-18 10:19:43 +02:00
<variable name= "zone_name_eth" type= "string" description= "Nom de la zone de l'interface " hidden= "True" mandatory= "True" />
<variable name= "ip_eth" type= "ip" description= "Adresse IP pour l'interface " hidden= "True" mandatory= "True" />
2022-06-24 19:00:16 +02:00
<variable name= "network_eth" type= "network_cidr" description= "Réseau de l'interface " hidden= "True" />
2022-12-25 17:08:52 +01:00
<variable name= "gateway_eth" type= "ip" description= "La route de l'interface " hidden= "True" />
2022-08-18 10:19:43 +02:00
<variable name= "domain_name_eth" type= "domainname" description= "Nom de domaine pour l'interface " mandatory= "True" hidden= "True" provider= "global:server_names" />
2022-06-24 19:00:16 +02:00
</family>
2022-03-08 19:42:28 +01:00
</family>
</variables>
<constraints >
<fill name= "get_ip" >
2022-12-25 17:08:52 +01:00
<param type= "information" > zones</param>
2022-08-18 10:19:43 +02:00
<param name= "server_name" type= "variable" > domain_name_eth</param>
2022-03-08 19:42:28 +01:00
<target > ip_eth</target>
</fill>
<fill name= "get_zone_name" >
2022-08-18 10:19:43 +02:00
<param type= "variable" > zones_list</param>
2022-03-08 19:42:28 +01:00
<param name= "index" type= "suffix" />
<target > zone_name_eth</target>
</fill>
2022-12-25 17:08:52 +01:00
<fill name= "get_zones_info" >
<param type= "information" > zones</param>
2022-03-08 19:42:28 +01:00
<param > network</param>
2022-12-25 17:08:52 +01:00
<param type= "variable" name= "zone_name" > zone_name_eth</param>
2022-03-08 19:42:28 +01:00
<target > network_eth</target>
</fill>
2022-12-25 17:08:52 +01:00
<fill name= "get_zones_info" >
<param type= "information" > zones</param>
<param > host_ip</param>
<param type= "variable" name= "zone_name" > zone_name_eth</param>
2022-03-08 19:42:28 +01:00
<param name= "index" type= "suffix" />
<target > gateway_eth</target>
</fill>
2023-06-23 08:12:05 +02:00
<fill name= "get_last_server_name" >
<param type= "variable" > domain_name_eth</param>
<target > last_server_name</target>
</fill>
2022-03-08 19:42:28 +01:00
</constraints>
</rougail>