Project

General

Profile

Tâche #8355

Distribution EOLE - Scénario #8326: Focus conteneurs 2.4

La redéfinition d'une interface n'est pas prise en compte

Added by Joël Cuissinat almost 7 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
Due date:
06/20/2014
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):

Description

Constaté lors du portage du dictionnaire 50_amonecole.xml

root@eolebase:~# CreoleLint -d
 [ ... ]
Traceback (most recent call last):
  File "/usr/bin/CreoleLint", line 55, in main
    validate(keyword, ansi, tmpl)
  File "/usr/lib/python2.7/dist-packages/creole/lint/creolelint.py", line 1069, in validate
    ansi.process(cl)
  File "/usr/lib/python2.7/dist-packages/creole/lint/ansiwriter.py", line 47, in process
    checks = linter.check()
  File "/usr/lib/python2.7/dist-packages/creole/lint/creolelint.py", line 938, in check
    self.load_dics()
  File "/usr/lib/python2.7/dist-packages/creole/lint/creolelint.py", line 145, in load_dics
    self._collect_vars_in_dicos()
  File "/usr/lib/python2.7/dist-packages/creole/lint/creolelint.py", line 227, in _collect_vars_in_dicos
    self.creoledic.read_dir(self.eoledirs, 'creole')
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 937, in read_dir
    self._gen_descr(namespace)
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 1360, in _gen_descr
    containers = self.gen_container(paths, namespace='containers')
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 407, in gen_container
    ret.append(getattr(self, func_name)(paths))
  File "/usr/lib/python2.7/dist-packages/creole/loader.py", line 108, in gen_interfaces
    return self.gen_generic('interfaces', paths, copy_requires='ip')
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 176, in gen_generic
    verify_exists_redefine=verify_exists_redefine)
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 279, in _gen_tiramisu_config
    variables = self._config_list_to_dict(gvariables, verify_exists_redefine)
  File "/usr/lib/python2.7/dist-packages/creole/var_loader.py", line 252, in _config_list_to_dict
    "".format(name))
ConfigError: le nom (eth1) est d\xe9j\xe0 utilis\xe9

Associated revisions

Revision bcd027a4 (diff)
Added by Joël Cuissinat almost 7 years ago

creole.dtd : déclaration du redefine pour <interface>

Fixes #8355 @30m

History

#1 Updated by Joël Cuissinat almost 7 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#2 Updated by Joël Cuissinat almost 7 years ago

  • Parent task set to #8326

#3 Updated by Joël Cuissinat almost 7 years ago

  • Target version changed from Eole 2.4.0.1 to 231

Déplacée pour qualification.

#4 Updated by Daniel Dehennin over 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF