[pve-devel] [PATCH pve-network 0/4] use .version instead .new files

Alexandre DERUMIER aderumier at odiso.com
Mon Apr 20 10:59:21 CEST 2020


Hi Thomas,

did you have time to review theses patches ?

what do you think about it ?


----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Cc: "aderumier" <aderumier at odiso.com>
Envoyé: Lundi 13 Avril 2020 08:20:39
Objet: [PATCH pve-network 0/4] use .version instead .new files

Avoid to use .new files for changes, and use a global .version 
file increase at each change. 

Use this version file to compare local generated version instead 
file timestamp. 

This require pve-cluster patch series 

Alexandre Derumier (4): 
remove .new files 
sdn: use .version and global lock 
/etc/network/interfaces.d/sdn : add version 
zones: status : use version to compare local sdn vs cluster sdn 

PVE/API2/Network/SDN.pm | 15 -------- 
PVE/API2/Network/SDN/Controllers.pm | 36 ++++++------------- 
PVE/API2/Network/SDN/Vnets.pm | 34 ++++++------------ 
PVE/API2/Network/SDN/Zones.pm | 35 ++++++------------- 
PVE/Network/SDN.pm | 46 ++++++++++++++++++++++++ 
PVE/Network/SDN/Controllers.pm | 6 ++-- 
PVE/Network/SDN/Controllers/Plugin.pm | 3 -- 
PVE/Network/SDN/VnetPlugin.pm | 3 -- 
PVE/Network/SDN/Vnets.pm | 15 ++------ 
PVE/Network/SDN/Zones.pm | 50 +++++++++++---------------- 
PVE/Network/SDN/Zones/Plugin.pm | 3 -- 
11 files changed, 102 insertions(+), 144 deletions(-) 

-- 
2.20.1 




More information about the pve-devel mailing list