Page MenuHomeVyOS Platform

Support VXLAN VLAN-VNI range mapping in CLI
Closed, ResolvedPublicFEATURE REQUEST

Description

Currently, VXLAN VLAN-VNI mapping is 1 to 1 mapping and 1 entry for 1 mapping.
Suggest to support range-based mapping in 1 config entry.

Syntax example

set int vxlan vxlan1 vlan-to-vni 2-4094 vni 10002-14094

which means "vid 2 maps vni 10002, vid 3 maps vni 10003, and so on"

Details

Version
-
Is it a breaking change?
Config syntax change (migratable)
Issue type
Feature (new functionality)

Event Timeline

Viacheslav triaged this task as Wishlist priority.Jun 21 2024, 9:48 AM
natali-rs1985 changed the task status from Open to In progress.Jul 2 2024, 7:30 AM
Viacheslav changed the task status from In progress to Needs testing.Jul 25 2024, 3:38 PM
Viacheslav subscribed.

Does it work?

As I tested it it worked fine

set interfaces vxlan vxlan0 vlan-to-vni 30 vni '10030'
set interfaces vxlan vxlan0 vlan-to-vni 35-40 vni '10035-10040'
commit

vyos@vyos# bridge --json vlan tunnelshow dev vxlan0
[{"ifname":"vxlan0","tunnels":[{"vlan":30,"tunid":10030},{"vlan":35,"vlanEnd":40,"tunid":10035,"tunidEnd":10040}]}]

Could you close the task?
Thanks

natali-rs1985 moved this task from In Progress to Finished on the VyOS 1.5 Circinus board.
natali-rs1985 moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.1) board.