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

@ -1,7 +1,7 @@
<?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="tata"> <service name="tata">
</service> </service>
</services> </services>
</rougail> </rougail>

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">
<variables> <variables>
<variable name="myvar" auto_freeze="True"> <variable name="myvar" auto_freeze="True">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="server_deployed" type="boolean"> <variable name="server_deployed" type="boolean">
<value>False</value> <value>False</value>
</variable> </variable>
</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">
<variables> <variables>
<variable name="my_var" auto_freeze="True" mode="expert"> <variable name="my_var" auto_freeze="True" mode="expert">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="server_deployed" type="boolean"> <variable name="server_deployed" type="boolean">
<value>False</value> <value>False</value>
</variable> </variable>
</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">
<variables> <variables>
<variable name="server_deployed" type="boolean"/> <variable name="server_deployed" type="boolean"/>
<family name="general" description="général"> <family name="general" description="général">
<variable name="mode_conteneur_actif" type="string" description="No change" auto_save="True"> <variable name="mode_conteneur_actif" type="string" description="No change" auto_save="True">
<value>non</value> <value>non</value>
</variable> </variable>
</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">
<variables> <variables>
<variable name="server_deployed" type="boolean"/> <variable name="server_deployed" type="boolean"/>
<family name="general" description="général"> <family name="general" description="général">
<variable name="mode_conteneur_actif" type="string" description="No change" auto_save="True" mode="expert"> <variable name="mode_conteneur_actif" type="string" description="No change" auto_save="True" mode="expert">
<value>non</value> <value>non</value>
</variable> </variable>
</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">
<variables> <variables>
<family name="general" description="général"> <family name="general" description="général">
<!-- this is a comment --> <!-- this is a comment -->
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" 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

@ -1,15 +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>
<family name="general" description="général"> <family name="general" description="général">
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="without_type"> <variable name="without_type">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" 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

@ -1,12 +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_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" 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

@ -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

@ -1,19 +1,17 @@
<?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="server_deployed" type="boolean"> <variable name="server_deployed" type="boolean">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="my_variable" auto_freeze="True" hidden="True"> <variable name="my_variable" auto_freeze="True" hidden="True">
<value>no</value> <value>no</value>
</variable> </variable>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param>yes</param> <param>yes</param>
<target>my_variable</target> <target>my_variable</target>
</fill> </fill>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,22 +1,19 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif1" type="string" description="No change"> <variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value> <value>non</value>
</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> <target>mode_conteneur_actif</target>
<target>mode_conteneur_actif</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,21 +1,18 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif1" type="string" description="No change"> <variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value> <value>non</value>
</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

@ -1,12 +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"> <family name="general">
<variable name="domain" type="domainname" description="Description"> <variable name="domain" type="domainname" description="Description">
<value>my.domain.name</value> <value>my.domain.name</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,20 +1,16 @@
<?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>
<family name="general">
<variables> <variable name="mode_conteneur_actif" type="string" description="Description">
<family name="general"> <value>non</value>
<variable name="mode_conteneur_actif" type="string" description="Description"> </variable>
<value>non</value> </family>
</variable> </variables>
</family>
</variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,20 +1,16 @@
<?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>
<family name="general">
<variables> <variable name="mode_conteneur_actif" type="string" description="Description">
<family name="general"> <value>non</value>
<variable name="mode_conteneur_actif" type="string" description="Description"> </variable>
<value>non</value> </family>
</variable> </variables>
</family>
</variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,21 +1,17 @@
<?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> <file included="content">/etc/dir/incfile</file>
<file included="content">/etc/dir/incfile</file> </service>
</service> </services>
</services> <variables>
<family name="general">
<variables> <variable name="mode_conteneur_actif" type="string" description="Description">
<family name="general"> <value>non</value>
<variable name="mode_conteneur_actif" type="string" description="Description"> </variable>
<value>non</value> </family>
</variable> </variables>
</family>
</variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,21 +1,17 @@
<?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> <file included="name">/etc/dir/incfile</file>
<file included="name">/etc/dir/incfile</file> </service>
</service> </services>
</services> <variables>
<family name="general">
<variables> <variable name="mode_conteneur_actif" type="string" description="Description">
<family name="general"> <value>non</value>
<variable name="mode_conteneur_actif" type="string" description="Description"> </variable>
<value>non</value> </family>
</variable> </variables>
</family>
</variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,20 +1,16 @@
<?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>
<family name="general">
<variables> <variable name="mode_conteneur_actif" type="string" description="Description">
<family name="general"> <value>non</value>
<variable name="mode_conteneur_actif" type="string" description="Description"> </variable>
<value>non</value> </family>
</variable> </variables>
</family>
</variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,20 +1,16 @@
<?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>
<family name="general">
<variables> <variable name="mode_conteneur_actif" type="string" description="Description">
<family name="general"> <value>non</value>
<variable name="mode_conteneur_actif" type="string" description="Description"> </variable>
<value>non</value> </family>
</variable> </variables>
</family>
</variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,15 +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>
<family name="general"> <family name="general">
<variable name="float" type="float" description="Description"> <variable name="float" type="float" description="Description">
<value>0.527</value> <value>0.527</value>
</variable> </variable>
<variable name="float_multi" type="float" description="Description" multi="True"> <variable name="float_multi" type="float" description="Description" multi="True">
<value>0.527</value> <value>0.527</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,11 +1,9 @@
<?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"> <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

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True" multi="True"> <variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True" multi="True">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True">
<value>quote"</value> <value>quote"</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True">
<value>quote'"</value> <value>quote'"</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True">
<value>quote\"\'</value> <value>quote\"\'</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True" multi="True"> <variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True" multi="True">
<value>quote"</value> <value>quote"</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True" multi="True"> <variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True" multi="True">
<value>quote'"</value> <value>quote'"</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True" multi="True"> <variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True" multi="True">
<value>quote'</value> <value>quote'</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="Redefine description" hidden="True">
<value>quote'</value> <value>quote'</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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"> <family name="general">
<variable name="general" type="string" description="description"> <variable name="general" type="string" description="description">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,8 +1,6 @@
<?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="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

@ -1,12 +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="Other description"> <family name="general" description="Other description">
<variable name="mode_conteneur_actif"> <variable name="mode_conteneur_actif">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,23 +1,20 @@
<?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="my_var1" auto_freeze="True"> <variable name="my_var1" auto_freeze="True">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="my_var2"> <variable name="my_var2">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="server_deployed" type="boolean"> <variable name="server_deployed" type="boolean">
<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> <target>my_var1</target>
<target>my_var1</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,23 +1,20 @@
<?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="server_deployed" type="boolean"/> <variable name="server_deployed" type="boolean"/>
<family name="general"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change" auto_save="True"> <variable name="mode_conteneur_actif" type="string" description="No change" auto_save="True">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif1" type="string" description="No change"> <variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value> <value>non</value>
</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> <target>mode_conteneur_actif</target>
<target>mode_conteneur_actif</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,20 +1,17 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"/> <variable name="mode_conteneur_actif" type="string" description="No change"/>
<variable name="mode_conteneur_actif1" type="string" description="No change"> <variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value> <value>non</value>
</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> <target>mode_conteneur_actif</target>
<target>mode_conteneur_actif</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,20 +1,17 @@
<?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" mode="basic"> <family name="general" mode="basic">
<variable name="mode_conteneur_actif" type="string" description="No change" mandatory="True" mode="expert"/> <variable name="mode_conteneur_actif" type="string" description="No change" mandatory="True" mode="expert"/>
<variable name="mode_conteneur_actif1" type="string" description="No change"> <variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value> <value>non</value>
</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> <target>mode_conteneur_actif</target>
<target>mode_conteneur_actif</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,20 +1,17 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="number" description="No change" hidden="True"/> <variable name="mode_conteneur_actif" type="number" description="No change" hidden="True"/>
<variable name="mode_conteneur_actif1" type="string" description="No change"> <variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value> <value>non</value>
</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> <target>mode_conteneur_actif</target>
<target>mode_conteneur_actif</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,22 +1,19 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif1" type="string" description="No change"> <variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value> <value>non</value>
</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> <target>mode_conteneur_actif</target>
<target>mode_conteneur_actif</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,24 +1,21 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif1" type="string" description="No change"> <variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value> <value>non</value>
</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> <param type="variable">mode_conteneur_actif1</param>
<param type="variable">mode_conteneur_actif1</param> <param type="variable" optional="True">mode_conteneur_actif3</param>
<param type="variable" optional="True">mode_conteneur_actif3</param> <target>mode_conteneur_actif</target>
<target>mode_conteneur_actif</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,32 +1,29 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"/> <variable name="mode_conteneur_actif" type="string" description="No change"/>
<variable name="mode_conteneur_actif1" type="string" description="No change"/> <variable name="mode_conteneur_actif1" type="string" description="No change"/>
<variable name="mode_conteneur_actif2" type="string" description="No change"/> <variable name="mode_conteneur_actif2" type="string" description="No change"/>
<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> <target>mode_conteneur_actif</target>
<target>mode_conteneur_actif</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param>quote"</param>
<param>quote"</param> <target>mode_conteneur_actif1</target>
<target>mode_conteneur_actif1</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param>quote"'</param>
<param>quote"'</param> <target>mode_conteneur_actif2</target>
<target>mode_conteneur_actif2</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param>quote"\'</param>
<param>quote"\'</param> <target>mode_conteneur_actif3</target>
<target>mode_conteneur_actif3</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,19 +1,16 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif1" type="string" description="No change"> <variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value> <value>non</value>
</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> <target optional="True">mode_conteneur_actif</target>
<target optional="True">mode_conteneur_actif</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,23 +1,21 @@
<?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="server_deployed" type="boolean"> <variable name="server_deployed" type="boolean">
<value>False</value> <value>False</value>
</variable> </variable>
<variable name="my_var" type="string" auto_freeze="True"> <variable name="my_var" type="string" auto_freeze="True">
<value>no</value> <value>no</value>
</variable> </variable>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param>yes</param> <param>yes</param>
<target>my_var</target> <target>my_var</target>
</fill> </fill>
<condition name="hidden_if_in" source="server_deployed"> <condition name="hidden_if_in" source="server_deployed">
<param>True</param> <param>True</param>
<target type="variable">my_var</target> <target type="variable">my_var</target>
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" test="test"> <variable name="mode_conteneur_actif" test="test">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" test="test1|test2"> <variable name="mode_conteneur_actif" test="test1|test2">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" test="|test1|test2"> <variable name="mode_conteneur_actif" test="|test1|test2">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" test="test"> <variable name="mode_conteneur_actif" test="test">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,10 +1,8 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" redefine="True" test="test1"/> <variable name="mode_conteneur_actif" redefine="True" test="test1"/>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,8 +1,6 @@
<?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="my_variable"/> <variable name="my_variable"/>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,8 +1,6 @@
<?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="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

