33 lines
1.1 KiB
XML
33 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<rougail version="0.10">
|
|
<services>
|
|
<service name="dns-local" manage="False">
|
|
<file>/tests/dns-local.yml</file>
|
|
</service>
|
|
</services>
|
|
<variables>
|
|
<family name="network">
|
|
<variable name="dns_is_only_local" type="boolean" description="DNS resolve only local address" hidden="True">
|
|
<value>True</value>
|
|
</variable>
|
|
<variable name="dns_client_address" type="domainname" description="Nom de domaine du serveur DNS"/>
|
|
<variable name="ip_dns" type="ip" description="Adresse IP du serveur DNS" hidden="True"/>
|
|
</family>
|
|
</variables>
|
|
<constraints>
|
|
<fill name="get_provider_name">
|
|
<param type="variable">zone_name_eth0</param>
|
|
<param>LocalDNS</param>
|
|
<target>dns_client_address</target>
|
|
</fill>
|
|
<fill name="set_linked">
|
|
<param name="linked_server" type="variable">dns_client_address</param>
|
|
<param name="linked_provider">dns</param>
|
|
<param name="linked_value" type="variable">ip_eth0</param>
|
|
<param name="linked_returns">ip</param>
|
|
<target>ip_dns</target>
|
|
</fill>
|
|
</constraints>
|
|
</rougail>
|
|
|
|
|