rougail/tests/dictionaries_old/70services_ip_iplist/00-base.xml

24 lines
636 B
XML
Raw Permalink Normal View History

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9">
<services>
<service name="nut">
<ip iplist="example">nut_monitor_host</ip>
</service>
</services>
<variables>
<variable name="condition">
<value>no</value>
</variable>
<variable name="nut_monitor_host" type="network_cidr" mandatory="True">
<value>192.168.0.0/24</value>
</variable>
</variables>
<constraints>
<condition name="disabled_if_in" source="condition">
<param>yes</param>
<target type="iplist">example</target>
<target>nut_monitor_host</target>
</condition>
</constraints>
</rougail>