condition and check

This commit is contained in:
2019-11-27 14:03:34 +01:00
parent 590283ef25
commit 4c84a8b89b
169 changed files with 316 additions and 434 deletions

View File

@ -1,10 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<creole>
<constraints>
<check name="valid_ipnetmask" target="creole.general.adresse_netmask_eth0" transitive="True" warnings_only="True">
<param type="eole">creole.general.adresse_ip_eth0</param>
</check>
</constraints>
<family doc="" name="creole">
<family doc="general" name="general">
<property>basic</property>
@ -20,6 +15,9 @@
<property>basic</property>
</variable>
<variable doc="Masque de sous réseau de la carte" multi="False" name="adresse_netmask_eth0" type="netmask">
<check level="error" name="valid_ip_netmask" transitive="True" type="calculation" warnings_only="True">
<param type="eole">creole.general.adresse_ip_eth0</param>
</check>
<property>mandatory</property>
<property>basic</property>
</variable>