Compare commits
No commits in common. "e5737cd572a9080cdd8277dfa6bc3487f7644fd9" and "cda68e88a26536575117ac6ccc3a2968bbe81cfa" have entirely different histories.
e5737cd572
...
cda68e88a2
|
@ -28,6 +28,7 @@ Rougail est un bibliothèque python3 qui permet de charger des dictionnaires (fi
|
||||||
- [Les calcules automatiques](fill/README.md)
|
- [Les calcules automatiques](fill/README.md)
|
||||||
- [Les vérifications des valeurs](check/README.md)
|
- [Les vérifications des valeurs](check/README.md)
|
||||||
- [Les conditions](condition/README.md)
|
- [Les conditions](condition/README.md)
|
||||||
|
- [Les variables meneuses ou suiveuses](variable/leadership.md)
|
||||||
|
|
||||||
## Les templates
|
## Les templates
|
||||||
|
|
||||||
|
|
|
@ -2,5 +2,4 @@
|
||||||
|
|
||||||
- [Une famille](simple.md)
|
- [Une famille](simple.md)
|
||||||
- [Famille crée dynamiquement](auto.md)
|
- [Famille crée dynamiquement](auto.md)
|
||||||
- [Les variables meneuses ou suiveuses](leadership.md)
|
|
||||||
|
|
||||||
|
|
|
@ -1,56 +0,0 @@
|
||||||
# Variable meneuse ou suiveuse
|
|
||||||
|
|
||||||
## Variable meneuse
|
|
||||||
|
|
||||||
Une variable meneuse est une variable qui va guider la longueur d'autre variables (appelé variables suiveuse).
|
|
||||||
|
|
||||||
Une variable meneuse est une [variable](../variable/README.md) qui est obligatoirement de type multiple.
|
|
||||||
|
|
||||||
Une variable meneuse peut être obligatoire.
|
|
||||||
|
|
||||||
Le [mode](../mode.md) par défaut correspond au plus petit mode définit par l'utilisateur des variables suiveuses.
|
|
||||||
|
|
||||||
## Variable suiveuse
|
|
||||||
|
|
||||||
Une variable suiveuse est une variable donc la longueur n'est pas déterminé par elle-même, mais est identique à celle de la variable meneuse dont elle dépend.
|
|
||||||
|
|
||||||
Une variable suiveuse est une variable placer juste derrière une variable meneuse ou une autre variable suiveuse.
|
|
||||||
|
|
||||||
L'ordre de définition des variables suiveuses est important.
|
|
||||||
|
|
||||||
Cette variable peut être de type multiple. Dans ce cas, pour un index determiné, il est possible de mettre plusieurs valeurs à une même variable.
|
|
||||||
|
|
||||||
Une variable suiveuse peut être obligatoire. Cela signifie que lorsqu'une variable meneuse est renseigné, il faut obligatoirement que la variable suiveuse est également une valeur à l'index considéré.
|
|
||||||
Si aucune valeur n'est définit pour la variable meneuse, aucune valeur n'est a spécifié pour la variable suiveuse.
|
|
||||||
|
|
||||||
Le [mode](../mode.md) par défaut d'une variable suiveuse correspond au [mode](../mode.md) de la variable meneuse.
|
|
||||||
|
|
||||||
Si une variable meneuse est caché ou désactivé, les variables suiveuses le seront également.
|
|
||||||
|
|
||||||
## Définition des variables meneuse et suiveuse
|
|
||||||
|
|
||||||
Les variables meneuses et suiveuses doivent dans une famille de type "leadership".
|
|
||||||
|
|
||||||
Voici un exemple de définition d'une variable meneuse et de deux variables meneuses :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variables>
|
|
||||||
<family name="family" leadership='True'>
|
|
||||||
<variable name="leader" multi='True'/>
|
|
||||||
<variable name="follower1"/>
|
|
||||||
<variable name="follower2" multi='True'/>
|
|
||||||
</family>
|
|
||||||
</variables>
|
|
||||||
```
|
|
||||||
|
|
||||||
## Ajout d'une nouvelle variable suiveuse
|
|
||||||
|
|
||||||
Pour ajouter, dans un nouveau dictionnaire, une variable suiveuse à notre groupe, rien de plus simple, il suffit définir une ou des nouvelles variables dans la famille :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variables>
|
|
||||||
<family name="family">
|
|
||||||
<variable name="follower3"/>
|
|
||||||
</family>
|
|
||||||
</variables>
|
|
||||||
```
|
|
|
@ -49,8 +49,8 @@ Si une condition "hidden_if_in" est spécifié à la variable, la valeur sera mo
|
||||||
|
|
||||||
## Variable meneuse ou suiveuse avec valeur calculé
|
## Variable meneuse ou suiveuse avec valeur calculé
|
||||||
|
|
||||||
Une [variable suiveuse](../family/leadership.md) ne peut pas être calculé automatiquement.
|
Une [variable suiveuse](../variable/leadership.md) ne peut pas être calculé automatiquement.
|
||||||
Une [variable meneuse](../family/leadership.md) peut être calculé automatiquement.
|
Une [variable meneuse](../variable/leadership.md) peut être calculé automatiquement.
|
||||||
Si la variable n'est pas multiple, il ne faut pas que le calcule retourne une liste.
|
Si la variable n'est pas multiple, il ne faut pas que le calcule retourne une liste.
|
||||||
|
|
||||||
## Variable dynamique avec une valeur calculée
|
## Variable dynamique avec une valeur calculée
|
||||||
|
|
|
@ -6,7 +6,7 @@ Imaginons que la variable "my_variable" pré-existe. La valeur de la variable se
|
||||||
<param type="variable">my_variable</param>
|
<param type="variable">my_variable</param>
|
||||||
```
|
```
|
||||||
|
|
||||||
[Les variables meneuses ou suiveuses](../family/leadership.md) peuvent être utilisé sans soucis comme paramètre.
|
[Les variables meneuses ou suiveuses](../variable/leadership.md) peuvent être utilisé sans soucis comme paramètre.
|
||||||
|
|
||||||
## Paramètre avec variable potentiellement non existante
|
## Paramètre avec variable potentiellement non existante
|
||||||
|
|
||||||
|
|
|
@ -1,255 +1,4 @@
|
||||||
# Variable
|
# Variable
|
||||||
|
|
||||||
## Un variable
|
- [Une variable](simple.md)
|
||||||
|
- [Variable meneuse ou suiveuse](leadership.md)
|
||||||
Une variable est forcement dans [variables](../variables.md) ou dans une [famille](../family/README.md).
|
|
||||||
|
|
||||||
Une variable est déjà un nom. C'est à dire qu'on pourra utiliser plus tard la variable via ce nom.
|
|
||||||
|
|
||||||
```
|
|
||||||
<variables>
|
|
||||||
<variable name="my_variable"/>
|
|
||||||
<family name="my_family">
|
|
||||||
<variable name="my_family_variable"/>
|
|
||||||
</variable>
|
|
||||||
</variables>
|
|
||||||
```
|
|
||||||
|
|
||||||
## Description et aide sur la variable
|
|
||||||
|
|
||||||
En plus d'un nom, il est possible de mettre une "description" à la variable. C'est une information "utilisateur" qui nous permettra d'avoir des informations complémentaires sur le contenu de cette variable :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" description="This is a greate variable"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
En plus de la description, il est possible de préciser une aide complémentaire :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" help="This is a greate variable"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
Cette aide peut être utilisé à tout moment comme valeur [d'un paramètre](../param/information.md).
|
|
||||||
|
|
||||||
## Le type de la variable
|
|
||||||
|
|
||||||
Une variable a un type. Ce type permet de définir les valeurs acceptées par cette variable :
|
|
||||||
|
|
||||||
- string : chaine de caractère (type par défaut)
|
|
||||||
- number : un nombre
|
|
||||||
- float : un chiffre flottant
|
|
||||||
- boolean : "True" ou "False", si aucune valeur n'est défini la valeur par défaut de cette variable sera "True", ces variables sont également obligatoire par défaut
|
|
||||||
- password : un mot de passe
|
|
||||||
- mail : une adresse mail
|
|
||||||
- filename : nom de fichier au sens Unix (exemple : "/etc/passwd")
|
|
||||||
- date : une date au format "%Y-%m-%d" (exemple : "2021-01-30")
|
|
||||||
- unix_user : nom d'utilisateur au sens Unix
|
|
||||||
- ip : n'importe quelle adresse IPv4
|
|
||||||
- cidr : n'importe quelle adresse IPv4 au format CIDR
|
|
||||||
- local_ip : adresse IPv4 sur un réseau local, si l'adresse IPv4 n'est pas local, un warning sera afficher mais la valeur sera accepté tout de même
|
|
||||||
- netmask : masque d'une adresse IPv4
|
|
||||||
- network : adresse réseau
|
|
||||||
- network_cidr : adresse réseau au format CIDR
|
|
||||||
- broadcast : adresse de diffusion
|
|
||||||
- netbios : nom netbios
|
|
||||||
- domain : nom de domaine
|
|
||||||
- hostname : nom d'hôte
|
|
||||||
- web_address : adresse web (http://www.cadoles.com/)
|
|
||||||
- port : port
|
|
||||||
- mac : adresse MAC
|
|
||||||
- schedule : périodicité du schedule, les valeurs possibles sont "none", "daily", "weekly" ou "monthly"
|
|
||||||
- schedulemod : type de schedule, les valeurs possibles sont "pre" ou "post"
|
|
||||||
|
|
||||||
Pour définir le type d'une variable :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" type="number"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
## Variable à valeur multiple
|
|
||||||
|
|
||||||
Par défaut une variable ne peut acceuillir qu'une seule valeur. Il peut être utile de pouvoir spécifier plusieurs valeurs à une même variable.
|
|
||||||
|
|
||||||
Pour définir une variable à valeur multiple :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" multi="True"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
## Variable invisible
|
|
||||||
|
|
||||||
Il est possible de cacher une variable.
|
|
||||||
|
|
||||||
Cacher une variable signifie qu'elle ne sera pas visible lorsqu'on modifie la configuration du service.
|
|
||||||
Par contre cette variable sera accessibles lorsqu'on va l'utiliser.
|
|
||||||
|
|
||||||
Pour cacher une variable :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" hidden="True"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
## Variable désactive
|
|
||||||
|
|
||||||
Il est possible de désactiver une variable.
|
|
||||||
|
|
||||||
Désactiver une variable signifie qu'elle ne sera pas visible lorsqu'on modifie la configuration du service mais également lorsqu'on va l'utiliser.
|
|
||||||
|
|
||||||
Pour désactiver une variable :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" disabled="True"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
## Variable obligatoire
|
|
||||||
|
|
||||||
Variable dont une valeur est requise :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" mandatory="True"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
Les variables booléans sont par défaut obligatoire. Pour qu'une variable booléan ne soit pas obligatoire il faut le préciser explicitement :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" type="boolean" mandatory="False"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
Les variables avec une valeur par défaut (non calculée) sont également automatiquement obligatoire.
|
|
||||||
[Les variables à choix](../check/valid_enum.md) sans choix "None" sont également automatiquement obligatoire.
|
|
||||||
|
|
||||||
## Valeur par défaut d'une variable
|
|
||||||
|
|
||||||
Il est possible de fixer les valeurs par défaut d'une variable :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable">
|
|
||||||
<value>value</value>
|
|
||||||
</variable>
|
|
||||||
```
|
|
||||||
|
|
||||||
Pour une variable multiple, il est possible de préciser plusieurs valeurs :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" multi="True">
|
|
||||||
<value>value 1</value>
|
|
||||||
<value>value 2</value>
|
|
||||||
</variable>
|
|
||||||
```
|
|
||||||
|
|
||||||
Si la variable n'est pas pas une [variable meneuse](../family/leadership.md), la première valeur défini dans cette liste sera également la valeur par défaut proposé si on ajoute une nouvelle valeur à cette variable.
|
|
||||||
|
|
||||||
Une valeur par défaut peut également être [une valeur calculer](../fill/README.md).
|
|
||||||
|
|
||||||
## Redéfinir une variable
|
|
||||||
|
|
||||||
Il est possible de définir une variable dans un dictionnaire et de changer son comportement dans une second dictionnaire.
|
|
||||||
|
|
||||||
Attention trois attributs ne sont redéfinisable :
|
|
||||||
|
|
||||||
- name
|
|
||||||
- type
|
|
||||||
- multi
|
|
||||||
|
|
||||||
Créons notre variable :
|
|
||||||
|
|
||||||
<variable name="my_variable"/>
|
|
||||||
|
|
||||||
Et redéfinisons là :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" redefine="True" description="New description"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
## Créer une variable inexistante
|
|
||||||
|
|
||||||
Il est parfois utile de créer une variable si elle n'existe pas dans un autre dictionnaire :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" exists="False"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
Si cette variable existe dans un autre dictionnaire, elle ne sera pas modifié ni recréé
|
|
||||||
|
|
||||||
## Redéfinir une variable si elle existe
|
|
||||||
|
|
||||||
Parfois on veut pouvoir redéfinir une variable mais seulement dans le cas où elle existe déjà :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" redefine="True" exists="True" hidden="True"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
## Variable à valeur automatiquement modifiée
|
|
||||||
|
|
||||||
Une variable avec valeur automatiquement modifiée est une variable dont la valeur sera considéré comme modifié quand la propriété global "force_store_value" de Tiramisu est mise.
|
|
||||||
|
|
||||||
Voici une variable a valeur automatiquement modifiée :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" auto_save="True">
|
|
||||||
<value>my_value</value>
|
|
||||||
</variable>
|
|
||||||
```
|
|
||||||
|
|
||||||
Dans ce cas la valeur est fixée à la valeur actuelle.
|
|
||||||
Par exemple, si la valeur de cette variable est issue d'un calcul, la valeur ne sera plus recalculée.
|
|
||||||
|
|
||||||
Ces variables sont généralement des variables obligatoires. En effet ces variable ne sont automatiquement modifiées que si elles ont une valeurs.
|
|
||||||
|
|
||||||
Une [variable meneuse ou suiveuse](../family/leadership.md) ne peut pas avoir la propriété auto_save.
|
|
||||||
|
|
||||||
## Variable à valeur en lecture seule automatique
|
|
||||||
|
|
||||||
Une variable avec valeur en lecture seule automatique est une variable dont la valeur ne sera plus modifiable par l'utilisateur quand la [variable "server_deployed" passe à "True"](../dev/config.md).
|
|
||||||
|
|
||||||
Voici un variable à valeur en lecture seule automatique :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="server_deployed" type="boolean">
|
|
||||||
<value>False</value>
|
|
||||||
</variable>
|
|
||||||
<variable name="my_variable" auto_freeze="True"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
Dans ce cas la valeur est fixée à la valeur actuelle et elle ne sera plus modifiable par l'utilisateur.
|
|
||||||
Par exemple, si la valeur de cette variable est issue d'un calcul, la valeur ne sera plus recalculée.
|
|
||||||
|
|
||||||
Ces variables sont généralement des variables obligatoires. En effet ces variable ne sont en lecteur seul que si elles ont une valeurs.
|
|
||||||
|
|
||||||
Une [variable meneuse ou suiveuse](../family/leadership.md) ne peut pas avoir la propriété auto_freeze.
|
|
||||||
|
|
||||||
## Information "test"
|
|
||||||
|
|
||||||
L'attribut "test" est un attribut spécial qui permet aux concepteurs d'un dictionnaire d'influancer le robot de test en précisant de valeurs utile à tester.
|
|
||||||
|
|
||||||
Concrêtement, le contenu de cet attribut est enregister dans une "information" de l'option Tiramisu correspondante.
|
|
||||||
|
|
||||||
Exemple :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" test="yes"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
Il est possible de préciser plusieurs valeurs avec le séparateur "|" :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" test="yes|no"/>
|
|
||||||
```
|
|
||||||
|
|
||||||
Cette valeur peut être utilisé à tout moment comme valeur [d'un paramètre](../param/information.md).
|
|
||||||
|
|
||||||
## Mode de la variable
|
|
||||||
|
|
||||||
Le [mode](../mode.md) par défaut d'une variable correspond au [mode](../mode.md) de la [famille](../family/README.md).
|
|
||||||
|
|
||||||
Cas particuliers :
|
|
||||||
|
|
||||||
- une variable à valeur automatiquement modifiée ou une variable en lecture seule automatique est par défaut en mode "basic".
|
|
||||||
- si la variable n'est pas dans une famille, la variable aura le mode "normal" par défaut.
|
|
||||||
- une variable obligatoire sans valeur par défaut (calculer ou non) aura le mode "basic".
|
|
||||||
|
|
||||||
Pour définir le [mode](../mode.md) :
|
|
||||||
|
|
||||||
```
|
|
||||||
<variable name="my_variable" mode="expert"/>
|
|
||||||
```
|
|
||||||
|
|
|
@ -0,0 +1,255 @@
|
||||||
|
# Variable
|
||||||
|
|
||||||
|
## Un variable
|
||||||
|
|
||||||
|
Une variable est forcement dans [variables](../variables.md) ou dans une [famille](../family/README.md).
|
||||||
|
|
||||||
|
Une variable est déjà un nom. C'est à dire qu'on pourra utiliser plus tard la variable via ce nom.
|
||||||
|
|
||||||
|
```
|
||||||
|
<variables>
|
||||||
|
<variable name="my_variable"/>
|
||||||
|
<family name="my_family">
|
||||||
|
<variable name="my_family_variable"/>
|
||||||
|
</variable>
|
||||||
|
</variables>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Description et aide sur la variable
|
||||||
|
|
||||||
|
En plus d'un nom, il est possible de mettre une "description" à la variable. C'est une information "utilisateur" qui nous permettra d'avoir des informations complémentaires sur le contenu de cette variable :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" description="This is a greate variable"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
En plus de la description, il est possible de préciser une aide complémentaire :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" help="This is a greate variable"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
Cette aide peut être utilisé à tout moment comme valeur [d'un paramètre](../param/information.md).
|
||||||
|
|
||||||
|
## Le type de la variable
|
||||||
|
|
||||||
|
Une variable a un type. Ce type permet de définir les valeurs acceptées par cette variable :
|
||||||
|
|
||||||
|
- string : chaine de caractère (type par défaut)
|
||||||
|
- number : un nombre
|
||||||
|
- float : un chiffre flottant
|
||||||
|
- boolean : "True" ou "False", si aucune valeur n'est défini la valeur par défaut de cette variable sera "True", ces variables sont également obligatoire par défaut
|
||||||
|
- password : un mot de passe
|
||||||
|
- mail : une adresse mail
|
||||||
|
- filename : nom de fichier au sens Unix (exemple : "/etc/passwd")
|
||||||
|
- date : une date au format "%Y-%m-%d" (exemple : "2021-01-30")
|
||||||
|
- unix_user : nom d'utilisateur au sens Unix
|
||||||
|
- ip : n'importe quelle adresse IPv4
|
||||||
|
- cidr : n'importe quelle adresse IPv4 au format CIDR
|
||||||
|
- local_ip : adresse IPv4 sur un réseau local, si l'adresse IPv4 n'est pas local, un warning sera afficher mais la valeur sera accepté tout de même
|
||||||
|
- netmask : masque d'une adresse IPv4
|
||||||
|
- network : adresse réseau
|
||||||
|
- network_cidr : adresse réseau au format CIDR
|
||||||
|
- broadcast : adresse de diffusion
|
||||||
|
- netbios : nom netbios
|
||||||
|
- domain : nom de domaine
|
||||||
|
- hostname : nom d'hôte
|
||||||
|
- web_address : adresse web (http://www.cadoles.com/)
|
||||||
|
- port : port
|
||||||
|
- mac : adresse MAC
|
||||||
|
- schedule : périodicité du schedule, les valeurs possibles sont "none", "daily", "weekly" ou "monthly"
|
||||||
|
- schedulemod : type de schedule, les valeurs possibles sont "pre" ou "post"
|
||||||
|
|
||||||
|
Pour définir le type d'une variable :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" type="number"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Variable à valeur multiple
|
||||||
|
|
||||||
|
Par défaut une variable ne peut acceuillir qu'une seule valeur. Il peut être utile de pouvoir spécifier plusieurs valeurs à une même variable.
|
||||||
|
|
||||||
|
Pour définir une variable à valeur multiple :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" multi="True"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Variable invisible
|
||||||
|
|
||||||
|
Il est possible de cacher une variable.
|
||||||
|
|
||||||
|
Cacher une variable signifie qu'elle ne sera pas visible lorsqu'on modifie la configuration du service.
|
||||||
|
Par contre cette variable sera accessibles lorsqu'on va l'utiliser.
|
||||||
|
|
||||||
|
Pour cacher une variable :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" hidden="True"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Variable désactive
|
||||||
|
|
||||||
|
Il est possible de désactiver une variable.
|
||||||
|
|
||||||
|
Désactiver une variable signifie qu'elle ne sera pas visible lorsqu'on modifie la configuration du service mais également lorsqu'on va l'utiliser.
|
||||||
|
|
||||||
|
Pour désactiver une variable :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" disabled="True"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Variable obligatoire
|
||||||
|
|
||||||
|
Variable dont une valeur est requise :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" mandatory="True"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
Les variables booléans sont par défaut obligatoire. Pour qu'une variable booléan ne soit pas obligatoire il faut le préciser explicitement :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" type="boolean" mandatory="False"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
Les variables avec une valeur par défaut (non calculée) sont également automatiquement obligatoire.
|
||||||
|
[Les variables à choix](../check/valid_enum.md) sans choix "None" sont également automatiquement obligatoire.
|
||||||
|
|
||||||
|
## Valeur par défaut d'une variable
|
||||||
|
|
||||||
|
Il est possible de fixer les valeurs par défaut d'une variable :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable">
|
||||||
|
<value>value</value>
|
||||||
|
</variable>
|
||||||
|
```
|
||||||
|
|
||||||
|
Pour une variable multiple, il est possible de préciser plusieurs valeurs :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" multi="True">
|
||||||
|
<value>value 1</value>
|
||||||
|
<value>value 2</value>
|
||||||
|
</variable>
|
||||||
|
```
|
||||||
|
|
||||||
|
Si la variable n'est pas pas une [variable meneuse](leadership.md), la première valeur défini dans cette liste sera également la valeur par défaut proposé si on ajoute une nouvelle valeur à cette variable.
|
||||||
|
|
||||||
|
Une valeur par défaut peut également être [une valeur calculer](../fill/README.md).
|
||||||
|
|
||||||
|
## Redéfinir une variable
|
||||||
|
|
||||||
|
Il est possible de définir une variable dans un dictionnaire et de changer son comportement dans une second dictionnaire.
|
||||||
|
|
||||||
|
Attention trois attributs ne sont redéfinisable :
|
||||||
|
|
||||||
|
- name
|
||||||
|
- type
|
||||||
|
- multi
|
||||||
|
|
||||||
|
Créons notre variable :
|
||||||
|
|
||||||
|
<variable name="my_variable"/>
|
||||||
|
|
||||||
|
Et redéfinisons là :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" redefine="True" description="New description"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Créer une variable inexistante
|
||||||
|
|
||||||
|
Il est parfois utile de créer une variable si elle n'existe pas dans un autre dictionnaire :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" exists="False"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
Si cette variable existe dans un autre dictionnaire, elle ne sera pas modifié ni recréé
|
||||||
|
|
||||||
|
## Redéfinir une variable si elle existe
|
||||||
|
|
||||||
|
Parfois on veut pouvoir redéfinir une variable mais seulement dans le cas où elle existe déjà :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" redefine="True" exists="True" hidden="True"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Variable à valeur automatiquement modifiée
|
||||||
|
|
||||||
|
Une variable avec valeur automatiquement modifiée est une variable dont la valeur sera considéré comme modifié quand la propriété global "force_store_value" de Tiramisu est mise.
|
||||||
|
|
||||||
|
Voici une variable a valeur automatiquement modifiée :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" auto_save="True">
|
||||||
|
<value>my_value</value>
|
||||||
|
</variable>
|
||||||
|
```
|
||||||
|
|
||||||
|
Dans ce cas la valeur est fixée à la valeur actuelle.
|
||||||
|
Par exemple, si la valeur de cette variable est issue d'un calcul, la valeur ne sera plus recalculée.
|
||||||
|
|
||||||
|
Ces variables sont généralement des variables obligatoires. En effet ces variable ne sont automatiquement modifiées que si elles ont une valeurs.
|
||||||
|
|
||||||
|
Une [variable meneuse ou suiveuse](leadership.md) ne peut pas avoir la propriété auto_save.
|
||||||
|
|
||||||
|
## Variable à valeur en lecture seule automatique
|
||||||
|
|
||||||
|
Une variable avec valeur en lecture seule automatique est une variable dont la valeur ne sera plus modifiable par l'utilisateur quand la [variable "server_deployed" passe à "True"](../dev/config.md).
|
||||||
|
|
||||||
|
Voici un variable à valeur en lecture seule automatique :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="server_deployed" type="boolean">
|
||||||
|
<value>False</value>
|
||||||
|
</variable>
|
||||||
|
<variable name="my_variable" auto_freeze="True"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
Dans ce cas la valeur est fixée à la valeur actuelle et elle ne sera plus modifiable par l'utilisateur.
|
||||||
|
Par exemple, si la valeur de cette variable est issue d'un calcul, la valeur ne sera plus recalculée.
|
||||||
|
|
||||||
|
Ces variables sont généralement des variables obligatoires. En effet ces variable ne sont en lecteur seul que si elles ont une valeurs.
|
||||||
|
|
||||||
|
Une [variable meneuse ou suiveuse](leadership.md) ne peut pas avoir la propriété auto_freeze.
|
||||||
|
|
||||||
|
## Information "test"
|
||||||
|
|
||||||
|
L'attribut "test" est un attribut spécial qui permet aux concepteurs d'un dictionnaire d'influancer le robot de test en précisant de valeurs utile à tester.
|
||||||
|
|
||||||
|
Concrêtement, le contenu de cet attribut est enregister dans une "information" de l'option Tiramisu correspondante.
|
||||||
|
|
||||||
|
Exemple :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" test="yes"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
Il est possible de préciser plusieurs valeurs avec le séparateur "|" :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" test="yes|no"/>
|
||||||
|
```
|
||||||
|
|
||||||
|
Cette valeur peut être utilisé à tout moment comme valeur [d'un paramètre](../param/information.md).
|
||||||
|
|
||||||
|
## Mode de la variable
|
||||||
|
|
||||||
|
Le [mode](../mode.md) par défaut d'une variable correspond au [mode](../mode.md) de la [famille](../family/README.md).
|
||||||
|
|
||||||
|
Cas particuliers :
|
||||||
|
|
||||||
|
- une variable à valeur automatiquement modifiée ou une variable en lecture seule automatique est par défaut en mode "basic".
|
||||||
|
- si la variable n'est pas dans une famille, la variable aura le mode "normal" par défaut.
|
||||||
|
- une variable obligatoire sans valeur par défaut (calculer ou non) aura le mode "basic".
|
||||||
|
|
||||||
|
Pour définir le [mode](../mode.md) :
|
||||||
|
|
||||||
|
```
|
||||||
|
<variable name="my_variable" mode="expert"/>
|
||||||
|
```
|
|
@ -164,12 +164,13 @@ class Annotator(TargetAnnotator, ParamAnnotator, Walk):
|
||||||
return target.name, [target.name]
|
return target.name, [target.name]
|
||||||
# it's a leader, so apply property to leadership
|
# it's a leader, so apply property to leadership
|
||||||
family_name = self.objectspace.paths.get_variable_family_path(target.name.path)
|
family_name = self.objectspace.paths.get_variable_family_path(target.name.path)
|
||||||
namespace = target.name.namespace
|
family = self.objectspace.paths.get_family(family_name,
|
||||||
else:
|
target.name.namespace,
|
||||||
family_name = target.name.path
|
)
|
||||||
namespace = target.namespace
|
return family, family.variable
|
||||||
variable = self.objectspace.paths.get_family(family_name,
|
# it's a family
|
||||||
namespace,
|
variable = self.objectspace.paths.get_family(target.name.path,
|
||||||
|
target.namespace,
|
||||||
)
|
)
|
||||||
if hasattr(variable, 'variable'):
|
if hasattr(variable, 'variable'):
|
||||||
return variable, list(variable.variable.values())
|
return variable, list(variable.variable.values())
|
||||||
|
|
|
@ -137,10 +137,10 @@ class Annotator(Walk):
|
||||||
for variable in family.variable.values():
|
for variable in family.variable.values():
|
||||||
self.valid_mode(variable)
|
self.valid_mode(variable)
|
||||||
if isinstance(variable, self.objectspace.family):
|
if isinstance(variable, self.objectspace.family):
|
||||||
if not variable.leadership:
|
if family_mode and not self._has_mode(variable):
|
||||||
if family_mode and not self._has_mode(variable):
|
self._set_auto_mode(variable, family_mode)
|
||||||
self._set_auto_mode(variable, family_mode)
|
continue
|
||||||
continue
|
if isinstance(variable, self.objectspace.leadership):
|
||||||
func = self._set_default_mode_leader
|
func = self._set_default_mode_leader
|
||||||
else:
|
else:
|
||||||
func = self._set_default_mode_variable
|
func = self._set_default_mode_variable
|
||||||
|
@ -174,12 +174,11 @@ class Annotator(Walk):
|
||||||
obj.mode_auto = True
|
obj.mode_auto = True
|
||||||
|
|
||||||
def _set_default_mode_leader(self,
|
def _set_default_mode_leader(self,
|
||||||
leadership: 'self.objectspace.family',
|
leadership: 'self.objectspace.leadership',
|
||||||
family_mode: str,
|
family_mode: str,
|
||||||
) -> None:
|
) -> None:
|
||||||
leader_mode = None
|
leader_mode = None
|
||||||
leader = next(iter(leadership.variable.values()))
|
for follower in leadership.variable:
|
||||||
for follower in leadership.variable.values():
|
|
||||||
self.valid_mode(follower)
|
self.valid_mode(follower)
|
||||||
if follower.auto_save is True:
|
if follower.auto_save is True:
|
||||||
msg = _(f'leader/followers "{follower.name}" could not be auto_save')
|
msg = _(f'leader/followers "{follower.name}" could not be auto_save')
|
||||||
|
@ -193,9 +192,9 @@ class Annotator(Walk):
|
||||||
else:
|
else:
|
||||||
follower_mode = self.objectspace.rougailconfig['default_variable_mode']
|
follower_mode = self.objectspace.rougailconfig['default_variable_mode']
|
||||||
if self.modes[leader_mode] > self.modes[follower_mode]:
|
if self.modes[leader_mode] > self.modes[follower_mode]:
|
||||||
if self._has_mode(follower) and not self._has_mode(leader):
|
if self._has_mode(follower) and not self._has_mode(leadership.variable[0]):
|
||||||
# if follower has mode but not the leader
|
# if follower has mode but not the leader
|
||||||
self._set_auto_mode(leader, follower_mode)
|
self._set_auto_mode(leadership.variable[0], follower_mode)
|
||||||
else:
|
else:
|
||||||
# leader's mode is minimum level
|
# leader's mode is minimum level
|
||||||
if self._has_mode(follower):
|
if self._has_mode(follower):
|
||||||
|
@ -207,12 +206,12 @@ class Annotator(Walk):
|
||||||
family_mode,
|
family_mode,
|
||||||
)
|
)
|
||||||
if leader_mode is None:
|
if leader_mode is None:
|
||||||
if hasattr(leader, 'mode'):
|
if hasattr(leadership.variable[0], 'mode'):
|
||||||
leader_mode = leader.mode
|
leader_mode = leadership.variable[0].mode
|
||||||
else:
|
else:
|
||||||
leader_mode = self.objectspace.rougailconfig['default_variable_mode']
|
leader_mode = self.objectspace.rougailconfig['default_variable_mode']
|
||||||
if hasattr(leader, 'mode'):
|
if hasattr(leadership.variable[0], 'mode'):
|
||||||
leader_mode = leader.mode
|
leader_mode = leadership.variable[0].mode
|
||||||
self._set_auto_mode(leadership, leader_mode)
|
self._set_auto_mode(leadership, leader_mode)
|
||||||
|
|
||||||
def _change_family_mode(self,
|
def _change_family_mode(self,
|
||||||
|
@ -226,14 +225,11 @@ class Annotator(Walk):
|
||||||
# change variable mode, but not if variables are not in a family
|
# change variable mode, but not if variables are not in a family
|
||||||
if hasattr(family, 'variable'):
|
if hasattr(family, 'variable'):
|
||||||
for variable in family.variable.values():
|
for variable in family.variable.values():
|
||||||
if isinstance(variable, self.objectspace.family):
|
if not isinstance(variable, self.objectspace.family):
|
||||||
if variable.leadership:
|
if isinstance(variable, self.objectspace.leadership):
|
||||||
func = self._change_variable_mode_leader
|
func = self._change_variable_mode_leader
|
||||||
else:
|
else:
|
||||||
func = None
|
func = self._change_variable_mode
|
||||||
else:
|
|
||||||
func = self._change_variable_mode
|
|
||||||
if func:
|
|
||||||
func(variable,
|
func(variable,
|
||||||
family_mode,
|
family_mode,
|
||||||
)
|
)
|
||||||
|
@ -272,13 +268,11 @@ class Annotator(Walk):
|
||||||
leadership,
|
leadership,
|
||||||
family_mode: str,
|
family_mode: str,
|
||||||
) -> None:
|
) -> None:
|
||||||
for idx, follower in enumerate(leadership.variable.values()):
|
for follower in leadership.variable:
|
||||||
if idx == 0:
|
|
||||||
leader = follower
|
|
||||||
self._change_variable_mode(follower,
|
self._change_variable_mode(follower,
|
||||||
family_mode,
|
family_mode,
|
||||||
)
|
)
|
||||||
leader.mode = None
|
leadership.variable[0].mode = None
|
||||||
|
|
||||||
def dynamic_families(self):
|
def dynamic_families(self):
|
||||||
"""link dynamic families to object
|
"""link dynamic families to object
|
||||||
|
|
|
@ -27,10 +27,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
from rougail.i18n import _
|
from rougail.i18n import _
|
||||||
from rougail.error import DictConsistencyError
|
from rougail.error import DictConsistencyError
|
||||||
from rougail.utils import normalize_family
|
from rougail.utils import normalize_family
|
||||||
from rougail.annotator.variable import Walk
|
|
||||||
|
|
||||||
|
|
||||||
class Annotator(Walk):
|
class Annotator:
|
||||||
"""Annotate group
|
"""Annotate group
|
||||||
"""
|
"""
|
||||||
level = 10
|
level = 10
|
||||||
|
@ -38,37 +37,126 @@ class Annotator(Walk):
|
||||||
objectspace,
|
objectspace,
|
||||||
*args,
|
*args,
|
||||||
):
|
):
|
||||||
if not hasattr(objectspace.space, 'variables'):
|
|
||||||
return
|
|
||||||
self.objectspace = objectspace
|
self.objectspace = objectspace
|
||||||
|
if not hasattr(self.objectspace.space, 'constraints') or \
|
||||||
|
not hasattr(self.objectspace.space.constraints, 'group'):
|
||||||
|
return
|
||||||
self.convert_groups()
|
self.convert_groups()
|
||||||
|
|
||||||
def convert_groups(self): # pylint: disable=C0111
|
def convert_groups(self): # pylint: disable=C0111
|
||||||
"""convert groups
|
"""convert groups
|
||||||
"""
|
"""
|
||||||
# store old leaders family name
|
# store old leaders family name
|
||||||
for family in self.get_families(with_leadership=True):
|
cache_paths = {}
|
||||||
if not isinstance(family, self.objectspace.family):
|
for group in self.objectspace.space.constraints.group:
|
||||||
continue
|
if group.leader in cache_paths:
|
||||||
if not family.leadership:
|
leader_fam_path = cache_paths[group.leader]
|
||||||
continue
|
else:
|
||||||
if hasattr(family, 'dynamic'):
|
leader_fam_path = self.objectspace.paths.get_variable_family_path(group.leader, group.xmlfiles)
|
||||||
msg = _(f'the family "{family.name}" cannot be leadership and dynamic together')
|
cache_paths[group.leader] = leader_fam_path
|
||||||
raise DictConsistencyError(msg, 31, family.xmlfiles)
|
follower_names = list(group.follower.keys())
|
||||||
family.doc = family.description
|
leader = self.objectspace.paths.get_variable(group.leader)
|
||||||
for idx, variable in enumerate(family.variable.values()):
|
if '.' not in leader_fam_path:
|
||||||
if idx == 0:
|
# it's a namespace
|
||||||
|
ori_leader_family = self.objectspace.space.variables[leader_fam_path]
|
||||||
|
else:
|
||||||
|
# it's a sub family
|
||||||
|
ori_leader_family = self.objectspace.paths.get_family(leader_fam_path,
|
||||||
|
leader.namespace,
|
||||||
|
)
|
||||||
|
has_a_leader = False
|
||||||
|
for variable in list(ori_leader_family.variable.values()):
|
||||||
|
if isinstance(variable, self.objectspace.leadership) and \
|
||||||
|
variable.variable[0].name == leader.name:
|
||||||
|
# append follower to an existed leadership
|
||||||
|
leader_space = variable
|
||||||
|
has_a_leader = True
|
||||||
|
elif variable.name == leader.name:
|
||||||
# it's a leader
|
# it's a leader
|
||||||
if variable.multi is not True:
|
leader_space = self.manage_leader(variable,
|
||||||
msg = _(f'the variable "{variable.name}" in a leadership must be multi')
|
group,
|
||||||
raise DictConsistencyError(msg, 32, variable.xmlfiles)
|
ori_leader_family,
|
||||||
family.hidden = variable.hidden
|
)
|
||||||
if variable.hidden:
|
has_a_leader = True
|
||||||
variable.frozen = True
|
elif has_a_leader:
|
||||||
variable.force_default_on_freeze = True
|
# it's should be a follower
|
||||||
variable.hidden = None
|
self.manage_follower(follower_names.pop(0),
|
||||||
else:
|
leader_fam_path,
|
||||||
# it's a follower
|
variable,
|
||||||
if family.hidden:
|
leader_space,
|
||||||
variable.frozen = True
|
)
|
||||||
variable.force_default_on_freeze = True
|
# this variable is not more in ori_leader_family
|
||||||
|
ori_leader_family.variable.pop(normalize_family(variable.name))
|
||||||
|
if follower_names == []:
|
||||||
|
# no more follower
|
||||||
|
break
|
||||||
|
else:
|
||||||
|
joined = '", "'.join(follower_names)
|
||||||
|
msg = _(f'when parsing leadership, we espect to find those followers "{joined}"')
|
||||||
|
raise DictConsistencyError(msg, 31, variable.xmlfiles)
|
||||||
|
del self.objectspace.space.constraints.group
|
||||||
|
|
||||||
|
def manage_leader(self,
|
||||||
|
variable: 'Variable',
|
||||||
|
group: 'Group',
|
||||||
|
ori_leader_family,
|
||||||
|
) -> 'Leadership':
|
||||||
|
"""manage leader's variable
|
||||||
|
"""
|
||||||
|
if variable.multi is not True:
|
||||||
|
msg = _(f'the variable "{variable.name}" in a group must be multi')
|
||||||
|
raise DictConsistencyError(msg, 32, variable.xmlfiles)
|
||||||
|
if hasattr(group, 'name'):
|
||||||
|
ori_leadership_name = group.name
|
||||||
|
else:
|
||||||
|
ori_leadership_name = variable.name
|
||||||
|
leadership_name = normalize_family(ori_leadership_name)
|
||||||
|
leader_space = self.objectspace.leadership(variable.xmlfiles)
|
||||||
|
leader_space.variable = []
|
||||||
|
leader_space.name = leadership_name
|
||||||
|
leader_space.hidden = variable.hidden
|
||||||
|
if variable.hidden:
|
||||||
|
variable.frozen = True
|
||||||
|
variable.force_default_on_freeze = True
|
||||||
|
variable.hidden = None
|
||||||
|
if hasattr(group, 'description'):
|
||||||
|
leader_space.doc = group.description
|
||||||
|
elif variable.name == leadership_name and hasattr(variable, 'description'):
|
||||||
|
leader_space.doc = variable.description
|
||||||
|
else:
|
||||||
|
leader_space.doc = ori_leadership_name
|
||||||
|
leadership_path = ori_leader_family.path + '.' + leadership_name
|
||||||
|
self.objectspace.paths.add_leadership(variable.namespace,
|
||||||
|
leadership_path,
|
||||||
|
leader_space,
|
||||||
|
)
|
||||||
|
ori_leader_family.variable[normalize_family(variable.name)] = leader_space
|
||||||
|
leader_space.variable.append(variable)
|
||||||
|
self.objectspace.paths.set_leader(variable.namespace,
|
||||||
|
ori_leader_family.path,
|
||||||
|
leadership_name,
|
||||||
|
normalize_family(variable.name),
|
||||||
|
)
|
||||||
|
return leader_space
|
||||||
|
|
||||||
|
def manage_follower(self,
|
||||||
|
follower_name: str,
|
||||||
|
leader_family_name: str,
|
||||||
|
variable: 'Variable',
|
||||||
|
leader_space: 'Leadership',
|
||||||
|
) -> None:
|
||||||
|
"""manage follower
|
||||||
|
"""
|
||||||
|
if variable.name != follower_name:
|
||||||
|
msg = _('when parsing leadership, we expect to find the follower '
|
||||||
|
f'"{follower_name}" but we found "{variable.name}"')
|
||||||
|
raise DictConsistencyError(msg, 33, variable.xmlfiles)
|
||||||
|
self.objectspace.paths.set_leader(variable.namespace,
|
||||||
|
leader_family_name,
|
||||||
|
leader_space.name,
|
||||||
|
normalize_family(variable.name),
|
||||||
|
)
|
||||||
|
if leader_space.hidden:
|
||||||
|
variable.frozen = True
|
||||||
|
variable.force_default_on_freeze = True
|
||||||
|
leader_space.variable.append(variable)
|
||||||
|
|
|
@ -107,7 +107,7 @@ class Annotator(Walk):
|
||||||
"""convert variables
|
"""convert variables
|
||||||
"""
|
"""
|
||||||
for variable in self.get_variables(with_leadership=True):
|
for variable in self.get_variables(with_leadership=True):
|
||||||
if isinstance(variable, self.objectspace.family):
|
if isinstance(variable, self.objectspace.leadership):
|
||||||
for follower in variable.variable.values():
|
for follower in variable.variable:
|
||||||
self.convert_property(follower)
|
self.convert_property(follower)
|
||||||
self.convert_property(variable)
|
self.convert_property(variable)
|
||||||
|
|
|
@ -46,9 +46,9 @@ class Annotator(Walk): # pylint: disable=R0903
|
||||||
"""convert value
|
"""convert value
|
||||||
"""
|
"""
|
||||||
for variable in self.get_variables(with_leadership=True):
|
for variable in self.get_variables(with_leadership=True):
|
||||||
if isinstance(variable, self.objectspace.family):
|
if isinstance(variable, self.objectspace.leadership):
|
||||||
variable_type = 'leader'
|
variable_type = 'leader'
|
||||||
for follower in variable.variable.values():
|
for follower in variable.variable:
|
||||||
self._convert_value(follower,
|
self._convert_value(follower,
|
||||||
variable_type,
|
variable_type,
|
||||||
)
|
)
|
||||||
|
@ -82,18 +82,19 @@ class Annotator(Walk): # pylint: disable=R0903
|
||||||
return
|
return
|
||||||
if variable.value[0].type == 'calculation':
|
if variable.value[0].type == 'calculation':
|
||||||
variable.default = variable.value[0]
|
variable.default = variable.value[0]
|
||||||
elif variable.multi:
|
|
||||||
if variable_type != 'follower':
|
|
||||||
variable.default = [value.name for value in variable.value]
|
|
||||||
if variable_type != 'leader':
|
|
||||||
if variable.multi == 'submulti':
|
|
||||||
variable.default_multi = [value.name for value in variable.value]
|
|
||||||
else:
|
|
||||||
variable.default_multi = variable.value[0].name
|
|
||||||
else:
|
else:
|
||||||
if len(variable.value) > 1:
|
if variable.multi:
|
||||||
msg = _(f'the non multi variable "{variable.name}" cannot have '
|
if variable_type != 'follower':
|
||||||
'more than one value')
|
variable.default = [value.name for value in variable.value]
|
||||||
raise DictConsistencyError(msg, 68, variable.xmlfiles)
|
if variable_type != 'leader':
|
||||||
variable.default = variable.value[0].name
|
if variable.multi == 'submulti':
|
||||||
|
variable.default_multi = [value.name for value in variable.value]
|
||||||
|
else:
|
||||||
|
variable.default_multi = variable.value[0].name
|
||||||
|
else:
|
||||||
|
if len(variable.value) > 1:
|
||||||
|
msg = _(f'the non multi variable "{variable.name}" cannot have '
|
||||||
|
'more than one value')
|
||||||
|
raise DictConsistencyError(msg, 68, variable.xmlfiles)
|
||||||
|
variable.default = variable.value[0].name
|
||||||
del variable.value
|
del variable.value
|
||||||
|
|
|
@ -87,30 +87,28 @@ class Walk:
|
||||||
if hasattr(family, 'variable'):
|
if hasattr(family, 'variable'):
|
||||||
for variable in family.variable.values():
|
for variable in family.variable.values():
|
||||||
if isinstance(variable, self.objectspace.family):
|
if isinstance(variable, self.objectspace.family):
|
||||||
if variable.leadership is False:
|
yield from self._get_variables(variable, with_leadership)
|
||||||
yield from self._get_variables(variable, with_leadership)
|
continue
|
||||||
continue
|
if not with_leadership and isinstance(variable, self.objectspace.leadership):
|
||||||
if not with_leadership:
|
for follower in variable.variable:
|
||||||
for follower in variable.variable.values():
|
yield follower
|
||||||
yield follower
|
continue
|
||||||
continue
|
|
||||||
yield variable
|
yield variable
|
||||||
|
|
||||||
def get_families(self, with_leadership=False):
|
def get_families(self):
|
||||||
"""Iter all families from the objectspace
|
"""Iter all families from the objectspace
|
||||||
"""
|
"""
|
||||||
for family in self.objectspace.space.variables.values():
|
for family in self.objectspace.space.variables.values():
|
||||||
yield from self._get_families(family, with_leadership)
|
yield from self._get_families(family)
|
||||||
|
|
||||||
def _get_families(self,
|
def _get_families(self,
|
||||||
family: 'self.objectspace.family',
|
family: 'self.objectspace.family',
|
||||||
with_leadership: bool,
|
|
||||||
):
|
):
|
||||||
yield family
|
yield family
|
||||||
if hasattr(family, 'variable'):
|
if hasattr(family, 'variable'):
|
||||||
for fam in family.variable.values():
|
for fam in family.variable.values():
|
||||||
if isinstance(fam, self.objectspace.family) and (with_leadership or not fam.leadership):
|
if isinstance(fam, self.objectspace.family):
|
||||||
yield from self._get_families(fam, with_leadership)
|
yield from self._get_families(fam)
|
||||||
|
|
||||||
|
|
||||||
class Annotator(Walk): # pylint: disable=R0903
|
class Annotator(Walk): # pylint: disable=R0903
|
||||||
|
@ -135,10 +133,10 @@ class Annotator(Walk): # pylint: disable=R0903
|
||||||
"""convert variable
|
"""convert variable
|
||||||
"""
|
"""
|
||||||
for variable in self.get_variables(with_leadership=True):
|
for variable in self.get_variables(with_leadership=True):
|
||||||
if isinstance(variable, self.objectspace.family):
|
if isinstance(variable, self.objectspace.leadership):
|
||||||
# first variable is a leader, others are follower
|
# first variable is a leader, others are follower
|
||||||
variable_type = 'leader'
|
variable_type = 'leader'
|
||||||
for follower in variable.variable.values():
|
for follower in variable.variable:
|
||||||
self._convert_variable(follower,
|
self._convert_variable(follower,
|
||||||
variable_type,
|
variable_type,
|
||||||
)
|
)
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
<!-- =============== -->
|
<!-- =============== -->
|
||||||
|
|
||||||
<!ELEMENT rougail (services|variables|constraints)*>
|
<!ELEMENT rougail (services|variables|constraints)*>
|
||||||
<!ATTLIST rougail version (0.10) #REQUIRED>
|
<!ATTLIST rougail version (0.9) #REQUIRED>
|
||||||
|
|
||||||
<!-- ============== -->
|
<!-- ============== -->
|
||||||
<!-- files element -->
|
<!-- files element -->
|
||||||
|
@ -83,7 +83,6 @@
|
||||||
<!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*)>
|
||||||
|
@ -108,7 +107,7 @@
|
||||||
|
|
||||||
<!ELEMENT value (#PCDATA)>
|
<!ELEMENT value (#PCDATA)>
|
||||||
|
|
||||||
<!ELEMENT constraints ((fill*|check*|condition*)*)>
|
<!ELEMENT constraints ((fill*|check*|condition*|group*)*)>
|
||||||
|
|
||||||
<!ELEMENT fill ((target|param)+)>
|
<!ELEMENT fill ((target|param)+)>
|
||||||
<!ATTLIST fill name CDATA #REQUIRED>
|
<!ATTLIST fill name CDATA #REQUIRED>
|
||||||
|
@ -132,3 +131,10 @@
|
||||||
<!ELEMENT target (#PCDATA)>
|
<!ELEMENT target (#PCDATA)>
|
||||||
<!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)>
|
||||||
|
|
|
@ -38,9 +38,9 @@ FORCE_REDEFINABLES = ('family', 'follower', 'service', 'disknod', 'variables')
|
||||||
# RougailObjSpace's elements that shall be forced to the UnRedefinable type
|
# RougailObjSpace's elements that shall be forced to the UnRedefinable type
|
||||||
FORCE_UNREDEFINABLES = ('value',)
|
FORCE_UNREDEFINABLES = ('value',)
|
||||||
# RougailObjSpace's elements that shall not be modify
|
# RougailObjSpace's elements that shall not be modify
|
||||||
UNREDEFINABLE = ('multi', 'type', 'leadership')
|
UNREDEFINABLE = ('multi', 'type')
|
||||||
# RougailObjSpace's elements that did not created automaticly
|
# RougailObjSpace's elements that did not created automaticly
|
||||||
FORCE_ELEMENTS = ('choice', 'property_', 'information')
|
FORCE_ELEMENTS = ('choice', 'property_', 'leadership', 'information')
|
||||||
# XML text are convert has name
|
# XML text are convert has name
|
||||||
FORCED_TEXT_ELTS_AS_NAME = ('choice', 'property', 'value',)
|
FORCED_TEXT_ELTS_AS_NAME = ('choice', 'property', 'value',)
|
||||||
|
|
||||||
|
@ -474,16 +474,11 @@ class RougailObjSpace:
|
||||||
else:
|
else:
|
||||||
family_name = namespace
|
family_name = namespace
|
||||||
|
|
||||||
if isinstance(space, self.family) and space.leadership:
|
|
||||||
leader = space.path
|
|
||||||
else:
|
|
||||||
leader = None
|
|
||||||
self.paths.add_variable(namespace,
|
self.paths.add_variable(namespace,
|
||||||
variableobj.name,
|
variableobj.name,
|
||||||
space.path,
|
space.path,
|
||||||
document.attrib.get('dynamic') is not None,
|
document.attrib.get('dynamic') is not None,
|
||||||
variableobj,
|
variableobj,
|
||||||
leader,
|
|
||||||
)
|
)
|
||||||
elif isinstance(variableobj, self.family): # pylint: disable=E1101
|
elif isinstance(variableobj, self.family): # pylint: disable=E1101
|
||||||
family_name = variableobj.name
|
family_name = variableobj.name
|
||||||
|
|
|
@ -77,6 +77,19 @@ class Path:
|
||||||
)
|
)
|
||||||
variableobj.path = full_name
|
variableobj.path = full_name
|
||||||
|
|
||||||
|
def add_leadership(self,
|
||||||
|
namespace: str,
|
||||||
|
path: str,
|
||||||
|
variableobj: str,
|
||||||
|
) -> str: # pylint: disable=C0111
|
||||||
|
"""add a new leadership
|
||||||
|
"""
|
||||||
|
self.families[path] = dict(name=path,
|
||||||
|
namespace=namespace,
|
||||||
|
variableobj=variableobj,
|
||||||
|
)
|
||||||
|
variableobj.path = path
|
||||||
|
|
||||||
def get_family(self,
|
def get_family(self,
|
||||||
name: str,
|
name: str,
|
||||||
current_namespace: str,
|
current_namespace: str,
|
||||||
|
@ -96,6 +109,26 @@ class Path:
|
||||||
raise DictConsistencyError(msg, 38, [])
|
raise DictConsistencyError(msg, 38, [])
|
||||||
return dico['variableobj']
|
return dico['variableobj']
|
||||||
|
|
||||||
|
# Leadership
|
||||||
|
def set_leader(self,
|
||||||
|
namespace: str,
|
||||||
|
leader_family_name: str,
|
||||||
|
leadership_name: str,
|
||||||
|
name: str,
|
||||||
|
) -> None: # pylint: disable=C0111
|
||||||
|
"""set a variable a leadership member
|
||||||
|
"""
|
||||||
|
# need rebuild path and move object in new path
|
||||||
|
old_path = leader_family_name + '.' + name
|
||||||
|
leadership_path = leader_family_name + '.' + leadership_name
|
||||||
|
new_path = leadership_path + '.' + name
|
||||||
|
self.variables[new_path] = self.variables.pop(old_path)
|
||||||
|
self.variables[new_path]['leader'] = leadership_path
|
||||||
|
self.variables[new_path]['variableobj'].path = new_path
|
||||||
|
self.variables[new_path]['family'] = leadership_path
|
||||||
|
if namespace == self.variable_namespace:
|
||||||
|
self.full_paths_variables[name] = new_path
|
||||||
|
|
||||||
def is_leader(self, path): # pylint: disable=C0111
|
def is_leader(self, path): # pylint: disable=C0111
|
||||||
"""Is the variable is a leader
|
"""Is the variable is a leader
|
||||||
"""
|
"""
|
||||||
|
@ -103,7 +136,7 @@ class Path:
|
||||||
if not variable['leader']:
|
if not variable['leader']:
|
||||||
return False
|
return False
|
||||||
leadership = self.get_family(variable['leader'], variable['variableobj'].namespace)
|
leadership = self.get_family(variable['leader'], variable['variableobj'].namespace)
|
||||||
return next(iter(leadership.variable.values())).path == path
|
return leadership.variable[0].path == path
|
||||||
|
|
||||||
def is_follower(self, path):
|
def is_follower(self, path):
|
||||||
"""Is the variable is a follower
|
"""Is the variable is a follower
|
||||||
|
@ -112,7 +145,7 @@ class Path:
|
||||||
if not variable['leader']:
|
if not variable['leader']:
|
||||||
return False
|
return False
|
||||||
leadership = self.get_family(variable['leader'], variable['variableobj'].namespace)
|
leadership = self.get_family(variable['leader'], variable['variableobj'].namespace)
|
||||||
return next(iter(leadership.variable.values())).path != path
|
return leadership.variable[0].path != path
|
||||||
|
|
||||||
# Variable
|
# Variable
|
||||||
def add_variable(self, # pylint: disable=R0913
|
def add_variable(self, # pylint: disable=R0913
|
||||||
|
@ -121,7 +154,6 @@ class Path:
|
||||||
family: str,
|
family: str,
|
||||||
is_dynamic: bool,
|
is_dynamic: bool,
|
||||||
variableobj,
|
variableobj,
|
||||||
leader: 'self.objectspace.family'=None,
|
|
||||||
) -> str: # pylint: disable=C0111
|
) -> str: # pylint: disable=C0111
|
||||||
"""Add a new variable (with path)
|
"""Add a new variable (with path)
|
||||||
"""
|
"""
|
||||||
|
@ -137,7 +169,7 @@ class Path:
|
||||||
raise DictConsistencyError(msg, 57, variableobj.xmlfiles)
|
raise DictConsistencyError(msg, 57, variableobj.xmlfiles)
|
||||||
self.variables[full_path] = dict(name=name,
|
self.variables[full_path] = dict(name=name,
|
||||||
family=family,
|
family=family,
|
||||||
leader=leader,
|
leader=None,
|
||||||
is_dynamic=is_dynamic,
|
is_dynamic=is_dynamic,
|
||||||
variableobj=variableobj,
|
variableobj=variableobj,
|
||||||
)
|
)
|
||||||
|
|
|
@ -371,7 +371,7 @@ class Family(Common):
|
||||||
if hasattr(self.elt, 'suffixes'):
|
if hasattr(self.elt, 'suffixes'):
|
||||||
self.objectspace.has_dyn_option = True
|
self.objectspace.has_dyn_option = True
|
||||||
self.object_type = 'ConvertDynOptionDescription'
|
self.object_type = 'ConvertDynOptionDescription'
|
||||||
elif hasattr(self.elt, 'leadership') and self.elt.leadership:
|
elif isinstance(self.elt, self.objectspace.leadership):
|
||||||
self.object_type = 'Leadership'
|
self.object_type = 'Leadership'
|
||||||
else:
|
else:
|
||||||
self.object_type = 'OptionDescription'
|
self.object_type = 'OptionDescription'
|
||||||
|
|
|
@ -31,11 +31,10 @@ from .i18n import _
|
||||||
from .error import UpgradeError
|
from .error import UpgradeError
|
||||||
|
|
||||||
from .utils import normalize_family
|
from .utils import normalize_family
|
||||||
from .config import RougailConfig
|
|
||||||
|
|
||||||
|
|
||||||
VERSIONS = {'creole': ['1'],
|
VERSIONS = {'creole': ['1'],
|
||||||
'rougail': ['0.9', '0.10'],
|
'rougail': ['0.9'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,24 +47,16 @@ FUNCTION_VERSIONS = [(root, version, get_function_name(root, version)) for root,
|
||||||
|
|
||||||
|
|
||||||
class RougailUpgrade:
|
class RougailUpgrade:
|
||||||
def __init__(self,
|
def __init__(self, test=False, upgrade_help=None):
|
||||||
test=False,
|
|
||||||
upgrade_help=None,
|
|
||||||
rougailconfig: RougailConfig=None,
|
|
||||||
) -> None:
|
|
||||||
self.test = test
|
self.test = test
|
||||||
if upgrade_help is None:
|
if upgrade_help is None:
|
||||||
upgrade_help = {}
|
upgrade_help = {}
|
||||||
self.upgrade_help = upgrade_help
|
self.upgrade_help = upgrade_help
|
||||||
if rougailconfig is None:
|
|
||||||
rougailconfig = RougailConfig
|
|
||||||
self.rougailconfig = rougailconfig
|
|
||||||
|
|
||||||
def load_xml_from_folders(self,
|
def load_xml_from_folders(self,
|
||||||
srcfolder: str,
|
srcfolder: str,
|
||||||
dstfolder: str,
|
dstfolder: str,
|
||||||
namespace: str,
|
namespace: str,
|
||||||
display: bool=True,
|
|
||||||
):
|
):
|
||||||
"""Loads all the XML files located in the xmlfolders' list
|
"""Loads all the XML files located in the xmlfolders' list
|
||||||
|
|
||||||
|
@ -86,15 +77,13 @@ class RougailUpgrade:
|
||||||
function_found = False
|
function_found = False
|
||||||
for root_name, version, function_version in FUNCTION_VERSIONS:
|
for root_name, version, function_version in FUNCTION_VERSIONS:
|
||||||
if function_found and hasattr(self, function_version):
|
if function_found and hasattr(self, function_version):
|
||||||
if display:
|
print(f' - convert {filename} to version {version}')
|
||||||
print(f' - convert {filename} to version {version}')
|
|
||||||
upgrade_help = self.upgrade_help.get(function_version, {}).get(filename, {})
|
upgrade_help = self.upgrade_help.get(function_version, {}).get(filename, {})
|
||||||
if upgrade_help.get('remove') is True:
|
if upgrade_help.get('remove') is True:
|
||||||
continue
|
continue
|
||||||
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
|
||||||
|
@ -105,90 +94,6 @@ class RougailUpgrade:
|
||||||
# yield xmlfile, document.getroot()
|
# yield xmlfile, document.getroot()
|
||||||
|
|
||||||
|
|
||||||
def update_rougail_0_10(self,
|
|
||||||
root: 'Element',
|
|
||||||
upgrade_help: dict,
|
|
||||||
namespace: str,
|
|
||||||
) -> 'Element':
|
|
||||||
variables = root.find('variables')
|
|
||||||
if variables is None:
|
|
||||||
return root
|
|
||||||
constraints = root.find('constraints')
|
|
||||||
if constraints is None:
|
|
||||||
return root
|
|
||||||
groups = []
|
|
||||||
for constraint in constraints:
|
|
||||||
if constraint.tag == 'group':
|
|
||||||
constraints.remove(constraint)
|
|
||||||
groups.append(constraint)
|
|
||||||
if not groups:
|
|
||||||
return root
|
|
||||||
paths = self._get_path_variables(variables,
|
|
||||||
namespace == self.rougailconfig['variable_namespace'],
|
|
||||||
namespace,
|
|
||||||
)
|
|
||||||
for group in groups:
|
|
||||||
if group.attrib['leader'] in paths:
|
|
||||||
leader_obj = paths[group.attrib['leader']]
|
|
||||||
#FIXME name peut avoir "." il faut le virer
|
|
||||||
#FIXME si extra c'est un follower !
|
|
||||||
if 'name' in group.attrib:
|
|
||||||
name = group.attrib['name']
|
|
||||||
if 'description' in group.attrib:
|
|
||||||
description = group.attrib['description']
|
|
||||||
else:
|
|
||||||
description = name
|
|
||||||
else:
|
|
||||||
name = leader_obj['variable'].attrib['name']
|
|
||||||
if '.' in name:
|
|
||||||
name = name.rsplit('.', 1)[-1]
|
|
||||||
if 'description' in group.attrib:
|
|
||||||
description = group.attrib['description']
|
|
||||||
elif 'description' in leader_obj['variable'].attrib:
|
|
||||||
description = leader_obj['variable'].attrib['description']
|
|
||||||
else:
|
|
||||||
description = name
|
|
||||||
family = SubElement(leader_obj['parent'], 'family', name=name, description=description, leadership="True")
|
|
||||||
leader_obj['parent'].remove(leader_obj['variable'])
|
|
||||||
family.append(leader_obj['variable'])
|
|
||||||
else:
|
|
||||||
# append in group
|
|
||||||
follower = next(iter(group))
|
|
||||||
leader_name = group.attrib['leader']
|
|
||||||
if '.' in leader_name:
|
|
||||||
leader_path = leader_name.rsplit('.', 1)[0]
|
|
||||||
follower_path = leader_path + '.' + follower.text
|
|
||||||
else:
|
|
||||||
follower_path = follower.text
|
|
||||||
obj = paths[follower_path]
|
|
||||||
family = SubElement(obj['parent'], 'family', name=leader_name, leadership="True")
|
|
||||||
for follower in group:
|
|
||||||
leader_name = group.attrib['leader']
|
|
||||||
if '.' in leader_name:
|
|
||||||
leader_path = leader_name.rsplit('.', 1)[0]
|
|
||||||
follower_path = leader_path + '.' + follower.text
|
|
||||||
else:
|
|
||||||
follower_path = follower.text
|
|
||||||
follower_obj = paths[follower_path]
|
|
||||||
follower_obj['parent'].remove(follower_obj['variable'])
|
|
||||||
family.append(follower_obj['variable'])
|
|
||||||
return root
|
|
||||||
|
|
||||||
def _get_path_variables(self, variables, is_variable_namespace, path, dico=None):
|
|
||||||
if dico is None:
|
|
||||||
dico = {}
|
|
||||||
for variable in variables:
|
|
||||||
if not is_variable_namespace and path:
|
|
||||||
subpath = path + '.'
|
|
||||||
else:
|
|
||||||
subpath = ''
|
|
||||||
subpath += variable.attrib['name']
|
|
||||||
if variable.tag == 'family':
|
|
||||||
self._get_path_variables(variable, is_variable_namespace, subpath, dico)
|
|
||||||
elif variable.tag == 'variable':
|
|
||||||
dico[subpath] = {'variable': variable, 'parent': variables}
|
|
||||||
return dico
|
|
||||||
|
|
||||||
def update_rougail_0_9(self,
|
def update_rougail_0_9(self,
|
||||||
root: 'Element',
|
root: 'Element',
|
||||||
upgrade_help: dict,
|
upgrade_help: dict,
|
||||||
|
@ -196,6 +101,7 @@ 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 = {}
|
||||||
|
@ -240,7 +146,7 @@ class RougailUpgrade:
|
||||||
subsubsubelement.attrib['mandatory'] = 'True'
|
subsubsubelement.attrib['mandatory'] = 'True'
|
||||||
if subsubsubelement.attrib['name'] in upgrade_help.get('variables', {}).get('type', {}):
|
if subsubsubelement.attrib['name'] in upgrade_help.get('variables', {}).get('type', {}):
|
||||||
subsubsubelement.attrib['type'] = upgrade_help.get('variables', {}).get('type', {})[subsubsubelement.attrib['name']]
|
subsubsubelement.attrib['type'] = upgrade_help.get('variables', {}).get('type', {})[subsubsubelement.attrib['name']]
|
||||||
if namespace == self.rougailconfig['variable_namespace']:
|
if namespace == 'configuration':
|
||||||
path = subsubsubelement.attrib['name']
|
path = subsubsubelement.attrib['name']
|
||||||
npath = normalize_family(subsubsubelement.attrib['name'])
|
npath = normalize_family(subsubsubelement.attrib['name'])
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<rougail version="0.9">
|
||||||
<services>
|
<services>
|
||||||
<service name="tata">
|
<service name="tata">
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<rougail version="0.10">
|
|
||||||
<variables>
|
<rougail version="0.9">
|
||||||
<family name="general" description="général">
|
<variables>
|
||||||
<variable name="mode_conteneur_actif1" type="string" description="No change" hidden="True">
|
<family name="general" description="général">
|
||||||
<value>non</value>
|
<variable name='mode_conteneur_actif1' type='string' description="No change" hidden="True">
|
||||||
</variable>
|
<value>non</value>
|
||||||
</family>
|
</variable>
|
||||||
</variables>
|
</family>
|
||||||
|
</variables>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,17 +1,19 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,19 +1,22 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<param type="variable">mode_conteneur_actif1</param>
|
<fill name="calc_val">
|
||||||
<target>mode_conteneur_actif</target>
|
<param type="variable">mode_conteneur_actif1</param>
|
||||||
</fill>
|
<target>mode_conteneur_actif</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,18 +1,21 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<target>mode_conteneur_actif</target>
|
<fill name="calc_val">
|
||||||
</fill>
|
<target>mode_conteneur_actif</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,16 +1,20 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<rougail version="0.9">
|
||||||
<services>
|
|
||||||
<service name="test">
|
<services>
|
||||||
<file>/etc/file</file>
|
<service name="test">
|
||||||
<file engine="jinja2">/etc/file2</file>
|
<file>/etc/file</file>
|
||||||
</service>
|
<file engine="jinja2">/etc/file2</file>
|
||||||
</services>
|
</service>
|
||||||
<variables>
|
</services>
|
||||||
<family name="general">
|
|
||||||
<variable name="mode_conteneur_actif" type="string" description="Description">
|
<variables>
|
||||||
<value>non</value>
|
<family name="general">
|
||||||
</variable>
|
<variable name="mode_conteneur_actif" type="string" description="Description">
|
||||||
</family>
|
<value>non</value>
|
||||||
</variables>
|
</variable>
|
||||||
|
</family>
|
||||||
|
</variables>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,16 +1,20 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<rougail version="0.9">
|
||||||
<services>
|
|
||||||
<service name="test">
|
<services>
|
||||||
<file>/etc/file</file>
|
<service name="test">
|
||||||
<file engine="jinja2">/etc/file2</file>
|
<file>/etc/file</file>
|
||||||
</service>
|
<file engine="jinja2">/etc/file2</file>
|
||||||
</services>
|
</service>
|
||||||
<variables>
|
</services>
|
||||||
<family name="general">
|
|
||||||
<variable name="mode_conteneur_actif" type="string" description="Description">
|
<variables>
|
||||||
<value>non</value>
|
<family name="general">
|
||||||
</variable>
|
<variable name="mode_conteneur_actif" type="string" description="Description">
|
||||||
</family>
|
<value>non</value>
|
||||||
</variables>
|
</variable>
|
||||||
|
</family>
|
||||||
|
</variables>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,17 +1,21 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<rougail version="0.9">
|
||||||
<services>
|
|
||||||
<service name="test">
|
<services>
|
||||||
<file>/etc/file</file>
|
<service name="test">
|
||||||
<file engine="jinja2">/etc/file2</file>
|
<file>/etc/file</file>
|
||||||
<file included="content">/etc/dir/incfile</file>
|
<file engine="jinja2">/etc/file2</file>
|
||||||
</service>
|
<file included="content">/etc/dir/incfile</file>
|
||||||
</services>
|
</service>
|
||||||
<variables>
|
</services>
|
||||||
<family name="general">
|
|
||||||
<variable name="mode_conteneur_actif" type="string" description="Description">
|
<variables>
|
||||||
<value>non</value>
|
<family name="general">
|
||||||
</variable>
|
<variable name="mode_conteneur_actif" type="string" description="Description">
|
||||||
</family>
|
<value>non</value>
|
||||||
</variables>
|
</variable>
|
||||||
|
</family>
|
||||||
|
</variables>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,17 +1,21 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<rougail version="0.9">
|
||||||
<services>
|
|
||||||
<service name="test">
|
<services>
|
||||||
<file>/etc/file</file>
|
<service name="test">
|
||||||
<file engine="jinja2">/etc/file2</file>
|
<file>/etc/file</file>
|
||||||
<file included="name">/etc/dir/incfile</file>
|
<file engine="jinja2">/etc/file2</file>
|
||||||
</service>
|
<file included="name">/etc/dir/incfile</file>
|
||||||
</services>
|
</service>
|
||||||
<variables>
|
</services>
|
||||||
<family name="general">
|
|
||||||
<variable name="mode_conteneur_actif" type="string" description="Description">
|
<variables>
|
||||||
<value>non</value>
|
<family name="general">
|
||||||
</variable>
|
<variable name="mode_conteneur_actif" type="string" description="Description">
|
||||||
</family>
|
<value>non</value>
|
||||||
</variables>
|
</variable>
|
||||||
|
</family>
|
||||||
|
</variables>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,16 +1,20 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<rougail version="0.9">
|
||||||
<services>
|
|
||||||
<service name="test">
|
<services>
|
||||||
<file>/etc/file</file>
|
<service name="test">
|
||||||
<file engine="jinja2">/etc/file2</file>
|
<file>/etc/file</file>
|
||||||
</service>
|
<file engine="jinja2">/etc/file2</file>
|
||||||
</services>
|
</service>
|
||||||
<variables>
|
</services>
|
||||||
<family name="general">
|
|
||||||
<variable name="mode_conteneur_actif" type="string" description="Description">
|
<variables>
|
||||||
<value>non</value>
|
<family name="general">
|
||||||
</variable>
|
<variable name="mode_conteneur_actif" type="string" description="Description">
|
||||||
</family>
|
<value>non</value>
|
||||||
</variables>
|
</variable>
|
||||||
|
</family>
|
||||||
|
</variables>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,16 +1,20 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<rougail version="0.9">
|
||||||
<services>
|
|
||||||
<service name="test">
|
<services>
|
||||||
<file>/etc/systemd-makefs@dev-disk-by\x2dpartlabel</file>
|
<service name="test">
|
||||||
<file engine="jinja2">/etc/systemd-makefs@dev-disk-by\x2dpartlabel2</file>
|
<file>/etc/systemd-makefs@dev-disk-by\x2dpartlabel</file>
|
||||||
</service>
|
<file engine="jinja2">/etc/systemd-makefs@dev-disk-by\x2dpartlabel2</file>
|
||||||
</services>
|
</service>
|
||||||
<variables>
|
</services>
|
||||||
<family name="general">
|
|
||||||
<variable name="mode_conteneur_actif" type="string" description="Description">
|
<variables>
|
||||||
<value>non</value>
|
<family name="general">
|
||||||
</variable>
|
<variable name="mode_conteneur_actif" type="string" description="Description">
|
||||||
</family>
|
<value>non</value>
|
||||||
</variables>
|
</variable>
|
||||||
|
</family>
|
||||||
|
</variables>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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 "'/>
|
||||||
</family>
|
</family>
|
||||||
</variables>
|
</variables>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,20 +1,23 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<param type="variable">my_var2</param>
|
<fill name="calc_val">
|
||||||
<target>my_var1</target>
|
<param type="variable">my_var2</param>
|
||||||
</fill>
|
<target>my_var1</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,20 +1,23 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<param type="variable">mode_conteneur_actif1</param>
|
<fill name="calc_val">
|
||||||
<target>mode_conteneur_actif</target>
|
<param type="variable">mode_conteneur_actif1</param>
|
||||||
</fill>
|
<target>mode_conteneur_actif</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,17 +1,20 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<param type="variable">mode_conteneur_actif1</param>
|
<fill name="calc_val">
|
||||||
<target>mode_conteneur_actif</target>
|
<param type="variable">mode_conteneur_actif1</param>
|
||||||
</fill>
|
<target>mode_conteneur_actif</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,17 +1,20 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<param type="variable">mode_conteneur_actif1</param>
|
<fill name="calc_val">
|
||||||
<target>mode_conteneur_actif</target>
|
<param type="variable">mode_conteneur_actif1</param>
|
||||||
</fill>
|
<target>mode_conteneur_actif</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,17 +1,20 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<param type="number">3</param>
|
<fill name="calc_val">
|
||||||
<target>mode_conteneur_actif</target>
|
<param type="number">3</param>
|
||||||
</fill>
|
<target>mode_conteneur_actif</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,19 +1,22 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<param type="variable" optional="True">mode_conteneur_actif4</param>
|
<fill name="calc_val">
|
||||||
<target>mode_conteneur_actif</target>
|
<param type="variable" optional="True">mode_conteneur_actif4</param>
|
||||||
</fill>
|
<target>mode_conteneur_actif</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,21 +1,24 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<param type="variable" optional="True">mode_conteneur_actif4</param>
|
<fill name="calc_val">
|
||||||
<param type="variable">mode_conteneur_actif1</param>
|
<param type="variable" optional="True">mode_conteneur_actif4</param>
|
||||||
<param type="variable" optional="True">mode_conteneur_actif3</param>
|
<param type="variable">mode_conteneur_actif1</param>
|
||||||
<target>mode_conteneur_actif</target>
|
<param type="variable" optional="True">mode_conteneur_actif3</param>
|
||||||
</fill>
|
<target>mode_conteneur_actif</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,29 +1,32 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<param>quote'</param>
|
<fill name="calc_val">
|
||||||
<target>mode_conteneur_actif</target>
|
<param>quote'</param>
|
||||||
</fill>
|
<target>mode_conteneur_actif</target>
|
||||||
<fill name="calc_val">
|
</fill>
|
||||||
<param>quote"</param>
|
<fill name="calc_val">
|
||||||
<target>mode_conteneur_actif1</target>
|
<param>quote"</param>
|
||||||
</fill>
|
<target>mode_conteneur_actif1</target>
|
||||||
<fill name="calc_val">
|
</fill>
|
||||||
<param>quote"'</param>
|
<fill name="calc_val">
|
||||||
<target>mode_conteneur_actif2</target>
|
<param>quote"'</param>
|
||||||
</fill>
|
<target>mode_conteneur_actif2</target>
|
||||||
<fill name="calc_val">
|
</fill>
|
||||||
<param>quote"\'</param>
|
<fill name="calc_val">
|
||||||
<target>mode_conteneur_actif3</target>
|
<param>quote"\'</param>
|
||||||
</fill>
|
<target>mode_conteneur_actif3</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,16 +1,19 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<param type="variable">mode_conteneur_actif1</param>
|
<fill name="calc_val">
|
||||||
<target optional="True">mode_conteneur_actif</target>
|
<param type="variable">mode_conteneur_actif1</param>
|
||||||
</fill>
|
<target optional="True">mode_conteneur_actif</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,21 +1,23 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<rougail version="0.9">
|
||||||
<variables>
|
<variables>
|
||||||
<variable name="my_variable"/>
|
<variable name="my_variable"/>
|
||||||
</variables>
|
</variables>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,22 +1,24 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,16 +1,19 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_value">
|
<constraints>
|
||||||
<param type="variable">var1</param>
|
<fill name="calc_value">
|
||||||
<param type="boolean" name="multi">True</param>
|
<param type="variable">var1</param>
|
||||||
<target>var2</target>
|
<param type="boolean" name="multi">True</param>
|
||||||
</fill>
|
<target>var2</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,17 +1,20 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_value">
|
<constraints>
|
||||||
<param type="variable">var1</param>
|
<fill name="calc_value">
|
||||||
<target>var2</target>
|
<param type="variable">var1</param>
|
||||||
</fill>
|
<target>var2</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,18 +1,21 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<param>oui</param>
|
<fill name="calc_val">
|
||||||
<target>autosavevar</target>
|
<param>oui</param>
|
||||||
</fill>
|
<target>autosavevar</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,18 +1,20 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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
|
||||||
|
-->
|
||||||
|
|
|
@ -1,16 +1,19 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<check name="valid_lower">
|
<constraints>
|
||||||
<target>int</target>
|
<check name="valid_lower">
|
||||||
</check>
|
<target>int</target>
|
||||||
</constraints>
|
</check>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,21 +1,24 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<check name="valid_lower">
|
<constraints>
|
||||||
<param name="mini" type="number">0</param>
|
<check name="valid_lower">
|
||||||
<param name="maxi" type="variable">int2</param>
|
<param name="mini" type="number">0</param>
|
||||||
<target>int</target>
|
<param name="maxi" type="variable">int2</param>
|
||||||
</check>
|
<target>int</target>
|
||||||
</constraints>
|
</check>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,22 +1,25 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<check name="valid_differ">
|
<constraints>
|
||||||
<param type="variable" optional="True">int2</param>
|
<check name="valid_differ">
|
||||||
<target>int</target>
|
<param type="variable" optional="True">int2</param>
|
||||||
</check>
|
<target>int</target>
|
||||||
<check name="valid_differ">
|
</check>
|
||||||
<param type="variable" optional="True">int3</param>
|
<check name="valid_differ">
|
||||||
<target>int</target>
|
<param type="variable" optional="True">int3</param>
|
||||||
</check>
|
<target>int</target>
|
||||||
</constraints>
|
</check>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,19 +1,22 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<check name="valid_differ">
|
<constraints>
|
||||||
<param type="variable">mode_conteneur_actif1</param>
|
<check name="valid_differ">
|
||||||
<target>mode_conteneur_actif</target>
|
<param type="variable">mode_conteneur_actif1</param>
|
||||||
</check>
|
<target>mode_conteneur_actif</target>
|
||||||
</constraints>
|
</check>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,25 +1,28 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<check name="valid_differ">
|
<constraints>
|
||||||
<param type="variable">mode_conteneur_actif1</param>
|
<check name="valid_differ">
|
||||||
<target>mode_conteneur_actif3</target>
|
<param type="variable">mode_conteneur_actif1</param>
|
||||||
</check>
|
<target>mode_conteneur_actif3</target>
|
||||||
</constraints>
|
</check>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,18 +1,21 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<check name="valid_differ">
|
<constraints>
|
||||||
<param type="variable">mode_conteneur_actif1</param>
|
<check name="valid_differ">
|
||||||
<target>mode_conteneur_actif3</target>
|
<param type="variable">mode_conteneur_actif1</param>
|
||||||
</check>
|
<target>mode_conteneur_actif3</target>
|
||||||
<check name="valid_differ">
|
</check>
|
||||||
<param type="variable">mode_conteneur_actif2</param>
|
<check name="valid_differ">
|
||||||
<target>mode_conteneur_actif3</target>
|
<param type="variable">mode_conteneur_actif2</param>
|
||||||
</check>
|
<target>mode_conteneur_actif3</target>
|
||||||
</constraints>
|
</check>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,25 +1,28 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<check name="valid_differ">
|
<constraints>
|
||||||
<param type="variable">mode_conteneur_actif1</param>
|
<check name="valid_differ">
|
||||||
<target>mode_conteneur_actif3</target>
|
<param type="variable">mode_conteneur_actif1</param>
|
||||||
</check>
|
<target>mode_conteneur_actif3</target>
|
||||||
</constraints>
|
</check>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,20 +1,23 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<check name="valid_differ">
|
<constraints>
|
||||||
<param type="variable">mode_conteneur_actif1</param>
|
<check name="valid_differ">
|
||||||
<target>mode_conteneur_actif3</target>
|
<param type="variable">mode_conteneur_actif1</param>
|
||||||
</check>
|
<target>mode_conteneur_actif3</target>
|
||||||
<check name="valid_differ">
|
</check>
|
||||||
<param type="variable">mode_conteneur_actif2</param>
|
<check name="valid_differ">
|
||||||
<target>mode_conteneur_actif3</target>
|
<param type="variable">mode_conteneur_actif2</param>
|
||||||
</check>
|
<target>mode_conteneur_actif3</target>
|
||||||
</constraints>
|
</check>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,20 +1,23 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<check name="valid_in_network" level="warning">
|
<constraints>
|
||||||
<param type="variable">adresse_ip_eth0</param>
|
<check name="valid_in_network" level="warning">
|
||||||
<param type="variable">adresse_netmask_eth0</param>
|
<param type="variable">adresse_ip_eth0</param>
|
||||||
<target>adresse_ip</target>
|
<param type="variable">adresse_netmask_eth0</param>
|
||||||
</check>
|
<target>adresse_ip</target>
|
||||||
</constraints>
|
</check>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,18 +1,21 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<check name="valid_in_network" level="warning">
|
<constraints>
|
||||||
<param type="variable">adresse_ip_eth0</param>
|
<check name="valid_in_network" level="warning">
|
||||||
<target>adresse_ip</target>
|
<param type="variable">adresse_ip_eth0</param>
|
||||||
</check>
|
<target>adresse_ip</target>
|
||||||
</constraints>
|
</check>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,18 +1,21 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<check name="valid_ipnetmask" level="warning">
|
<constraints>
|
||||||
<param type="variable">adresse_ip_eth0</param>
|
<check name="valid_ipnetmask" level="warning">
|
||||||
<target>adresse_netmask_eth0</target>
|
<param type="variable">adresse_ip_eth0</param>
|
||||||
</check>
|
<target>adresse_netmask_eth0</target>
|
||||||
</constraints>
|
</check>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<fill name="calc_val">
|
<constraints>
|
||||||
<param type="information">test_information</param>
|
<fill name="calc_val">
|
||||||
<target>mode_conteneur_actif</target>
|
<param type="information">test_information</param>
|
||||||
</fill>
|
<target>mode_conteneur_actif</target>
|
||||||
</constraints>
|
</fill>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,26 +1,30 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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>
|
|
||||||
<check name="valid_enum">
|
<constraints>
|
||||||
<param>1</param>
|
<check name="valid_enum">
|
||||||
<param>2</param>
|
<param>1</param>
|
||||||
<param>3</param>
|
<param>2</param>
|
||||||
<target>enumvar</target>
|
<param>3</param>
|
||||||
</check>
|
<target>enumvar</target>
|
||||||
<condition name="hidden_if_in" source="enumvar">
|
</check>
|
||||||
<param>4</param>
|
<condition name="hidden_if_in" source="enumvar">
|
||||||
<target type="variable">test_variable</target>
|
<param>4</param>
|
||||||
</condition>
|
<target type="variable">test_variable</target>
|
||||||
</constraints>
|
</condition>
|
||||||
|
</constraints>
|
||||||
|
|
||||||
</rougail>
|
</rougail>
|
||||||
|
<!-- vim: ts=4 sw=4 expandtab
|
||||||
|
-->
|
||||||
|
|
|
@ -1,27 +1,30 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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">
|
||||||
<family name="leader" description="leader" leadership="True">
|
<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>
|
||||||
</family>
|
|
||||||
</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">
|
||||||
</constraints>
|
<follower>follower1</follower>
|
||||||
|
<follower>follower2</follower>
|
||||||
|
</group>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<rougail version="0.9">
|
||||||
<variables>
|
<variables>
|
||||||
<family name="general1">
|
<family name="general1">
|
||||||
<family name="leader" leadership="True">
|
<variable name="follower3" type="string" description="follower3"/>
|
||||||
<variable name="follower3" type="string" description="follower3"/>
|
</family>
|
||||||
</family>
|
</variables>
|
||||||
</family>
|
|
||||||
</variables>
|
<constraints>
|
||||||
<constraints/>
|
<group leader="leader">
|
||||||
|
<follower>follower3</follower>
|
||||||
|
</group>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
|
@ -1,27 +1,30 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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">
|
||||||
<family name="leader" description="leader" leadership="True">
|
<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>
|
||||||
</family>
|
|
||||||
</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">
|
||||||
</constraints>
|
<follower>follower1</follower>
|
||||||
|
<follower>follower2</follower>
|
||||||
|
</group>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<rougail version="0.9">
|
||||||
<variables>
|
<variables>
|
||||||
<family name="general1">
|
<family name="general1">
|
||||||
<family name="leader" leadership="True">
|
<variable name="follower3" type="string" description="follower3"/>
|
||||||
<variable name="follower3" type="string" description="follower3"/>
|
</family>
|
||||||
</family>
|
</variables>
|
||||||
</family>
|
|
||||||
</variables>
|
<constraints>
|
||||||
<constraints/>
|
<group leader="leader">
|
||||||
|
<follower>follower3</follower>
|
||||||
|
</group>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
|
@ -1,27 +1,30 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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">
|
||||||
<family name="leadership" description="leadership" leadership="True">
|
<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>
|
||||||
</family>
|
|
||||||
</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">
|
||||||
</constraints>
|
<follower>follower1</follower>
|
||||||
|
<follower>follower2</follower>
|
||||||
|
</group>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<rougail version="0.9">
|
||||||
<variables>
|
<variables>
|
||||||
<family name="general1">
|
<family name="general1">
|
||||||
<family name="leadership" leadership="True">
|
<variable name="follower3" type="string" description="follower3"/>
|
||||||
<variable name="follower3" type="string" description="follower3"/>
|
</family>
|
||||||
</family>
|
</variables>
|
||||||
</family>
|
|
||||||
</variables>
|
<constraints>
|
||||||
<constraints/>
|
<group leader="leader">
|
||||||
|
<follower>follower3</follower>
|
||||||
|
</group>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
|
@ -1,30 +1,34 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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 name="leader" description="leader" leadership="True">
|
<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>
|
||||||
</family>
|
|
||||||
</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">
|
||||||
</constraints>
|
<follower>follower1</follower>
|
||||||
|
<follower>follower2</follower>
|
||||||
|
<follower>follower3</follower>
|
||||||
|
</group>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
|
@ -1,19 +1,21 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<rougail version="0.9">
|
||||||
<variables>
|
<variables>
|
||||||
<family name="leader" description="leader" leadership="True">
|
<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>
|
||||||
</family>
|
|
||||||
</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">
|
||||||
</constraints>
|
<follower>follower1</follower>
|
||||||
|
</group>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
|
@ -1,25 +1,28 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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 name="leader" description="leader" leadership="True">
|
<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>
|
||||||
</family>
|
|
||||||
</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">
|
||||||
</constraints>
|
<follower>follower1</follower>
|
||||||
|
<follower>follower2</follower>
|
||||||
|
</group>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
|
@ -1,23 +1,26 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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">
|
||||||
<family name="leader" description="leader" leadership="True">
|
<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>
|
||||||
</family>
|
|
||||||
</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">
|
||||||
</constraints>
|
<follower>follower1</follower>
|
||||||
|
<follower>follower2</follower>
|
||||||
|
</group>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
|
@ -1,25 +1,28 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<rougail version="0.10">
|
<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 name="leader" description="leader" leadership="True">
|
<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>
|
||||||
</family>
|
|
||||||
</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">
|
||||||
</constraints>
|
<follower>follower1</follower>
|
||||||
|
<follower>follower2</follower>
|
||||||
|
</group>
|
||||||
|
</constraints>
|
||||||
</rougail>
|
</rougail>
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue