I can unassign interface even if it is used in FRR OSPF
There was IPsec VTI tunnel with assigned interface. The interface was used in FRR OSPF settings as OSPF interface. If I remove interface from assigned it still exists in FRR OSPF settings. No warnings during unassigning, I could only find the issue when tried to disable IPsec VTI entry, I got warning:
Cannot disable a Phase 1 with a child Phase 2 while the interface is assigned. Remove the interface assignment before disabling this P2. But there was not assigned interface related to this IPsec entry, interface was deleted, excepting previously assigned interface is still in FRR OSPF settings.
The warning is not easy to figure out if you do not know/remember where else related interface was used. I guess we need warning for unassigning interface if one is used in FRR, or delete it from FRR config.
#2 Updated by Viktor Gurov 9 months ago
There is no elegant or simple way for notifying a running package that an interface is being removed or unassigned within the pfSense GUI.
It is probably better to expect the user to understand the potential ramifications of removing or unassigning an interface that may also be in active use by a package.