Carrying SID Algorithm information in PCE-based Networks.
Cisco Systems, Inc.Eurovea Central 3.Pribinova 10Bratislava811 09Slovakiaatokar@cisco.comCisco Systems, Inc.Eurovea Central 3.Pribinova 10Bratislava811 09Slovakiassidor@cisco.comZTE CorporationNo.50 Software AvenueNanjingJiangsu210012Chinapeng.shaofu@zte.com.cnCiena385 Terry Fox DriveKanataOntarioK2K 0L1Canadamsiva282@gmail.comJuniper Networkstsaad@juniper.netHuawei TechnologiesHuawei Campus, No. 156 Beiqing Rd.Beijing100095Chinapengshuping@huawei.comRtBrick IncBangaloreKarnatakaIndiamahend.ietf@gmail.comPCE Working GroupThe Algorithm associated with a prefix Segment-ID (SID) defines the path computation Algorithm used by Interior Gateway Protocols (IGPs). This information is available to controllers such as the Path Computation Element (PCE) via topology learning. This document proposes an approach for informing headend routers regarding the Algorithm associated with each prefix SID used in PCE-computed paths, as well as signalling a specific SID algorithm as a constraint to the PCE.The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in BCP
14 when,
and only when, they appear in all capitals, as shown here.A PCE can compute SR-TE paths using SIDs with different Algorithms depending on the use-case, constraints, etc. While this information is available on the PCE, there is no method of conveying this information to the headend router.Similarly, the headend can also compute SR-TE paths using different Algorithms, and this information also needs to be conveyed to the PCE for collection or troubleshooting purposes. In addition, in the case of multiple (redundant) PCEs, when the headend receives a path from the primary PCE, it needs to be able to report the complete path information - including the Algorithm - to the backup PCE so that in HA scenarios, the backup PCE can verify the prefix SIDs appropriately.An operator may also want to constrain the path computed by the PCE to a specific SID Algorithm, for example, in order to only use SID Algorithms for a low-latency path. A new TLV is introduced for this purpose.Refer to and for details about the prefix SID Algorithm.This document is extending:
the SR PCE Capability Sub-TLV and the SR-ERO subobject - defined in the SRv6 PCE Capability sub-TLV and the SRv6-ERO subobject - defined in
A new TLV for signalling SID Algorithm constraint to the PCE is also introduced, to be carried inside the LSPA object, which is defined in .The mechanisms described in this document are equally applicable to both SR-MPLS and SRv6.The following terminologies are used in this document:
Explicit Route Object Interior Gateway Protocol Node or Adjacency Identifier. Path Computation Element Path Computation Element Protocol. Segment Identifier. Segment Routing. Segment Routing Traffic Engineering. Label Switched Path. Label Switched Path Attributes.A new flag S is proposed in the SR PCE Capability Sub-TLV introduced in Section 4.1.2 of in Path Computation Element Communication Protocol (PCEP) to indicate support for SID Algorithm field in the SR-ERO subobject.A new flag S is proposed in the SRv6 PCE Capability sub-TLV introduced in 4.1.1 of in Path Computation Element Communication Protocol (PCEP) to indicate support for SID Algorithm field in the SRv6-ERO subobject.The SR-ERO subobject encoding is extended with new flag "A" to indicate if the Algorithm field is included after other optional fields.The SRv6-ERO subobject encoding is extended with new flag "A" to indicate if the Algorithm field is included after other optional fields.A new TLV for the LSPA Object with TLV type=TBD3 is introduced to carry the SID Algorithm constraint. This TLV SHOULD only be used when PST (Path Setup type) = SR or SRv6.The format of the SID Algorithm TLV is as follows:The code point for the TLV type is TBD3. The TLV length is 4 octets.The 32-bit value is formatted as follows.
MUST be set to zero by the sender and MUST be ignored by the receiver. This document defines the following flag bits. The other bits
MUST be set to zero by the sender and MUST be ignored by the receiver.
L (Loose): If set to 1, the PCE MAY insert SIDs with a different Algorithm, but it MUST prefer the specified Algorithm whenever possible. SID Algorithm the PCE MUST take into acount while computing a path for the LSP.PCEP speaker MAY set the A flag and include the Algorithm field in SR-ERO or SRv6-ERO subobject if the S flag was advertised by both PCEP speakers.If PCEP peer receives SR-ERO subobject with the A flag set or with the SID Algorithm included, but the S flag was not advertised, then such PCEP message must be rejected with PCError as described in Section 7.2 of The Algorithm field MUST be included after optional SID, NAI or SID structure and length of SR-ERO or SRv6-ERO subobject MUST be increased with additional 4 bytes for Reserved and Algorithm field.In order to signal a specific SID Algorithm constraint to the PCE, the headend MUST encode the SID ALGORITHM TLV inside the LSPA object.When the PCE receives a SID Algorithm constraint, it MUST only take prefix SIDs with the specified Algorithm into account during path computation. However, if the L flag is set in the SID Algorithm TLV, the PCE MAY insert prefix SIDs with a different Algorithm in order to successfully compute a path.If the PCE is unable to find a path with the given SID Algorithm constraint, it MUST bring the LSP down.SID Algorithm does not replace the Objective Function defined in . The SID Algorithm constraint acts as a filter, restricting which SIDs may be used as a result of the path computation function.No additional security measure is required.IANA maintains a sub-registry, named "SR Capability Flag Field", within the "Path Computation Element Protocol
(PCEP) Numbers" registry to manage the Flags field of the SR-PCE-CAPABILITY TLV. IANA is requested to
make the following assignment:ValueDescription Reference TBD1SID Algorithm CapabilityThis documentIANA was requested in to create a sub-registry, named "SRv6 PCE Capability Flags", within the "Path Computation Element Protocol
(PCEP) Numbers" registry to manage the Flags field of SRv6-PCE-CAPABILITY sub-TLV. IANA is requested to
make the following assignment:ValueDescription Reference TBD2SID Algorithm CapabilityThis documentIANA maintains a sub-registry, named "SR-ERO Flag Field", within the "Path Computation Element Protocol
(PCEP) Numbers" registry to manage the Flags field of the SR-ERO Subobject. IANA is requested to
make the following assignment:ValueDescription Reference TBD3SID Algorithm FlagThis documentIANA was requested in , named "SRv6-ERO Flag Field", within the "Path Computation Element Protocol
(PCEP) Numbers" registry to manage the Flags field of the SRv6-ERO subobject. IANA is requested to
make the following assignment:ValueDescription Reference TBD4SID Algorithm FlagThis documentIANA is requested to allocate a new TLV type for the new LSPA TLV specified in this document.ValueDescription Reference TBD5SID AlgorithmThis document