Add input validation to prevent switching away from VTI or deleting a VTI P1/P2 which belongs to an assigned interface, since this would break the interface assignment and cause an interface mismatch at the next boot.
Related issues
Bug #8674: Switching IPsec phase one to vti from Tunnel IPv4 and back yields unexpected behavior
VTI input validation. Fixes #8674
Add input validation to prevent switching away from VTI or deleting a
VTI P1/P2 which belongs to an assigned interface, since this would break
the interface assignment and cause an interface mismatch at the next
boot.