Page MenuHomeVyOS Platform

BGP Large Community List Validation Broken
Closed, ResolvedPublicBUG

Description

It appears that on VyOS 1.5, the validation of large community list regular expressions is problematic. The following works fine on VyOS 1.3:

trae@cr01a-vyos# show policy large-community-list ANYCAST_ALL 
 rule 10 {
     action permit
     description "Allow all anycast from anywhere"
     regex "4242420696:10[0-1]:.*"
 }
trae@cr01a-vyos# run show ip large-community-list ANYCAST_ALL 
Named large community expanded list ANYCAST_ALL
    permit 4242420696:10[0-1]:.*
trae@cr01a-vyos# run show ip bgp large-community-list ANYCAST_ALL | grep Displ
Displayed  22 routes and 829 total paths

On 1.5, however, this does not pass the configuration validation checks:

trae@cr01a-vyos# set policy large-community-list ANYCAST_ALL1 rule 10 regex "4242420696:10[0-1]:.*"

  
  
  
  Malformed large-community-list
  Value validation failed
  Set failed

Details

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