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
Remaining (hours):
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' />
Associated revisions
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
History
#1 Updated by Joël Cuissinat about 5 years ago
- Description updated (diff)
#2 Updated by Scrum Master about 5 years ago
- Status changed from Nouveau to En cours
#3 Updated by Joël Cuissinat about 5 years ago
- Status changed from En cours to Résolu
- % Done changed from 0 to 100
- Estimated time set to 2.00 h
- Remaining (hours) set to 0.25
#4 Updated by Daniel Dehennin almost 5 years ago
- Description updated (diff)
- Remaining (hours) changed from 0.25 to 0.0
#5 Updated by Daniel Dehennin almost 5 years ago
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 Updated by Daniel Dehennin almost 5 years ago
- Status changed from Résolu to Fermé