Page MenuHomeVyOS Platform

Error creating VRF with a name of exactly 16 characters
Closed, ResolvedPublicBUG


When creating a VRF with a name of exactly 16 characters the following error below is given.

Steps to reproduce

  1. set vrf name 1234567890123456 table 1001
  2. commit


[ vrf ]
Error changing VRF
failed to run command: ip link add 1234567890123456 type vrf table 1001
exit code: 255

[[vrf]] failed
Commit failed


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

c-po changed the task status from Open to In progress.May 30 2020, 9:13 AM
c-po claimed this task.
c-po triaged this task as Normal priority.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.

Validator now prevents this

[email protected]# set vrf name 1234567890123456 table 1001

  VRF instance name must be 15 characters or less and can not
  be named as regular network interfaces.

  Value validation failed
  Set failed
erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 5:51 AM
erkin removed a subscriber: Active contributors.