SDN Loopback adapter address not read from /etc/network/interfaces.d/

proxy84

New Member
Mar 14, 2023
3
0
1
With a dummy interface dummy0 defined in file /etc/network/interfaces.d/dummy and in SDN settings setting Loopback interface to dummy0, SDN does not set the SRC ip in the frr config correctly.

With the dummy interface definied directly in the file /etc/network/interfaces file, SDN finds this and correctly sets the src IP as the dummy address.

Should the call to


my $network_config = PVE::INotify::read_file('interfaces');


in the file https://git.proxmox.com/?p=pve-netw...c;hb=78f249bcc8377436f0b5ccff0723d0464f588ad8

Actually load config from files in interfaces.d ?
 
PVE will only parse the "main" interfaces file, not anything included from it.