Page MenuHomeVyOS Platform

vrf: ensure no duplicate VNIs can be created
Closed, ResolvedPublicBUG

Description

It makes no sense to create the same VNI multiple times. It's also not allowed by FRR so it must be forbiddne in VyOS, too

LR1.wue3# conf t
LR1.wue3(config)# vrf foo
LR1.wue3(config-vrf)# vni 100
LR1.wue3(config-vrf)# exit-vrf
LR1.wue3(config)# vrf bar
LR1.wue3(config-vrf)# vni 100
% Configuration failed.

Error type: validation
Error description: VNI 100 is already configured as L3-VNI

Details

Difficulty level
Normal (likely a few hours)
Version
1.4-rolling-202304230317
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Stricter validation
Issue type
Improvement (missing useful functionality)

Event Timeline

c-po changed the task status from Open to In progress.Apr 23 2023, 1:13 PM
c-po claimed this task.
c-po triaged this task as Normal priority.
c-po created this task.