@ -1,12 +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"> <family name="general">
<variable name="mode_conteneur_actif" test="test"> <variable name="mode_conteneur_actif" test="test">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,10 +1,8 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" redefine="True" test=""/> <variable name="mode_conteneur_actif" redefine="True" test=""/>
</family> </family>
</variables> </variables>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,24 +1,22 @@
<?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="server_deployed" type="boolean"/> <variable name="server_deployed" type="boolean"/>
<family name="general" description="général"> <family name="general" description="général">
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="autosavevar" type="string" description="autosave variable" auto_save="True"/> <variable name="autosavevar" type="string" description="autosave variable" auto_save="True"/>
</family> </family>
</variables> </variables>
<constraints> <constraints>
<fill name="calc_val"> <fill name="calc_val">
<param>oui</param> <param>oui</param>
<target>autosavevar</target> <target>autosavevar</target>
</fill> </fill>
<condition name="hidden_if_in" source="mode_conteneur_actif"> <condition name="hidden_if_in" source="mode_conteneur_actif">
<param>oui</param> <param>oui</param>
<target type="variable">autosavevar</target> <target type="variable">autosavevar</target>
</condition> </condition>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,19 +1,16 @@
<?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"> <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> <param type="boolean" name="multi">True</param>
<param type="boolean" name="multi">True</param> <target>var2</target>
<target>var2</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,20 +1,17 @@
<?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> <target>var2</target>
<target>var2</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,21 +1,18 @@
<?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="server_deployed" type="boolean"/> <variable name="server_deployed" type="boolean"/>
<family name="general" description="général"> <family name="general" description="général">
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
<value>non</value> <value>non</value>
</variable> </variable>
<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> <target>autosavevar</target>
<target>autosavevar</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,20 +1,18 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>b</value> <value>b</value>
</variable> </variable>
<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_entier"> <check name="valid_entier">
<param name="mini" type="number">0</param> <param name="mini" type="number">0</param>
<param name="maxi" type="number">100</param> <param name="maxi" type="number">100</param>
<target>int</target> <target>int</target>
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,15 +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="my_variable"/> <variable name="my_variable"/>
</variables> </variables>
<constraints> <constraints>
<check name="valid_entier"> <check name="valid_entier">
<param name="mini" type="number">0</param> <param name="mini" type="number">0</param>
<param name="maxi" type="number">100</param> <param name="maxi" type="number">100</param>
<target optional="True">int</target> <target optional="True">int</target>
</check> </check>
</constraints> </constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,19 +1,16 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>b</value> <value>b</value>
</variable> </variable>
<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

