Page MenuHomeVyOS Platform

Route-map - Extend options for ip|ipv6 address match
Closed, ResolvedPublicFEATURE REQUEST

Description

Currently supported by VyOS:

# ipv4
vyos@vyos# set policy route-map FOO rule 10 match ip address               
     Possible completions:                                                      
        access-list  IP access-list to match                                    
        prefix-list  IP prefix-list to match 

# ipv6 
vyos@vyos# set policy route-map SDAD rule 10 match ipv6 address
   Possible completions:
      access-list  IPv6 access-list to match
      prefix-list  IPv6 prefix-list to match

FRR options:

# ipv4
vyos(config-route-map)# match ip address
  ACCESSLIST4_NAME  IP Access-list name
  prefix-len        Match prefix length of IP address
  prefix-list       Match entries of prefix-lists


#ipv6
vyos(config-route-map)# match ipv6 address
  ACCESSLIST6_NAME  IPv6 access-list name
  prefix-len        Match prefix length of IPv6 address
  prefix-list       Match entries of prefix-lists

-> prefix-len option should be added on both cases

Also, description of match ip route-source should be modified from "test" to something like frr helper "Match advertising source address of route":

vyos@vyos# set policy route-map SDAD rule 10 match ip
Possible completions:
 > address      IP address of route to match
 > nexthop      IP next-hop of route to match
 > route-source test

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)