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 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel