reident tests
This commit is contained in:
parent
cda68e88a2
commit
65d40f494f
|
@ -38,7 +38,7 @@
|
|||
<!-- =============== -->
|
||||
|
||||
<!ELEMENT rougail (services|variables|constraints)*>
|
||||
<!ATTLIST rougail version (0.9) #REQUIRED>
|
||||
<!ATTLIST rougail version (0.10) #REQUIRED>
|
||||
|
||||
<!-- ============== -->
|
||||
<!-- files element -->
|
||||
|
@ -83,6 +83,7 @@
|
|||
<!ATTLIST family mode CDATA #IMPLIED>
|
||||
<!ATTLIST family hidden (True|False) "False">
|
||||
<!ATTLIST family dynamic CDATA #IMPLIED>
|
||||
<!ATTLIST family leadership (True|False) "False">
|
||||
<!ATTLIST family provider CDATA #IMPLIED>
|
||||
|
||||
<!ELEMENT variable (value*)>
|
||||
|
@ -107,7 +108,7 @@
|
|||
|
||||
<!ELEMENT value (#PCDATA)>
|
||||
|
||||
<!ELEMENT constraints ((fill*|check*|condition*|group*)*)>
|
||||
<!ELEMENT constraints ((fill*|check*|condition*)*)>
|
||||
|
||||
<!ELEMENT fill ((target|param)+)>
|
||||
<!ATTLIST fill name CDATA #REQUIRED>
|
||||
|
@ -132,9 +133,4 @@
|
|||
<!ATTLIST target type (variable|family|servicelist|filelist|iplist) "variable">
|
||||
<!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)>
|
||||
|
|
|
@ -84,6 +84,7 @@ class RougailUpgrade:
|
|||
root = getattr(self, function_version)(root, upgrade_help, namespace)
|
||||
if function_version == search_function_name:
|
||||
function_found = True
|
||||
root.attrib['version'] = version
|
||||
with open(xmldst, 'wb') as xmlfh:
|
||||
xmlfh.write(tostring(root, pretty_print=True, encoding="UTF-8", xml_declaration=True))
|
||||
# if
|
||||
|
@ -101,7 +102,6 @@ class RougailUpgrade:
|
|||
) -> 'Element':
|
||||
# rename root
|
||||
root.tag = 'rougail'
|
||||
root.attrib['version'] = '0.9'
|
||||
variables_auto_valid_enum = {}
|
||||
variables_help = {}
|
||||
families_help = {}
|
||||
|
|
|
@ -9,5 +9,3 @@
|
|||
</variable>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -9,5 +9,3 @@
|
|||
</variable>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -9,5 +9,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -9,5 +9,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -9,5 +9,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -11,5 +11,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -1,13 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<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>
|
||||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -15,5 +15,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param type="variable">mode_conteneur_actif1</param>
|
||||
|
@ -18,5 +17,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -10,12 +10,9 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<target>mode_conteneur_actif</target>
|
||||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name="test">
|
||||
<file>/etc/file</file>
|
||||
<file engine="jinja2">/etc/file2</file>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
<variables>
|
||||
<family name="general">
|
||||
<variable name="mode_conteneur_actif" type="string" description="Description">
|
||||
|
@ -16,5 +14,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name="test">
|
||||
<file>/etc/file</file>
|
||||
<file engine="jinja2">/etc/file2</file>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
<variables>
|
||||
<family name="general">
|
||||
<variable name="mode_conteneur_actif" type="string" description="Description">
|
||||
|
@ -16,5 +14,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name="test">
|
||||
<file>/etc/file</file>
|
||||
|
@ -8,7 +7,6 @@
|
|||
<file included="content">/etc/dir/incfile</file>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
<variables>
|
||||
<family name="general">
|
||||
<variable name="mode_conteneur_actif" type="string" description="Description">
|
||||
|
@ -17,5 +15,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name="test">
|
||||
<file>/etc/file</file>
|
||||
|
@ -8,7 +7,6 @@
|
|||
<file included="name">/etc/dir/incfile</file>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
<variables>
|
||||
<family name="general">
|
||||
<variable name="mode_conteneur_actif" type="string" description="Description">
|
||||
|
@ -17,5 +15,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name="test">
|
||||
<file>/etc/file</file>
|
||||
<file engine="jinja2">/etc/file2</file>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
<variables>
|
||||
<family name="general">
|
||||
<variable name="mode_conteneur_actif" type="string" description="Description">
|
||||
|
@ -16,5 +14,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name="test">
|
||||
<file>/etc/systemd-makefs@dev-disk-by\x2dpartlabel</file>
|
||||
<file engine="jinja2">/etc/systemd-makefs@dev-disk-by\x2dpartlabel2</file>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
<variables>
|
||||
<family name="general">
|
||||
<variable name="mode_conteneur_actif" type="string" description="Description">
|
||||
|
@ -16,5 +14,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -11,5 +11,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -3,9 +3,7 @@
|
|||
<variables>
|
||||
<family name="general">
|
||||
<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 ""/>
|
||||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -4,5 +4,3 @@
|
|||
<variable name="my_variable" type="boolean" mandatory="False"/>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
<value>False</value>
|
||||
</variable>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param type="variable">my_var2</param>
|
||||
|
@ -19,5 +18,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param type="variable">mode_conteneur_actif1</param>
|
||||
|
@ -19,5 +18,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param type="variable">mode_conteneur_actif1</param>
|
||||
|
@ -16,5 +15,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param type="variable">mode_conteneur_actif1</param>
|
||||
|
@ -16,5 +15,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param type="number">3</param>
|
||||
|
@ -16,5 +15,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param type="variable" optional="True">mode_conteneur_actif4</param>
|
||||
|
@ -18,5 +17,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param type="variable" optional="True">mode_conteneur_actif4</param>
|
||||
|
@ -20,5 +19,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
<variable name="mode_conteneur_actif3" type="string" description="No change"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param>quote'</param>
|
||||
|
@ -28,5 +27,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param type="variable">mode_conteneur_actif1</param>
|
||||
|
@ -15,5 +14,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -19,5 +19,3 @@
|
|||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -6,5 +6,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -4,5 +4,3 @@
|
|||
<variable name="my_variable"/>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -4,5 +4,3 @@
|
|||
<variable name="my_variable" redefine="True" test="test1"/>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -6,5 +6,3 @@
|
|||
</family>
|
||||
</variables>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -20,5 +20,3 @@
|
|||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -4,9 +4,8 @@
|
|||
<variable name="var1">
|
||||
<value>no</value>
|
||||
</variable>
|
||||
<variable name="var2" multi='True'/>
|
||||
<variable name="var2" multi="True"/>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_value">
|
||||
<param type="variable">var1</param>
|
||||
|
@ -15,5 +14,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<variable name="var1" multi='True'>
|
||||
<variable name="var1" multi="True">
|
||||
<value>no</value>
|
||||
<value>yes</value>
|
||||
<value>maybe</value>
|
||||
</variable>
|
||||
<variable name="var2" multi='True'/>
|
||||
<variable name="var2" multi="True"/>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_value">
|
||||
<param type="variable">var1</param>
|
||||
|
@ -16,5 +15,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<variable name="autosavevar" type="string" description="autosave variable" hidden="True" auto_save="True"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param>oui</param>
|
||||
|
@ -17,5 +16,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -16,5 +16,3 @@
|
|||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -11,5 +11,3 @@
|
|||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -8,12 +8,9 @@
|
|||
<variable name="int" type="number" description="No change"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_lower">
|
||||
<target>int</target>
|
||||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
<variable name="int" type="number" description="No change"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_lower">
|
||||
<param name="mini" type="number">0</param>
|
||||
|
@ -20,5 +19,3 @@
|
|||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<variable name="int2" type="number" description="No change"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_differ">
|
||||
<param type="variable" optional="True">int2</param>
|
||||
|
@ -21,5 +20,3 @@
|
|||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_differ">
|
||||
<param type="variable">mode_conteneur_actif1</param>
|
||||
|
@ -18,5 +17,3 @@
|
|||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_differ">
|
||||
<param type="variable">mode_conteneur_actif1</param>
|
||||
|
@ -24,5 +23,3 @@
|
|||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<variable name="mode_conteneur_actif3" redefine="True"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_differ">
|
||||
<param type="variable">mode_conteneur_actif1</param>
|
||||
|
@ -17,5 +16,3 @@
|
|||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_differ">
|
||||
<param type="variable">mode_conteneur_actif1</param>
|
||||
|
@ -24,5 +23,3 @@
|
|||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_differ">
|
||||
<param type="variable">mode_conteneur_actif1</param>
|
||||
|
@ -19,5 +18,3 @@
|
|||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
<variable name="adresse_ip" type="local_ip" description="IP" mandatory="True" mode="basic"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_in_network" level="warning">
|
||||
<param type="variable">adresse_ip_eth0</param>
|
||||
|
@ -19,5 +18,3 @@
|
|||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<variable name="adresse_ip" type="local_ip" description="IP" mandatory="True" mode="basic"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_in_network" level="warning">
|
||||
<param type="variable">adresse_ip_eth0</param>
|
||||
|
@ -17,5 +16,3 @@
|
|||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<variable name="adresse_netmask_eth0" type="netmask" description="Masque de sous réseau de la carte" mandatory="True" mode="basic"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_ipnetmask" level="warning">
|
||||
<param type="variable">adresse_ip_eth0</param>
|
||||
|
@ -17,5 +16,3 @@
|
|||
</check>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<variable name="mode_conteneur_actif" type="string" description="No change"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param type="information">test_information</param>
|
||||
|
@ -13,5 +12,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
<variable name="test_variable" type="number" description="test variable"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<check name="valid_enum">
|
||||
<param>1</param>
|
||||
|
@ -24,7 +23,4 @@
|
|||
<target type="variable">test_variable</target>
|
||||
</condition>
|
||||
</constraints>
|
||||
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
<variable name="follower2" type="string" description="follower2"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param name="valeur">valfill</param>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<variable name="follower3" type="string" description="follower3"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<group leader="leader">
|
||||
<follower>follower3</follower>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
<variable name="follower2" type="string" description="follower2"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param name="valeur">valfill</param>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<variable name="follower3" type="string" description="follower3"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<group leader="leader">
|
||||
<follower>follower3</follower>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
<variable name="follower2" type="string" description="follower2"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param name="valeur">valfill</param>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<variable name="follower3" type="string" description="follower3"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<group leader="leader">
|
||||
<follower>follower3</follower>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
<variable name="follower3" type="string" description="follower3" hidden="True"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param name="valeur">valfill</param>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
</variable>
|
||||
<variable name="follower1" type="number"/>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param type="index"/>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
<variable name="follower2" type="string" description="follower2" hidden="True"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param name="valeur">valfill</param>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
<variable name="follower2" type="string" description="follower2"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_list">
|
||||
<param name="valeur">valfill</param>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
<variable name="follower2" type="string" description="follower2" mode="expert"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param name="valeur">valfill</param>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
<variable name="follower2" type="string" description="follower2"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_list">
|
||||
<param name="valeur">valfill</param>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
<variable name="follower2" type="string" description="follower2"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<group leader="leader">
|
||||
<follower>follower1</follower>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
<variable name="follower2" type="string" description="follower2"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<group leader="leader" name="other">
|
||||
<follower>follower1</follower>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
<variable name="follower2" type="string" description="follower2"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param name="valeur">valfill</param>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
<variable name="follower2" type="string" description="follower2"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param name="valeur">valfill</param>
|
||||
|
|
|
@ -9,12 +9,9 @@
|
|||
<variable name="nut_monitor_host" type="network" description="Adresse IP du réseau de l'esclave" mandatory="True"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<group leader="nut_monitor_netmask">
|
||||
<follower>nut_monitor_host</follower>
|
||||
</group>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
<variable name="follower21" type="string" description="follower2"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_val">
|
||||
<param name="valeur">valfill</param>
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<condition name="disabled_if_in" source="condition">
|
||||
<param>oui</param>
|
||||
|
@ -22,5 +21,3 @@
|
|||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<variable name="variable2" type="string"/>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<condition name="disabled_if_in" source="condition">
|
||||
<param>no</param>
|
||||
|
@ -21,5 +20,3 @@
|
|||
</fill>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<variables>
|
||||
<variable name="condition" type="boolean"/>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<condition name="disabled_if_in" source="condition">
|
||||
<param>True</param>
|
||||
|
@ -11,5 +10,3 @@
|
|||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<condition name="disabled_if_in" source="condition">
|
||||
<param>oui</param>
|
||||
|
@ -29,5 +28,3 @@
|
|||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<condition name="disabled_if_in" source="condition">
|
||||
<param>yes</param>
|
||||
|
@ -34,5 +33,3 @@
|
|||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<condition name="disabled_if_not_in" source="condition">
|
||||
<param>yes</param>
|
||||
|
@ -34,5 +33,3 @@
|
|||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<condition name="disabled_if_not_in" source="condition">
|
||||
<param>yes</param>
|
||||
|
@ -34,5 +33,3 @@
|
|||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<condition name="disabled_if_not_in" source="condition">
|
||||
<param>yes</param>
|
||||
|
@ -34,5 +33,3 @@
|
|||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<condition name="disabled_if_not_in" source="condition">
|
||||
<param>yes</param>
|
||||
|
@ -34,5 +33,3 @@
|
|||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<condition name="disabled_if_in" source="condition">
|
||||
<param>oui</param>
|
||||
|
@ -29,5 +28,3 @@
|
|||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
<!-- vim: ts=4 sw=4 expandtab
|
||||
-->
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue