reident tests

This commit is contained in:
Emmanuel Garette 2021-04-13 11:07:10 +02:00
parent cda68e88a2
commit 65d40f494f
421 changed files with 6203 additions and 7129 deletions

View File

@ -38,7 +38,7 @@
<!-- =============== --> <!-- =============== -->
<!ELEMENT rougail (services|variables|constraints)*> <!ELEMENT rougail (services|variables|constraints)*>
<!ATTLIST rougail version (0.9) #REQUIRED> <!ATTLIST rougail version (0.10) #REQUIRED>
<!-- ============== --> <!-- ============== -->
<!-- files element --> <!-- files element -->
@ -83,6 +83,7 @@
<!ATTLIST family mode CDATA #IMPLIED> <!ATTLIST family mode CDATA #IMPLIED>
<!ATTLIST family hidden (True|False) "False"> <!ATTLIST family hidden (True|False) "False">
<!ATTLIST family dynamic CDATA #IMPLIED> <!ATTLIST family dynamic CDATA #IMPLIED>
<!ATTLIST family leadership (True|False) "False">
<!ATTLIST family provider CDATA #IMPLIED> <!ATTLIST family provider CDATA #IMPLIED>
<!ELEMENT variable (value*)> <!ELEMENT variable (value*)>
@ -107,7 +108,7 @@
<!ELEMENT value (#PCDATA)> <!ELEMENT value (#PCDATA)>
<!ELEMENT constraints ((fill*|check*|condition*|group*)*)> <!ELEMENT constraints ((fill*|check*|condition*)*)>
<!ELEMENT fill ((target|param)+)> <!ELEMENT fill ((target|param)+)>
<!ATTLIST fill name CDATA #REQUIRED> <!ATTLIST fill name CDATA #REQUIRED>
@ -132,9 +133,4 @@
<!ATTLIST target type (variable|family|servicelist|filelist|iplist) "variable"> <!ATTLIST target type (variable|family|servicelist|filelist|iplist) "variable">
<!ATTLIST target optional (True|False) "False"> <!ATTLIST target optional (True|False) "False">
<!ELEMENT group (follower+)>
<!ATTLIST group leader CDATA #REQUIRED>
<!ATTLIST group name CDATA #IMPLIED>
<!ATTLIST group description CDATA #IMPLIED>
<!ELEMENT follower (#PCDATA)> <!ELEMENT follower (#PCDATA)>

View File

@ -84,6 +84,7 @@ class RougailUpgrade:
root = getattr(self, function_version)(root, upgrade_help, namespace) root = getattr(self, function_version)(root, upgrade_help, namespace)
if function_version == search_function_name: if function_version == search_function_name:
function_found = True function_found = True
root.attrib['version'] = version
with open(xmldst, 'wb') as xmlfh: with open(xmldst, 'wb') as xmlfh:
xmlfh.write(tostring(root, pretty_print=True, encoding="UTF-8", xml_declaration=True)) xmlfh.write(tostring(root, pretty_print=True, encoding="UTF-8", xml_declaration=True))
# if # if
@ -101,7 +102,6 @@ class RougailUpgrade:
) -> 'Element': ) -> 'Element':
# rename root # rename root
root.tag = 'rougail' root.tag = 'rougail'
root.attrib['version'] = '0.9'
variables_auto_valid_enum = {} variables_auto_valid_enum = {}
variables_help = {} variables_help = {}
families_help = {} families_help = {}

View File

@ -9,5 +9,3 @@
</variable> </variable>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -9,5 +9,3 @@
</variable> </variable>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -9,5 +9,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -9,5 +9,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -9,5 +9,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -11,5 +11,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,13 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9"> <rougail version="0.9">
<variables> <variables>
<family name="general" description="général"> <family name="general" description="général">
<variable name='mode_conteneur_actif1' type='string' description="No change" hidden="True"> <variable name="mode_conteneur_actif1" type="string" description="No change" hidden="True">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -15,5 +15,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -10,7 +10,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param type="variable">mode_conteneur_actif1</param> <param type="variable">mode_conteneur_actif1</param>
@ -18,5 +17,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -10,12 +10,9 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<target>mode_conteneur_actif</target> <target>mode_conteneur_actif</target>
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,13 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9"> <rougail version="0.9">
<services> <services>
<service name="test"> <service name="test">
<file>/etc/file</file> <file>/etc/file</file>
<file engine="jinja2">/etc/file2</file> <file engine="jinja2">/etc/file2</file>
</service> </service>
</services> </services>
<variables> <variables>
<family name="general"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Description"> <variable name="mode_conteneur_actif" type="string" description="Description">
@ -16,5 +14,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,13 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9"> <rougail version="0.9">
<services> <services>
<service name="test"> <service name="test">
<file>/etc/file</file> <file>/etc/file</file>
<file engine="jinja2">/etc/file2</file> <file engine="jinja2">/etc/file2</file>
</service> </service>
</services> </services>
<variables> <variables>
<family name="general"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Description"> <variable name="mode_conteneur_actif" type="string" description="Description">
@ -16,5 +14,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,6 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9"> <rougail version="0.9">
<services> <services>
<service name="test"> <service name="test">
<file>/etc/file</file> <file>/etc/file</file>
@ -8,7 +7,6 @@
<file included="content">/etc/dir/incfile</file> <file included="content">/etc/dir/incfile</file>
</service> </service>
</services> </services>
<variables> <variables>
<family name="general"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Description"> <variable name="mode_conteneur_actif" type="string" description="Description">
@ -17,5 +15,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,6 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9"> <rougail version="0.9">
<services> <services>
<service name="test"> <service name="test">
<file>/etc/file</file> <file>/etc/file</file>
@ -8,7 +7,6 @@
<file included="name">/etc/dir/incfile</file> <file included="name">/etc/dir/incfile</file>
</service> </service>
</services> </services>
<variables> <variables>
<family name="general"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Description"> <variable name="mode_conteneur_actif" type="string" description="Description">
@ -17,5 +15,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,13 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9"> <rougail version="0.9">
<services> <services>
<service name="test"> <service name="test">
<file>/etc/file</file> <file>/etc/file</file>
<file engine="jinja2">/etc/file2</file> <file engine="jinja2">/etc/file2</file>
</service> </service>
</services> </services>
<variables> <variables>
<family name="general"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Description"> <variable name="mode_conteneur_actif" type="string" description="Description">
@ -16,5 +14,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,13 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9"> <rougail version="0.9">
<services> <services>
<service name="test"> <service name="test">
<file>/etc/systemd-makefs@dev-disk-by\x2dpartlabel</file> <file>/etc/systemd-makefs@dev-disk-by\x2dpartlabel</file>
<file engine="jinja2">/etc/systemd-makefs@dev-disk-by\x2dpartlabel2</file> <file engine="jinja2">/etc/systemd-makefs@dev-disk-by\x2dpartlabel2</file>
</service> </service>
</services> </services>
<variables> <variables>
<family name="general"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Description"> <variable name="mode_conteneur_actif" type="string" description="Description">
@ -16,5 +14,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -11,5 +11,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -3,9 +3,7 @@
<variables> <variables>
<family name="general"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Redefine description" help="message with '"/> <variable name="mode_conteneur_actif" type="string" description="Redefine description" help="message with '"/>
<variable name="mode_conteneur_actif1" type="string" description="Redefine description" help='message with "'/> <variable name="mode_conteneur_actif1" type="string" description="Redefine description" help="message with &quot;"/>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -4,5 +4,3 @@
<variable name="my_variable" type="boolean" mandatory="False"/> <variable name="my_variable" type="boolean" mandatory="False"/>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -11,7 +11,6 @@
<value>False</value> <value>False</value>
</variable> </variable>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param type="variable">my_var2</param> <param type="variable">my_var2</param>
@ -19,5 +18,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -11,7 +11,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param type="variable">mode_conteneur_actif1</param> <param type="variable">mode_conteneur_actif1</param>
@ -19,5 +18,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,7 +8,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param type="variable">mode_conteneur_actif1</param> <param type="variable">mode_conteneur_actif1</param>
@ -16,5 +15,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,7 +8,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param type="variable">mode_conteneur_actif1</param> <param type="variable">mode_conteneur_actif1</param>
@ -16,5 +15,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,7 +8,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param type="number">3</param> <param type="number">3</param>
@ -16,5 +15,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -10,7 +10,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param type="variable" optional="True">mode_conteneur_actif4</param> <param type="variable" optional="True">mode_conteneur_actif4</param>
@ -18,5 +17,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -10,7 +10,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param type="variable" optional="True">mode_conteneur_actif4</param> <param type="variable" optional="True">mode_conteneur_actif4</param>
@ -20,5 +19,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,7 +8,6 @@
<variable name="mode_conteneur_actif3" type="string" description="No change"/> <variable name="mode_conteneur_actif3" type="string" description="No change"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param>quote'</param> <param>quote'</param>
@ -28,5 +27,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -7,7 +7,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param type="variable">mode_conteneur_actif1</param> <param type="variable">mode_conteneur_actif1</param>
@ -15,5 +14,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -19,5 +19,3 @@
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -6,5 +6,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -4,5 +4,3 @@
<variable name="my_variable"/> <variable name="my_variable"/>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -4,5 +4,3 @@
<variable name="my_variable" redefine="True" test="test1"/> <variable name="my_variable" redefine="True" test="test1"/>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,5 +8,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -6,5 +6,3 @@
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -20,5 +20,3 @@
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -4,9 +4,8 @@
<variable name="var1"> <variable name="var1">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="var2" multi='True'/> <variable name="var2" multi="True"/>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_value"> <fill name="calc_value">
<param type="variable">var1</param> <param type="variable">var1</param>
@ -15,5 +14,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,14 +1,13 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9"> <rougail version="0.9">
<variables> <variables>
<variable name="var1" multi='True'> <variable name="var1" multi="True">
<value>no</value> <value>no</value>
<value>yes</value> <value>yes</value>
<value>maybe</value> <value>maybe</value>
</variable> </variable>
<variable name="var2" multi='True'/> <variable name="var2" multi="True"/>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_value"> <fill name="calc_value">
<param type="variable">var1</param> <param type="variable">var1</param>
@ -16,5 +15,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -9,7 +9,6 @@
<variable name="autosavevar" type="string" description="autosave variable" hidden="True" auto_save="True"/> <variable name="autosavevar" type="string" description="autosave variable" hidden="True" auto_save="True"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param>oui</param> <param>oui</param>
@ -17,5 +16,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -16,5 +16,3 @@
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -11,5 +11,3 @@
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -8,12 +8,9 @@
<variable name="int" type="number" description="No change"/> <variable name="int" type="number" description="No change"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<check name="valid_lower"> <check name="valid_lower">
<target>int</target> <target>int</target>
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -11,7 +11,6 @@
<variable name="int" type="number" description="No change"/> <variable name="int" type="number" description="No change"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<check name="valid_lower"> <check name="valid_lower">
<param name="mini" type="number">0</param> <param name="mini" type="number">0</param>
@ -20,5 +19,3 @@
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -9,7 +9,6 @@
<variable name="int2" type="number" description="No change"/> <variable name="int2" type="number" description="No change"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<check name="valid_differ"> <check name="valid_differ">
<param type="variable" optional="True">int2</param> <param type="variable" optional="True">int2</param>
@ -21,5 +20,3 @@
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -10,7 +10,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<check name="valid_differ"> <check name="valid_differ">
<param type="variable">mode_conteneur_actif1</param> <param type="variable">mode_conteneur_actif1</param>
@ -18,5 +17,3 @@
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -16,7 +16,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<check name="valid_differ"> <check name="valid_differ">
<param type="variable">mode_conteneur_actif1</param> <param type="variable">mode_conteneur_actif1</param>
@ -24,5 +23,3 @@
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -5,7 +5,6 @@
<variable name="mode_conteneur_actif3" redefine="True"/> <variable name="mode_conteneur_actif3" redefine="True"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<check name="valid_differ"> <check name="valid_differ">
<param type="variable">mode_conteneur_actif1</param> <param type="variable">mode_conteneur_actif1</param>
@ -17,5 +16,3 @@
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -16,7 +16,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<check name="valid_differ"> <check name="valid_differ">
<param type="variable">mode_conteneur_actif1</param> <param type="variable">mode_conteneur_actif1</param>
@ -24,5 +23,3 @@
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -7,7 +7,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<check name="valid_differ"> <check name="valid_differ">
<param type="variable">mode_conteneur_actif1</param> <param type="variable">mode_conteneur_actif1</param>
@ -19,5 +18,3 @@
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -10,7 +10,6 @@
<variable name="adresse_ip" type="local_ip" description="IP" mandatory="True" mode="basic"/> <variable name="adresse_ip" type="local_ip" description="IP" mandatory="True" mode="basic"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<check name="valid_in_network" level="warning"> <check name="valid_in_network" level="warning">
<param type="variable">adresse_ip_eth0</param> <param type="variable">adresse_ip_eth0</param>
@ -19,5 +18,3 @@
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -9,7 +9,6 @@
<variable name="adresse_ip" type="local_ip" description="IP" mandatory="True" mode="basic"/> <variable name="adresse_ip" type="local_ip" description="IP" mandatory="True" mode="basic"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<check name="valid_in_network" level="warning"> <check name="valid_in_network" level="warning">
<param type="variable">adresse_ip_eth0</param> <param type="variable">adresse_ip_eth0</param>
@ -17,5 +16,3 @@
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -9,7 +9,6 @@
<variable name="adresse_netmask_eth0" type="netmask" description="Masque de sous réseau de la carte" mandatory="True" mode="basic"/> <variable name="adresse_netmask_eth0" type="netmask" description="Masque de sous réseau de la carte" mandatory="True" mode="basic"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<check name="valid_ipnetmask" level="warning"> <check name="valid_ipnetmask" level="warning">
<param type="variable">adresse_ip_eth0</param> <param type="variable">adresse_ip_eth0</param>
@ -17,5 +16,3 @@
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -5,7 +5,6 @@
<variable name="mode_conteneur_actif" type="string" description="No change"/> <variable name="mode_conteneur_actif" type="string" description="No change"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param type="information">test_information</param> <param type="information">test_information</param>
@ -13,5 +12,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -11,7 +11,6 @@
<variable name="test_variable" type="number" description="test variable"/> <variable name="test_variable" type="number" description="test variable"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<check name="valid_enum"> <check name="valid_enum">
<param>1</param> <param>1</param>
@ -24,7 +23,4 @@
<target type="variable">test_variable</target> <target type="variable">test_variable</target>
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -12,7 +12,6 @@
<variable name="follower2" type="string" description="follower2"/> <variable name="follower2" type="string" description="follower2"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param name="valeur">valfill</param> <param name="valeur">valfill</param>

