> Two ideas that came up in my head (not sure if they are good or > sensibly implementable): > > * The networking config has the common property with the corosync > configuration (the chicken and egg problem - if it's wrong the > cluster cannot push the corrected config to a broken node) so why > don't we use the same/a similar mechanism for pushing out changes to > the live-config and getting changes from the live-config into the > pmxcfs (if we keep the live-data in pmxcfs we know when a write to it > happens and can copy it over to /etc/network/interfaces(.d) (and run > some ifquery and other tests) before)? Also this would save us from > having yet another daemon running in the background and consuming > resources.
So the idea is to detect network.cfg changes inside pmxcfs, and if we detect changes do a network reload. That way we can apply the config without an additional daemon - sounds good. > * from a very quick run with ifquery - it has the ability to read an > parse the complete config (including 'source' statements) - so we > could use this to get support for '/etc/network/interfaces.d/*' > snippets to the API and GUI (IIRC there have been a few requests from > users for such a functionality) The idea is that we are only responsible for a single file, so that makes no sense to me. _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel