Tâche #25084
Scénario #24946: EOLE 2.7 : Terminer la gestion du réseau avec netplan
En 2.7.0, toutes les variables vlan_id_ethX sont des entiers
Restant à faire (heures):
0.0
Description
=> il faut gérer la migration + mettre à jour les configurations !
jojo@jojo-MS-B09611:~/git/eole-common/dicos (master=)$ rgrep vlan_id | grep -v target | grep type= 01_network_interface3.xml: <variable name='vlan_id_eth3' type='number' description="Numéro d'identifiant du VLAN" multi='True' mandatory='True' /> 01_network_interface2.xml: <variable name='vlan_id_eth2' type='number' description="Numéro d'identifiant du VLAN" multi='True' mandatory='True' /> 01_network_interface4.xml: <variable name='vlan_id_eth4' type='number' description="Numéro d'identifiant du VLAN" multi='True' mandatory='True' /> 01_network_interface0.xml: <variable name='vlan_id_eth0' type='number' description="Numéro d'identifiant du VLAN" multi='True' mandatory='True' /> 01_network_interface1.xml: <variable name='vlan_id_eth1' type='number' description="Numéro d'identifiant du VLAN" multi='True' mandatory='True' />
jojo@jojo-MS-B09611:~/git/eole-common/dicos (2.6.2/master=)$ rgrep vlan_id | grep -v target | grep type= 01_network.xml: <variable name='vlan_id_eth0' type='number' description="Numéro d'identifiant du VLAN" multi='True' mandatory='True' /> 01_network.xml: <variable name='vlan_id_eth1' type='string' description="Numéro d'identifiant du VLAN" multi='True' mandatory='True' /> 01_network.xml: <variable name='vlan_id_eth2' type='string' description="Numéro d'identifiant du VLAN" multi='True' mandatory='True' /> 01_network.xml: <variable name='vlan_id_eth3' type='string' description="Numéro d'identifiant du VLAN" multi='True' mandatory='True' /> 01_network.xml: <variable name='vlan_id_eth4' type='string' description="Numéro d'identifiant du VLAN" multi='True' mandatory='True' />
Révisions associées
Upgrade vlan_id_ethX variables ref: #25084
- loader1.py : store slave vars on error
- upgrade24.py : upgrade vlan_id_ethX vars and their slaves
Ref: #25084
Unit test for VLAN variables upgrade ref: #25084
Historique
#1 Mis à jour par Joël Cuissinat il y a plus de 5 ans
- Description mis à jour (diff)
#2 Mis à jour par Scrum Master il y a plus de 5 ans
- Statut changé de Nouveau à En cours
#3 Mis à jour par Joël Cuissinat il y a plus de 5 ans
- Statut changé de En cours à Résolu
- % réalisé changé de 0 à 100
- Temps estimé mis à 2.00 h
- Restant à faire (heures) mis à 0.25
#4 Mis à jour par Daniel Dehennin il y a plus de 5 ans
- Description mis à jour (diff)
- Restant à faire (heures) changé de 0.25 à 0.0
#5 Mis à jour par Daniel Dehennin il y a plus de 5 ans
Import sans erreur d’une configuration 2.5 contenant:
{
"___version___": "2.5.2",
"vlan_id_eth0": {
"owner": "gen_config",
"val": [
10,
20
]
},
"vlan_id_eth1": {
"owner": "gen_config",
"val": [
"30",
"40"
]
},
}
#6 Mis à jour par Daniel Dehennin il y a plus de 5 ans
- Statut changé de Résolu à Fermé