@ -1,24 +1,21 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>b</value> <value>b</value>
</variable> </variable>
<variable name="int2" type="number" description="No change"> <variable name="int2" type="number" description="No change">
<value>100</value> <value>100</value>
</variable> </variable>
<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> <param name="maxi" type="variable">int2</param>
<param name="maxi" type="variable">int2</param> <target>int</target>
<target>int</target> </check>
</check> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,25 +1,22 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>b</value> <value>b</value>
</variable> </variable>
<variable name="int" type="number" description="No change"/> <variable name="int" type="number" description="No change"/>
<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> <target>int</target>
<target>int</target> </check>
</check> <check name="valid_differ">
<check name="valid_differ"> <param type="variable" optional="True">int3</param>
<param type="variable" optional="True">int3</param> <target>int</target>
<target>int</target> </check>
</check> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,22 +1,19 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>oui</value> <value>oui</value>
</variable> </variable>
<variable name="mode_conteneur_actif1" type="string" description="No change"> <variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value> <value>non</value>
</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> <target>mode_conteneur_actif</target>
<target>mode_conteneur_actif</target> </check>
</check> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,28 +1,25 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>oui</value> <value>oui</value>
</variable> </variable>
<variable name="mode_conteneur_actif1" type="string" description="No change"> <variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif2" type="string" description="No change"> <variable name="mode_conteneur_actif2" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif3" type="string" description="No change"> <variable name="mode_conteneur_actif3" type="string" description="No change">
<value>oui</value> <value>oui</value>
</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> <target>mode_conteneur_actif3</target>
<target>mode_conteneur_actif3</target> </check>
</check> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,21 +1,18 @@
<?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"> <family name="general">
<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> <target>mode_conteneur_actif3</target>
<target>mode_conteneur_actif3</target> </check>
</check> <check name="valid_differ">
<check name="valid_differ"> <param type="variable">mode_conteneur_actif2</param>
<param type="variable">mode_conteneur_actif2</param> <target>mode_conteneur_actif3</target>
<target>mode_conteneur_actif3</target> </check>
</check> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,28 +1,25 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>oui</value> <value>oui</value>
</variable> </variable>
<variable name="mode_conteneur_actif1" type="string" description="No change"> <variable name="mode_conteneur_actif1" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif2" type="string" description="No change"> <variable name="mode_conteneur_actif2" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif3" type="string" description="No change"> <variable name="mode_conteneur_actif3" type="string" description="No change">
<value>oui</value> <value>oui</value>
</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> <target>mode_conteneur_actif3</target>
<target>mode_conteneur_actif3</target> </check>
</check> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,23 +1,20 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif3" redefine="True" remove_check="True"> <variable name="mode_conteneur_actif3" redefine="True" remove_check="True">
<value>oui</value> <value>oui</value>
</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> <target>mode_conteneur_actif3</target>
<target>mode_conteneur_actif3</target> </check>
</check> <check name="valid_differ">
<check name="valid_differ"> <param type="variable">mode_conteneur_actif2</param>
<param type="variable">mode_conteneur_actif2</param> <target>mode_conteneur_actif3</target>
<target>mode_conteneur_actif3</target> </check>
</check> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,23 +1,20 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>oui</value> <value>oui</value>
</variable> </variable>
<variable name="adresse_ip_eth0" type="local_ip" description="Adresse IP de la carte" mandatory="True" mode="basic"/> <variable name="adresse_ip_eth0" type="local_ip" description="Adresse IP 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"/> <variable name="adresse_netmask_eth0" type="netmask" description="Masque de sous réseau de la carte" mandatory="True" mode="basic"/>
<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> <param type="variable">adresse_netmask_eth0</param>
<param type="variable">adresse_netmask_eth0</param> <target>adresse_ip</target>
<target>adresse_ip</target> </check>
</check> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,21 +1,18 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>oui</value> <value>oui</value>
</variable> </variable>
<variable name="adresse_ip_eth0" type="cidr" description="Adresse IP de la carte" mandatory="True" mode="basic"/> <variable name="adresse_ip_eth0" type="cidr" description="Adresse IP de la carte" mandatory="True" mode="basic"/>
<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> <target>adresse_ip</target>
<target>adresse_ip</target> </check>
</check> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,21 +1,18 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>oui</value> <value>oui</value>
</variable> </variable>
<variable name="adresse_ip_eth0" type="local_ip" description="Adresse IP de la carte" mandatory="True" mode="basic"/> <variable name="adresse_ip_eth0" type="local_ip" description="Adresse IP 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"/> <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> <target>adresse_netmask_eth0</target>
<target>adresse_netmask_eth0</target> </check>
</check> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,17 +1,14 @@
<?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"> <family name="general">
<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> <target>mode_conteneur_actif</target>
<target>mode_conteneur_actif</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,30 +1,26 @@
<?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" mode="expert"> <family name="general" mode="expert">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
<family name="enumfam" mode="expert"> <family name="enumfam" mode="expert">
<variable name="enumvar" type="number" description="enumvar" help="bla bla bla"/> <variable name="enumvar" type="number" description="enumvar" help="bla bla bla"/>
<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> <param>2</param>
<param>2</param> <param>3</param>
<param>3</param> <target>enumvar</target>
<target>enumvar</target> </check>
</check> <condition name="hidden_if_in" source="enumvar">
<condition name="hidden_if_in" source="enumvar"> <param>4</param>
<param>4</param> <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

@ -1,30 +1,29 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
<family name="general1"> <family name="general1">
<variable name="leader" type="string" description="leader" multi="True"/> <variable name="leader" type="string" description="leader" multi="True"/>
<variable name="follower1" type="string" description="follower1"/> <variable name="follower1" type="string" description="follower1"/>
<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> <target>follower1</target>
<target>follower1</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param type="variable">follower1</param>
<param type="variable">follower1</param> <target>follower2</target>
<target>follower2</target> </fill>
</fill> <group leader="leader">
<group leader="leader"> <follower>follower1</follower>
<follower>follower1</follower> <follower>follower2</follower>
<follower>follower2</follower> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

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>
<family name="general1"> <family name="general1">
<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> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,30 +1,29 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
<family name="general1"> <family name="general1">
<variable name="leader" type="string" description="leader" multi="True" hidden="True"/> <variable name="leader" type="string" description="leader" multi="True" hidden="True"/>
<variable name="follower1" type="string" description="follower1"/> <variable name="follower1" type="string" description="follower1"/>
<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> <target>follower1</target>
<target>follower1</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param type="variable">follower1</param>
<param type="variable">follower1</param> <target>follower2</target>
<target>follower2</target> </fill>
</fill> <group leader="leader">
<group leader="leader"> <follower>follower1</follower>
<follower>follower1</follower> <follower>follower2</follower>
<follower>follower2</follower> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

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>
<family name="general1"> <family name="general1">
<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> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,30 +1,29 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
<family name="general1"> <family name="general1">
<variable name="leader" type="string" description="leader" multi="True"/> <variable name="leader" type="string" description="leader" multi="True"/>
<variable name="follower1" type="string" description="follower1"/> <variable name="follower1" type="string" description="follower1"/>
<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> <target>follower1</target>
<target>follower1</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param type="variable">follower1</param>
<param type="variable">follower1</param> <target>follower2</target>
<target>follower2</target> </fill>
</fill> <group leader="leader" name="leadership">
<group leader="leader" name="leadership"> <follower>follower1</follower>
<follower>follower1</follower> <follower>follower2</follower>
<follower>follower2</follower> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

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>
<family name="general1"> <family name="general1">
<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> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,34 +1,33 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="leader" type="string" description="leader" multi="True"/> <variable name="leader" type="string" description="leader" multi="True"/>
<variable name="follower1" type="string" description="follower1" hidden="True"/> <variable name="follower1" type="string" description="follower1" hidden="True"/>
<variable name="follower2" type="string" description="follower2" hidden="True"/> <variable name="follower2" type="string" description="follower2" hidden="True"/>
<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> <target>follower1</target>
<target>follower1</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param type="variable">follower1</param>
<param type="variable">follower1</param> <target>follower2</target>
<target>follower2</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param type="variable">leader</param>
<param type="variable">leader</param> <target>follower3</target>
<target>follower3</target> </fill>
</fill> <group leader="leader">
<group leader="leader"> <follower>follower1</follower>
<follower>follower1</follower> <follower>follower2</follower>
<follower>follower2</follower> <follower>follower3</follower>
<follower>follower3</follower> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,21 +1,20 @@
<?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="leader" multi="True"> <variable name="leader" multi="True">
<value>a</value> <value>a</value>
<value>b</value> <value>b</value>
<value>c</value> <value>c</value>
</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"/> <target>follower1</target>
<target>follower1</target> </fill>
</fill> <group leader="leader">
<group leader="leader"> <follower>follower1</follower>
<follower>follower1</follower> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,28 +1,27 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="leader" type="string" description="leader" multi="True"/> <variable name="leader" type="string" description="leader" multi="True"/>
<variable name="follower1" type="string" description="follower1" hidden="True"/> <variable name="follower1" type="string" description="follower1" hidden="True"/>
<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> <target>follower1</target>
<target>follower1</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param type="variable">leader</param>
<param type="variable">leader</param> <target>follower2</target>
<target>follower2</target> </fill>
</fill> <group leader="leader">
<group leader="leader"> <follower>follower1</follower>
<follower>follower1</follower> <follower>follower2</follower>
<follower>follower2</follower> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,26 +1,25 @@
<?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" mode="expert"> <family name="general" mode="expert">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
<family name="leadermode"> <family name="leadermode">
<variable name="leader" type="string" description="leader" multi="True" mode="expert"/> <variable name="leader" type="string" description="leader" multi="True" mode="expert"/>
<variable name="follower1" type="string" description="follower1"/> <variable name="follower1" type="string" description="follower1"/>
<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> <target>leader</target>
<target>leader</target> </fill>
</fill> <group leader="leader">
<group leader="leader"> <follower>follower1</follower>
<follower>follower1</follower> <follower>follower2</follower>
<follower>follower2</follower> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,28 +1,27 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="leader" type="string" description="leader" multi="True"/> <variable name="leader" type="string" description="leader" multi="True"/>
<variable name="follower1" type="string" description="follower1"/> <variable name="follower1" type="string" description="follower1"/>
<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> <target>follower1</target>
<target>follower1</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param type="variable">follower1</param>
<param type="variable">follower1</param> <target>follower2</target>
<target>follower2</target> </fill>
</fill> <group leader="leader">
<group leader="leader"> <follower>follower1</follower>
<follower>follower1</follower> <follower>follower2</follower>
<follower>follower2</follower> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,26 +1,25 @@
<?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" mode="expert"> <family name="general" mode="expert">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
<family name="leadermode"> <family name="leadermode">
<variable name="leader" type="string" description="leader" multi="True" hidden="True"/> <variable name="leader" type="string" description="leader" multi="True" hidden="True"/>
<variable name="follower1" type="string" description="follower1"/> <variable name="follower1" type="string" description="follower1"/>
<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> <target>leader</target>
<target>leader</target> </fill>
</fill> <group leader="leader">
<group leader="leader"> <follower>follower1</follower>
<follower>follower1</follower> <follower>follower2</follower>
<follower>follower2</follower> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,26 +1,25 @@
<?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" mode="expert"> <family name="general" mode="expert">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
<family name="leadermode"> <family name="leadermode">
<variable name="leader" type="string" description="leader" multi="True"/> <variable name="leader" type="string" description="leader" multi="True"/>
<variable name="follower1" type="string" description="follower1"/> <variable name="follower1" type="string" description="follower1"/>
<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> <follower>follower2</follower>
<follower>follower2</follower> </group>
</group> <condition name="hidden_if_in" source="mode_conteneur_actif">
<condition name="hidden_if_in" source="mode_conteneur_actif"> <param>non</param>
<param>non</param> <target type="variable">leader</target>
<target type="variable">leader</target> </condition>
</condition> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,26 +1,25 @@
<?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" mode="expert"> <family name="general" mode="expert">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
<family name="leadermode"> <family name="leadermode">
<variable name="leader" type="string" description="leader" multi="True"/> <variable name="leader" type="string" description="leader" multi="True"/>
<variable name="follower1" type="string" description="follower1"/> <variable name="follower1" type="string" description="follower1"/>
<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> <follower>follower2</follower>
<follower>follower2</follower> </group>
</group> <condition name="hidden_if_in" source="mode_conteneur_actif">
<condition name="hidden_if_in" source="mode_conteneur_actif"> <param>non</param>
<param>non</param> <target type="variable">leader</target>
<target type="variable">leader</target> </condition>
</condition> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,28 +1,27 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="leader" type="string" description="leader" multi="True" mandatory="True"/> <variable name="leader" type="string" description="leader" multi="True" mandatory="True"/>
<variable name="follower1" type="string" description="follower1"/> <variable name="follower1" type="string" description="follower1"/>
<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> <target>follower1</target>
<target>follower1</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param type="variable">follower1</param>
<param type="variable">follower1</param> <target>follower2</target>
<target>follower2</target> </fill>
</fill> <group leader="leader">
<group leader="leader"> <follower>follower1</follower>
<follower>follower1</follower> <follower>follower2</follower>
<follower>follower2</follower> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,28 +1,27 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="leader" type="string" description="leader" multi="True"/> <variable name="leader" type="string" description="leader" multi="True"/>
<variable name="follower1" type="string" description="follower1" mandatory="True"/> <variable name="follower1" type="string" description="follower1" mandatory="True"/>
<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> <target>follower1</target>
<target>follower1</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param type="variable">follower1</param>
<param type="variable">follower1</param> <target>follower2</target>
<target>follower2</target> </fill>
</fill> <group leader="leader">
<group leader="leader"> <follower>follower1</follower>
<follower>follower1</follower> <follower>follower2</follower>
<follower>follower2</follower> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,20 +1,17 @@
<?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_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
<value>oui</value> <value>oui</value>
</variable> </variable>
<variable name="nut_monitor_netmask" type="netmask" description="Masque de l'IP du réseau de l'esclave" multi="True"/> <variable name="nut_monitor_netmask" type="netmask" description="Masque de l'IP du réseau de l'esclave" multi="True"/>
<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

