Project

General

Profile

Anomalie #3741

dicos/01_network.xml : configuration des hidden_if_in de adresse_ip_ethX étrange

Added by Emmanuel GARETTE about 8 years ago. Updated almost 8 years ago.

Status:
Fermé
Priority:
Bas
Assigned To:
Category:
-
Start date:
07/02/2012
Due date:
% Done:

100%

Distribution:
EOLE 2.4

Description

Le bloc suivant est trop compliqué et étrange :

        <condition name='hidden_if_not_in' source='eth0_method'>
            <param>statique</param>
            <target type='variable'>adresse_ip_eth0</target>
            <target type='variable'>adresse_netmask_eth0</target>
            <target type='variable'>adresse_network_eth0</target>
            <target type='variable'>adresse_broadcast_eth0</target>
            <target type='variable'>adresse_ip_gw</target>
        </condition>
        <condition name='hidden_if_in' source='eth0_method'>
            <param>dhcp</param>
            <param>pppoe</param>
            <target type='variable'>adresse_ip_eth0</target>
            <target type='variable'>adresse_netmask_eth0</target>
            <target type='variable'>adresse_network_eth0</target>
            <target type='variable'>adresse_broadcast_eth0</target>
            <target type='variable'>adresse_ip_gw</target>
        </condition>
        <condition name='hidden_if_in' source='eth0_method'>
            <param>statique</param>
            <param>dhcp</param>
            <target type='variable'>pppoe_user</target>
            <target type='variable'>pppoe_passwd</target>
            <target type='variable'>pppoe_interface</target>
            <target type='filelist'>pppoe</target>
        </condition>
        <condition name='hidden_if_in' source='eth0_method'>
            <param>statique</param>
            <param>pppoe</param>
            <target type='filelist'>dhcp</target>
        </condition>

Parce que :

  • eth0_method est en double ;
  • il faudrait utiliser hidden_if_not_in pour être plus lisible.

Associated revisions

Revision 206f96af (diff)
Added by Emmanuel GARETTE about 8 years ago

dicos/01_network.xml : mise en cohérence des hidden_if_in et hidden_if_not_in de adresse_ip_eth0 (ref #3741)

Revision bdd12822 (diff)
Added by Johan Cwiklinski over 2 years ago

Keep files infos; fixes #3741

History

#1 Updated by Joël Cuissinat about 8 years ago

  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 50

#2 Updated by Joël Cuissinat about 8 years ago

  • Priority changed from Normal to Bas
  • Target version changed from Mises à jour 2.3.6 RC to Mises à jour 2.3.7 RC

#3 Updated by Joël Cuissinat about 8 years ago

  • Status changed from Nouveau to Résolu
  • Target version changed from Mises à jour 2.3.7 RC to Eole 2.4-dev-1
  • % Done changed from 50 to 100
  • Distribution changed from EOLE 2.3 to EOLE 2.4

On laisse tomber pour 2.3

#4 Updated by Joël Cuissinat almost 8 years ago

  • Status changed from Résolu to Fermé

OK sur 2.4

Also available in: Atom PDF