Ok, 
I'll begin to code, and we'll see what's the best way !

----- Mail original -----
De: "dietmar" <diet...@proxmox.com>
À: "aderumier" <aderum...@odiso.com>
Cc: "pve-devel" <pve-devel@pve.proxmox.com>
Envoyé: Vendredi 1 Mars 2019 09:39:33
Objet: Re: [pve-devel] rfc : /etc/pve/networks.cfg implementation

> Maybe could we reuse pvestatd ? 

maybe 

> maybe we could add a version parameter in /etc/pve/networks.cfg, (user need 
> to increment it to apply config on different nodes, like push a button 
> "commit" in gui), 
> 
> then pvestatd simply need to compare this version with local version (should 
> be fast and non blocking), and fork a background task to do the change ? 

You can simply compute an sha digest to detect changes. 

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to