Page MenuHomeVyOS Platform

add SRv6 encapsulation source address
Blocked, LowPublic

Description

After the upgrade to FRR 10.2, a configuration option for setting the source-address for SRv6 encapsulated packets is now available:

segment-routing
 srv6
  encapsulation
    source-address 2001:db8::1
  exit
 exit
exit

This task adds this configuration options to VyOS as:

protocols 
 segment-routing {
  srv6 {
    encapsulation {
      source-address "2001:db8::1"
    }
  }
 }
}

An additional show command show segment-routing srv6 manager is added to verify:

vyos@vyos:~$ show segment-routing srv6 manager
Parameters:
  Encapsulation:
    Source Address:
      Configured: 2001:db8:1::1

Note: this depends on FRR commit #c8e83c3 (merged to master in Nov 2024). It does not yet appear to be part of any release.

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

jvoss changed the task status from Open to In progress.
jvoss created this object in space S1 VyOS Public.
jvoss changed the task status from In progress to Blocked.EditedDec 24 2024, 5:46 PM

Relevant changes are here: https://github.com/jvoss/vyos-1x/tree/srv6_encapsulation

I can keep this in my own branch in lieu of opening a draft PR that may persist for an unknown amount of time. Depends on FRR updating a release and VyOS using it.

Dependent FRR commit has made it to the 10.3 release. Waiting for VyOS to update and then I will create a PR.

Thanks @Viacheslav, but no need to patch anything in FRR. The commit has made it into the FRR 10.3 release, it will be better to just wait until you guys bump to the latest FRR release. I can rebase and submit a PR at that point fairly quickly.