[pve-devel] rfc : /etc/pve/networks.cfg implementation

Alexandre DERUMIER aderumier at odiso.com
Fri Mar 1 10:10:01 CET 2019

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

----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at 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 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. 

More information about the pve-devel mailing list