@ -1,37 +1,36 @@
<?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"> <family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change"> <variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
</family> </family>
<family name="general1"> <family name="general1">
<variable name="leader" type="string" description="leader" multi="True"/> <variable name="leader" type="string" description="leader" multi="True"/>
<variable name="follower1" type="string" description="follower1"/> <variable name="follower1" type="string" description="follower1"/>
<variable name="follower2" type="string" description="follower2"/> <variable name="follower2" type="string" description="follower2"/>
<variable name="leader1" type="string" description="leader" multi="True"/> <variable name="leader1" type="string" description="leader" multi="True"/>
<variable name="follower11" type="string" description="follower1"/> <variable name="follower11" type="string" description="follower1"/>
<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> <target>follower1</target>
<target>follower1</target> </fill>
</fill> <fill name="calc_val">
<fill name="calc_val"> <param type="variable">follower1</param>
<param type="variable">follower1</param> <target>follower2</target>
<target>follower2</target> </fill>
</fill> <group leader="leader">
<group leader="leader"> <follower>follower1</follower>
<follower>follower1</follower> <follower>follower2</follower>
<follower>follower2</follower> </group>
</group> <group leader="leader1">
<group leader="leader1"> <follower>follower11</follower>
<follower>follower11</follower> <follower>follower21</follower>
<follower>follower21</follower> </group>
</group> </constraints>
</constraints>
</rougail> </rougail>

View File

@ -1,26 +1,23 @@
<?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"> <family name="general">
<variable name="condition" type="string" description="No change"> <variable name="condition" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif2" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif2" type="string" description="No change" hidden="True">
<value>non</value> <value>non</value>
</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> <target type="variable">mode_conteneur_actif</target>
<target type="variable">mode_conteneur_actif</target> <target type="variable">mode_conteneur_actif2</target>
<target type="variable">mode_conteneur_actif2</target> </condition>
</condition> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,25 +1,22 @@
<?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"> <family name="general">
<variable name="condition" type="string"> <variable name="condition" type="string">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="variable1" type="string"/> <variable name="variable1" type="string"/>
<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> <target type="variable">variable1</target>
<target type="variable">variable1</target> </condition>
</condition> <fill name="calc_val">
<fill name="calc_val"> <param type="variable" propertyerror="False">variable1</param>
<param type="variable" propertyerror="False">variable1</param> <target>variable2</target>
<target>variable2</target> </fill>
</fill> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,15 +1,12 @@
<?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="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> <target type="filelist" optional="True">unknown</target>
<target type="filelist" optional="True">unknown</target> </condition>
</condition> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,33 +1,30 @@
<?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 filelist="afilllist">/tmp/file1</file> <file filelist="afilllist">/tmp/file1</file>
</service> </service>
</services> </services>
<variables> <variables>
<family name="general"> <family name="general">
<variable name="condition" type="string" description="No change"> <variable name="condition" type="string" description="No change">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
<value>non</value> <value>non</value>
</variable> </variable>
<variable name="mode_conteneur_actif2" type="string" description="No change" hidden="True"> <variable name="mode_conteneur_actif2" type="string" description="No change" hidden="True">
<value>non</value> <value>non</value>
</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> <param>maybe</param>
<param>maybe</param> <target type="variable">mode_conteneur_actif</target>
<target type="variable">mode_conteneur_actif</target> <target type="variable">mode_conteneur_actif2</target>
<target type="variable">mode_conteneur_actif2</target> <target type="filelist">afilllist</target>
<target type="filelist">afilllist</target> </condition>
</condition> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,38 +1,35 @@
<?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 filelist="afilllist">/tmp/file1</file> <file filelist="afilllist">/tmp/file1</file>
</service> </service>
</services> </services>
<variables> <variables>
<family name="general"> <family name="general">
<variable name="condition" type="string" description="No change"> <variable name="condition" type="string" description="No change">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="condition2" type="string" description="No change"> <variable name="condition2" type="string" description="No change">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="test_variable" type="string" description="No change" hidden="True"> <variable name="test_variable" type="string" description="No change" hidden="True">
<value>no</value> <value>no</value>
</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> <param>maybe</param>
<param>maybe</param> <target type="variable">test_variable</target>
<target type="variable">test_variable</target> <target type="filelist">afilllist</target>
<target type="filelist">afilllist</target> </condition>
</condition> <condition name="disabled_if_in" source="condition2">
<condition name="disabled_if_in" source="condition2"> <param>yes</param>
<param>yes</param> <param>maybe</param>
<param>maybe</param> <target type="variable">test_variable</target>
<target type="variable">test_variable</target> <target type="filelist">afilllist</target>
<target type="filelist">afilllist</target> </condition>
</condition> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,38 +1,35 @@
<?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 filelist="afilllist">/tmp/file1</file> <file filelist="afilllist">/tmp/file1</file>
</service> </service>
</services> </services>
<variables> <variables>
<family name="general"> <family name="general">
<variable name="condition" type="string" description="No change"> <variable name="condition" type="string" description="No change">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="condition2" type="string" description="No change"> <variable name="condition2" type="string" description="No change">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="test_variable" type="string" description="No change" hidden="True"> <variable name="test_variable" type="string" description="No change" hidden="True">
<value>no</value> <value>no</value>
</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> <param>maybe</param>
<param>maybe</param> <target type="variable">test_variable</target>
<target type="variable">test_variable</target> <target type="filelist">afilllist</target>
<target type="filelist">afilllist</target> </condition>
</condition> <condition name="disabled_if_in" source="condition2">
<condition name="disabled_if_in" source="condition2"> <param>yes</param>
<param>yes</param> <param>maybe</param>
<param>maybe</param> <target type="variable">test_variable</target>
<target type="variable">test_variable</target> <target type="filelist">afilllist</target>
<target type="filelist">afilllist</target> </condition>
</condition> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,38 +1,35 @@
<?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 filelist="afilllist">/tmp/file1</file> <file filelist="afilllist">/tmp/file1</file>
</service> </service>
</services> </services>
<variables> <variables>
<family name="general"> <family name="general">
<variable name="condition" type="string" description="No change"> <variable name="condition" type="string" description="No change">
<value>yes</value> <value>yes</value>
</variable> </variable>
<variable name="condition2" type="string" description="No change"> <variable name="condition2" type="string" description="No change">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="test_variable" type="string" description="No change" hidden="True"> <variable name="test_variable" type="string" description="No change" hidden="True">
<value>no</value> <value>no</value>
</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> <param>maybe</param>
<param>maybe</param> <target type="variable">test_variable</target>
<target type="variable">test_variable</target> <target type="filelist">afilllist</target>
<target type="filelist">afilllist</target> </condition>
</condition> <condition name="disabled_if_in" source="condition2">
<condition name="disabled_if_in" source="condition2"> <param>yes</param>
<param>yes</param> <param>maybe</param>
<param>maybe</param> <target type="variable">test_variable</target>
<target type="variable">test_variable</target> <target type="filelist">afilllist</target>
<target type="filelist">afilllist</target> </condition>
</condition> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,38 +1,35 @@
<?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 filelist="afilllist">/tmp/file1</file> <file filelist="afilllist">/tmp/file1</file>
</service> </service>
</services> </services>
<variables> <variables>
<family name="general"> <family name="general">
<variable name="condition" type="string" description="No change"> <variable name="condition" type="string" description="No change">
<value>yes</value> <value>yes</value>
</variable> </variable>
<variable name="condition2" type="string" description="No change"> <variable name="condition2" type="string" description="No change">
<value>yes</value> <value>yes</value>
</variable> </variable>
<variable name="test_variable" type="string" description="No change" hidden="True"> <variable name="test_variable" type="string" description="No change" hidden="True">
<value>no</value> <value>no</value>
</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> <param>maybe</param>
<param>maybe</param> <target type="variable">test_variable</target>
<target type="variable">test_variable</target> <target type="filelist">afilllist</target>
<target type="filelist">afilllist</target> </condition>
</condition> <condition name="disabled_if_in" source="condition2">
<condition name="disabled_if_in" source="condition2"> <param>yes</param>
<param>yes</param> <param>maybe</param>
<param>maybe</param> <target type="variable">test_variable</target>
<target type="variable">test_variable</target> <target type="filelist">afilllist</target>
<target type="filelist">afilllist</target> </condition>
</condition> </constraints>
</constraints>
</rougail> </rougail>
<!-- vim: ts=4 sw=4 expandtab
-->

