Page MenuHomeVyOS Platform

OSPFv3: Cannot add L2TPv3 interface
Closed, ResolvedPublicBUG

Description

Hi,

there is a bug within latest rolling version. I cannot add a L2TPv3 interface to ospfv3.

Error:

vyos@vyos# set protocols ospfv3 area 0.0.0.0 interface l2tpeth801

Invalid value
Value validation failed
Set failed

run show interfaces | grep l2tp
l2tpeth801 x.x.x.x/32 u/u Core: FRA1 - AMS1

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.4-rolling-202102141111
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Yep, got bitten by that too. It's due to some interface types being absent from src/validators/interface-name. Luckily, the solution is pretty easy, here's a patch which adds l2tpeth and friends to that validator:

c-po claimed this task.
c-po triaged this task as High priority.
c-po added a project: VyOS 1.3 Equuleus.
SrividyaA set Issue type to Bug (incorrect behavior).Aug 31 2021, 12:22 PM