Evolution #7569
Ajouter et utiliser un type Creole "hostname_strict"
Description
Le signalement #7566 a mis en évidence le fait que le type "hostname" actuel interdisait l'utilisation d'une adresse IP.
Il faudrait que les IP soient autorisées pour le type "hostname" et créer un nouveau type "hostname_strict" qui n'accepterait pas les IP.
Related issues
Associated revisions
Utilisation du type "hostname_strict"
Ref #7569 @10m
Utilisation du type "hostname_strict"
Ref #7569 @10m
Mise à niveau de la version creole requise
Ref #7569 @5m
Utilisation du type "hostname_strict"
Ref #7569 @10m
Utilisation du type "hostname_strict"
Fixes #7569 @15m
History
#1 Updated by Joël Cuissinat over 9 years ago
- File 99_hostname.xml View added
- Assigned To set to Joël Cuissinat
Le dictionnaire fourni en pièce jointe permet de tester les deux types de variables.
#2 Updated by Joël Cuissinat over 9 years ago
+ Ajout dans la documentation dans Scenari 4.0 (/2_4/commun/02_miseEnOeuvre/07_personnalisation/02_dicos/031-typesCreole.unit)
#3 Updated by Joël Cuissinat over 9 years ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit eole-proxy:791ab1d07f9b1eb0c384c7ccfeec4ab8449fd586.
#4 Updated by Joël Cuissinat over 9 years ago
- Due date set to 03/07/2014
#5 Updated by Emmanuel GARETTE over 9 years ago
- Status changed from Résolu to Fermé
OK :
root@scribe:~# grep hostname_strict /usr/share/eole/creole/dicos/* /usr/share/eole/creole/dicos/00_common.xml: <variable name='nom_machine' type='hostname_strict' description='Nom de la machine' mandatory='True' mode='basic'/> [...] root@scribe:~# CreoleSet nom_machine 1.1.1.1 Valeur invalide : invalid value for option nom_machine: invalid domainname