rougail/tests/dictionaries/70services_ip_iplist2/00-base.xml

27 lines
707 B
XML
Raw Normal View History

2021-02-17 10:04:57 +01:00
<?xml version="1.0" encoding="utf-8"?>
2021-02-18 18:57:50 +01:00
<rougail version="0.9">
2021-02-17 10:04:57 +01:00
<services>
<service name='nut'>
2021-02-19 10:50:28 +01:00
<ip iplist="example">nut_monitor_host</ip>
2021-02-17 10:04:57 +01:00
</service>
</services>
<variables>
<variable name="condition">
<value>yes</value>
</variable>
2021-02-20 10:41:53 +01:00
<variable name="nut_monitor_host" type="network_cidr" mandatory='True'>
<value>192.168.0.0/24</value>
</variable>
2021-02-17 10:04:57 +01:00
</variables>
<constraints>
<condition name="disabled_if_in" source="condition">
<param>yes</param>
<target type="iplist">example</target>
</condition>
</constraints>
</rougail>
<!-- vim: ts=4 sw=4 expandtab
-->