Page MenuHomeVyOS Platform

policy: prefix-list and route-map names do not allow underscores in names (FRR does)
Closed, ResolvedPublicBUG

Description

Since T3530 was fixed so quickly, I just want to add a similar bug that is present as well.

They dont allow underscores _ in vyos shell, but vtysh allows them.

olof@vyosrouter# set route-map TO_CPE

  route-map TO_CPE: name must be alpha-numeric
  Value validation failed
  Set failed

[edit policy]
olof@vyosrouter# set prefix-list NET_80

  prefix-list name must be alpha-numeric
  Value validation failed
  Set failed


olof@vyosrouter# vtysh

Hello, this is FRRouting (version 7.3.1-20210418-00-g9ab93ffc7).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

vyosrouter# conf t
vyosrouter(config)# ip prefix-list NET_80 seq 20 permit 1.2.3.0/24
vyosrouter(config)# route-map TO_CPE permit 10

Details

Difficulty level
Unknown (require assessment)
Version
1.2.7
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Stricter validation
Issue type
Bug (incorrect behavior)

Event Timeline

c-po changed the task status from Open to In progress.May 9 2021, 9:15 AM
c-po claimed this task.
c-po triaged this task as Low priority.

Will take a look later today starting of with VyOS 1.4

c-po renamed this task from vyos shell prefix-list and route-maps does not allow underscores in names, but vtysh does to policy: prefix-list and route-map names do not allow underscores in names (FRR does).May 9 2021, 9:28 AM
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.
c-po moved this task from Need Triage to VyOS 1.2.8 on the VyOS 1.2 Crux board.
c-po edited projects, added VyOS 1.2 Crux (VyOS 1.2.8); removed VyOS 1.2 Crux.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
c-po moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.8) board.
SrividyaA set Issue type to Bug (incorrect behavior).Aug 31 2021, 3:07 PM