Advertising SRv6 Service TLVs

The EVPN, VPN-IPv4, VPN-IPv6, IPv4 and IPv6 routes for the SRv6-enabled services are advertised along with the SRv6 Service TLV. The TLV format is described in draft-ietf-bess-srv6-services and shown in Figure 1.

Figure 1. SRv6 Service TLV format

The SRv6 Service TLV encoded in the BGP Prefix-SID attribute can have two different types:

The SRv6 Service TLV may contain an unordered list of sub-TLVs, but currently the SRv6 Service TLV is advertised with only one sub-TLV – the SRv6 SID Info sub-TLV (type 1). This sub-TLV encodes the following information:

The SID Structure Sub-Sub-TLV is always included in routes with label fields and always uses the following values when advertised: