Page MenuHomeVyOS Platform

bridge: missing member interface validator
Closed, ResolvedPublicBUG

Description

We can have an uppercase member interface in the bridge config

bridge br1 {
    enable-vlan
    member {
        interface Vxlan1 {
        }
    }
}

But an upper case VXLAN interface can not be created.

During debugging of this I also noticed that there are multiple different calls to confi.exists() in vyos.configdict - some use string, some use list as argument.
This has been streamlined to only make use of lists.

Details

Difficulty level
Easy (less than an hour)
Version
1.4-rolling-202310041000
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Stricter validation
Issue type
Bug (incorrect behavior)

Related Objects

Mentioned In
1.3.5