[pve-devel] [PATCH network] frr: early exit on apply when frr is not installed

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jul 23 18:28:39 CEST 2025


Am 23.07.25 um 18:26 schrieb Stefan Hanreich:
>> +    if (!-e $PVE::Network::SDN::Frr::FRR_CONFIG_FILE) {
>> +        print "frr is not installed, not generating any frr configuration\n";
>> +        return;
>> +    }
>> +
> The old code checked for the existence of /etc/frr [1] - maybe we should
> keep it like that?
> 
> [1]
> https://git.proxmox.com/?p=pve-network.git;a=blob;f=src/PVE/Network/SDN/Controllers/EvpnPlugin.pm;h=5b1a9aa73c8048bab21d9087d1ba4715f4d2425a;hb=8f4f5d2074989cf814d2f2312360239377c495f5#l612

Yeah, might become a "chicken and egg" problem otherwise.




More information about the pve-devel mailing list