View File

@ -5,7 +5,6 @@
<variable name="follower3" type="string" description="follower3"/> <variable name="follower3" type="string" description="follower3"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<group leader="leader"> <group leader="leader">
<follower>follower3</follower> <follower>follower3</follower>

View File

@ -12,7 +12,6 @@
<variable name="follower2" type="string" description="follower2"/> <variable name="follower2" type="string" description="follower2"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param name="valeur">valfill</param> <param name="valeur">valfill</param>

View File

@ -5,7 +5,6 @@
<variable name="follower3" type="string" description="follower3"/> <variable name="follower3" type="string" description="follower3"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<group leader="leader"> <group leader="leader">
<follower>follower3</follower> <follower>follower3</follower>

View File

@ -12,7 +12,6 @@
<variable name="follower2" type="string" description="follower2"/> <variable name="follower2" type="string" description="follower2"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param name="valeur">valfill</param> <param name="valeur">valfill</param>

View File

@ -5,7 +5,6 @@
<variable name="follower3" type="string" description="follower3"/> <variable name="follower3" type="string" description="follower3"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<group leader="leader"> <group leader="leader">
<follower>follower3</follower> <follower>follower3</follower>

View File

@ -11,7 +11,6 @@
<variable name="follower3" type="string" description="follower3" hidden="True"/> <variable name="follower3" type="string" description="follower3" hidden="True"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param name="valeur">valfill</param> <param name="valeur">valfill</param>

View File

@ -8,7 +8,6 @@
</variable> </variable>
<variable name="follower1" type="number"/> <variable name="follower1" type="number"/>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param type="index"/> <param type="index"/>

View File

@ -10,7 +10,6 @@
<variable name="follower2" type="string" description="follower2" hidden="True"/> <variable name="follower2" type="string" description="follower2" hidden="True"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param name="valeur">valfill</param> <param name="valeur">valfill</param>

View File

@ -12,7 +12,6 @@
<variable name="follower2" type="string" description="follower2"/> <variable name="follower2" type="string" description="follower2"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_list"> <fill name="calc_list">
<param name="valeur">valfill</param> <param name="valeur">valfill</param>

View File

@ -10,7 +10,6 @@
<variable name="follower2" type="string" description="follower2" mode="expert"/> <variable name="follower2" type="string" description="follower2" mode="expert"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param name="valeur">valfill</param> <param name="valeur">valfill</param>

View File

@ -12,7 +12,6 @@
<variable name="follower2" type="string" description="follower2"/> <variable name="follower2" type="string" description="follower2"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_list"> <fill name="calc_list">
<param name="valeur">valfill</param> <param name="valeur">valfill</param>

View File

@ -12,7 +12,6 @@
<variable name="follower2" type="string" description="follower2"/> <variable name="follower2" type="string" description="follower2"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<group leader="leader"> <group leader="leader">
<follower>follower1</follower> <follower>follower1</follower>

View File

@ -12,7 +12,6 @@
<variable name="follower2" type="string" description="follower2"/> <variable name="follower2" type="string" description="follower2"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<group leader="leader" name="other"> <group leader="leader" name="other">
<follower>follower1</follower> <follower>follower1</follower>

View File

@ -10,7 +10,6 @@
<variable name="follower2" type="string" description="follower2"/> <variable name="follower2" type="string" description="follower2"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param name="valeur">valfill</param> <param name="valeur">valfill</param>

View File

@ -10,7 +10,6 @@
<variable name="follower2" type="string" description="follower2"/> <variable name="follower2" type="string" description="follower2"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param name="valeur">valfill</param> <param name="valeur">valfill</param>

View File

@ -9,12 +9,9 @@
<variable name="nut_monitor_host" type="network" description="Adresse IP du réseau de l'esclave" mandatory="True"/> <variable name="nut_monitor_host" type="network" description="Adresse IP du réseau de l'esclave" mandatory="True"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<group leader="nut_monitor_netmask"> <group leader="nut_monitor_netmask">
<follower>nut_monitor_host</follower> <follower>nut_monitor_host</follower>
</group> </group>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -15,7 +15,6 @@
<variable name="follower21" type="string" description="follower2"/> <variable name="follower21" type="string" description="follower2"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param name="valeur">valfill</param> <param name="valeur">valfill</param>

View File

@ -13,7 +13,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<condition name="disabled_if_in" source="condition"> <condition name="disabled_if_in" source="condition">
<param>oui</param> <param>oui</param>
@ -22,5 +21,3 @@
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -9,7 +9,6 @@
<variable name="variable2" type="string"/> <variable name="variable2" type="string"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<condition name="disabled_if_in" source="condition"> <condition name="disabled_if_in" source="condition">
<param>no</param> <param>no</param>
@ -21,5 +20,3 @@
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -3,7 +3,6 @@
<variables> <variables>
<variable name="condition" type="boolean"/> <variable name="condition" type="boolean"/>
</variables> </variables>
<constraints> <constraints>
<condition name="disabled_if_in" source="condition"> <condition name="disabled_if_in" source="condition">
<param>True</param> <param>True</param>
@ -11,5 +10,3 @@
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -18,7 +18,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<condition name="disabled_if_in" source="condition"> <condition name="disabled_if_in" source="condition">
<param>oui</param> <param>oui</param>
@ -29,5 +28,3 @@
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -18,7 +18,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<condition name="disabled_if_in" source="condition"> <condition name="disabled_if_in" source="condition">
<param>yes</param> <param>yes</param>
@ -34,5 +33,3 @@
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -18,7 +18,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<condition name="disabled_if_not_in" source="condition"> <condition name="disabled_if_not_in" source="condition">
<param>yes</param> <param>yes</param>
@ -34,5 +33,3 @@
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -18,7 +18,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<condition name="disabled_if_not_in" source="condition"> <condition name="disabled_if_not_in" source="condition">
<param>yes</param> <param>yes</param>
@ -34,5 +33,3 @@
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -18,7 +18,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<condition name="disabled_if_not_in" source="condition"> <condition name="disabled_if_not_in" source="condition">
<param>yes</param> <param>yes</param>
@ -34,5 +33,3 @@
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -18,7 +18,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<condition name="disabled_if_not_in" source="condition"> <condition name="disabled_if_not_in" source="condition">
<param>yes</param> <param>yes</param>
@ -34,5 +33,3 @@
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -18,7 +18,6 @@
</variable> </variable>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<condition name="disabled_if_in" source="condition"> <condition name="disabled_if_in" source="condition">
<param>oui</param> <param>oui</param>
@ -29,5 +28,3 @@
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

Some files were not shown because too many files have changed in this diff Show More