View File

@ -1,38 +1,35 @@
<?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 filelist="afilllist">/tmp/file1</file> <file filelist="afilllist">/tmp/file1</file>
</service> </service>
</services> </services>
<variables> <variables>
<family name="general"> <family name="general">
<variable name="condition" type="string" description="No change"> <variable name="condition" type="string" description="No change">
<value>no</value> <value>no</value>
</variable> </variable>
<variable name="condition2" type="string" description="No change"> <variable name="condition2" type="string" description="No change">
<value>yes</value> <value>yes</value>
</variable> </variable>
<variable name="test_variable" type="string" description="No change" hidden="True"> <variable name="test_variable" type="string" description="No change" hidden="True">
<value>no</value> <value>no</value>
</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> <param>maybe</param>
<param>maybe</param> <target type="variable">test_variable</target>
<target type="variable">test_variable</target> <target type="filelist">afilllist</target>
<target type="filelist">afilllist</target> </condition>
</condition> <condition name="disabled_if_in" source="condition2">
<condition name="disabled_if_in" source="condition2"> <param>yes</param>
<param>yes</param> <param>maybe</param>
<param>maybe</param> <target type="variable">test_variable</target>
<target type="variable">test_variable</target> <target type="filelist">afilllist</target>
<target type="filelist">afilllist</target> </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