Tâche #5154
Scénario #9379: Consolidation CREOLE
Le chargement des XML ne gère pas correctement les espaces
Status:
Ne sera pas résolu
Priority:
Normal
Assigned To:
-
Target version:
Remaining (hours):
0.0
Description
Normalement en XML les espaces ne sont pas significatif, sauf mention explicite.
Aini, le morceaux de XML suivant :
<interface linkto="eth1"
ip="adresse_ip_ltsp_link"
mask="adresse_mask_ltsp_link"
bcast="adresse_bcast_ltsp_link"
method="bridge"
interfacelist="ltsp_mode_2_cartes">
eth1
</interface>
Génère une interface avec un nom bien étrange :
>>> from creole.client import CreoleClient; c = CreoleClient()
>>> from creole import containers
>>> containers.get_components([c.get_container('ltsp')])
{'disknods': [],
[…]
'interfaces': [{u'activate': True,
[…]
u'name': u'\n eth1\n '},
}
History
#1 Updated by Luc Bourdot over 6 years ago
- Parent task set to #9379
#2 Updated by Benjamin Bohard over 6 years ago
- Estimated time set to 1.00 h
- Remaining (hours) set to 1.0
#3 Updated by Emmanuel GARETTE over 6 years ago
- Status changed from Nouveau to En cours
- Start date set to 10/28/2014
#4 Updated by Emmanuel GARETTE over 6 years ago
- Status changed from En cours to Ne sera pas résolu
- % Done changed from 0 to 100
- Remaining (hours) changed from 1.0 to 0.0
Après discussion, sur la 2.3 il y a eu un gros travail d'harmonisation des dictionnaires. Il faudrait que tous les dictionnaires aient la même tête pour une lecture plus facile.
Il ne semble pas opportun de changer tous les dictionnaires en ce moment.