Page MenuHomeVyOS Platform

route-map does not support ipv6 peer
In progress, Requires assessmentPublicBUG

Description

VyOS 1.3 does not support matching an ipv6 peer even though, FRR 7.5.1 (which is bundled with VyOS 1.3) supports it:

Working example accessing FRR directly through vtysh:

route-map test permit 1
 match peer fe80::2

Error from VyOS configuration:

# set policy route-map test rule 1 match peer fe80::2

  peer must be either an IP or local
  Value validation failed
  Set failed

I believe the change is a matter of adding an ipv6-address validator to https://github.com/vyos/vyos-1x/blob/current/interface-definitions/policy.xml.in#L957

Details

Difficulty level
Easy (less than an hour)
Version
1.3.1-S1 , 1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

n.fort changed the task status from Open to In progress.Tue, Jun 21, 5:43 PM
n.fort added a project: VyOS 1.4 Sagitta.
n.fort changed Version from 1.3.1-S1 to 1.3.1-S1 , 1.4.