Bug #15616
closedGUI interface assignment input-check
0%
Description
Under some circumstances it's possible to attempt an assignment of non-existing interface which will lead to a creation of non-functioning interface entry in GUI.
Steps to reproduce:
1) create VTI IPSec;
2) open Interfaces -> Assignment tab and assign all existing interfaces besides VTI IPSec;
3) open another management tab, delete VTI IPSec and Apply;
4) return to the Interfaces -> Assignment tab without renewing it, assign IPSec interface;
It will result in the creation of "bogus" interface which is registered as some already existing Network port in Assignments tab but will be still present in config as <ipsecX> category. It will not be configurable like usual assigned VTI IPSec interface.
Screenshots attached (resulting interface OPT9, originally supposed to be ipsec2, presented in Assignment tab as duplicate igc0)
Files
Updated by Jim Pingle 6 months ago
Beyond the concurrent modification issue, ipsecX
interfaces are exempt from the existence check on assignment because they don't always exist in the OS level. If we enforced that for IPsec VTI interfaces it would break other things like the assignment check at boot.