On 19.04.21 20:11, Stoiko Ivanov wrote:
> Currently the check for used ports for bonds and bridges happens while
> rendering '/etc/network/interfaces.new' in PVE::Inotify (pve-common).
> However at that stage the new/updated interface is already merged with
> the old settings, making it impossible to indicate where a NIC is
> currently used.
> 
> The code is adapted from the renderer in
> PVE::Inotify::__write_etc_network_interfaces.
> 
> Tested on a virtual PVE instance.
> 
> Signed-off-by: Stoiko Ivanov <s.iva...@proxmox.com>
> ---
>  PVE/API2/Network.pm | 37 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 37 insertions(+)
> 
>

applied, thanks!


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

Reply via email to