Skip to content

Enhancement: SRv6 global encapsulation configuration #26210

@selva-nexthop

Description

@selva-nexthop

Is it platform specific

generic

Importance or Severity

High

Description of the enhancement

Support for configuring a global SRv6 encapsulation source address in SONiC, matching the existing FRRouting feature. This allows setting a default source IPv6 address for all SRv6 encapsulated packets unless overridden per-route.

FRR config:

segment-routing
 srv6
    encapsulation
        source-address <ipv6-addr>

SONiC Config Example:

sonic-db-cli CONFIG_DB HSET "SRV6_GLOBAL|default" "encap_src_addr" "fc00:1::1"

sonic-db-cli CONFIG_DB DEL "SRV6_GLOBAL|default"
Yang

Current Behavior

There is no SONiC config available.

Proposed Behavior

SONiC Config Example:

sonic-db-cli CONFIG_DB HSET "SRV6_GLOBAL|default" "encap_src_addr" "fc00:1::1"

sonic-db-cli CONFIG_DB DEL "SRV6_GLOBAL|default"
Yang

Add support in both bgpcfgd and frrcfgd

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions