Skip to content

Commit

Permalink
fpm: Add SRv6 VPN SIDs to fpm.proto
Browse files Browse the repository at this point in the history
Add two optional fields to the AddRoute protobuf message to support
SRv6 VPN use cases:
* `srv6_vpn_sid`: used to associate an SRv6 VPN SID to a route; if
present, the router will steer the traffic that matches the prefix by
encapsulating the payload in an outer IPv6 header where the destination
address is the SRv6 VPN SID provided
* `srv6_encap_source_address`: source Address of outer encapsulating
IPv6 header

This is a preliminary commit to support sending SRv6 Local SIDs and VPN
SIDs via protobuf.

Signed-off-by: Carmine Scarpitta <[email protected]>
  • Loading branch information
cscarpitta committed Feb 13, 2024
1 parent 589909d commit 152579f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fpm/fpm.proto
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ message AddRoute {
required int32 metric = 8;

repeated Nexthop nexthops = 9;

/* Source Address of outer encapsulating IPv6 header */
optional qpb.Ipv6Address srv6_encap_source_address = 10;
/* SRv6 SID for VPN use cases */
optional qpb.Ipv6Address srv6_vpn_sid = 11;
}

/* SID Format - as per RFC 8986 section #3.1 */
Expand Down

0 comments on commit 152579f

Please sign in to comment.