An LSP is associated with other LSPs with which it interacts by adding them to a common association group via the ASSOCIATION object. All procedures and error handling for the ASSOCIATION object is as per [
RFC 8697].
During state synchronization, a PCC reports all the existing LSP states as described in [
RFC 8231]. The association group membership pertaining to an LSP is also reported as per [
RFC 8697]. This includes PPAGs.
A PCC can associate a set of LSPs under its control for path protection purposes. Similarly, the PCC can remove one or more LSPs under its control from the corresponding PPAG. In both cases, the PCC reports the change in association to PCE(s) via a Path Computation Report (PCRpt) message. A PCC can also delegate the working and protection LSPs to an active stateful PCE, where the PCE would control the LSPs. The stateful PCE could update the paths and attributes of the LSPs in the association group via a Path Computation Update (PCUpd) message. A PCE could also update the association to the PCC via a PCUpd message. These procedures are described in [
RFC 8697].
It is expected that both working and protection LSPs are delegated together (and to the same PCE) to avoid any race conditions. Refer to [
STATE-PCE-SYNC] for the problem description.
A PCE can create/update working and protection LSPs independently. As specified in [
RFC 8697], Association Groups can be created by both the PCE and the PCC. Furthermore, a PCE can remove a protection LSP from a PPAG as specified in [
RFC 8697]. The PCE uses PCUpd or Path Computation Initiate (PCInitiate) messages to communicate the association information to the PCC.
As per [
RFC 8697], the association information is cleared along with the LSP state information. When a PCEP session is terminated, after expiry of State Timeout Interval at the PCC, the LSP state associated with that PCEP session is reverted to operator-defined default parameters or behaviors as per [
RFC 8231]. The same procedure is also followed for the association information. On session termination at the PCE, when the LSP state reported by PCC is cleared, the association information is also cleared as per [
RFC 8697]. Where there are no LSPs in an association group, the association is considered to be deleted.
As per the processing rules specified in
Section 6.4 of
RFC 8697, if a PCEP speaker does not support this Path Protection Association Type, it would return a PCErr message with Error-Type 26 "Association Error" and Error-Value 1 "Association type is not supported".
All LSPs (working or protection) within a PPAG
MUST belong to the same TE tunnel (as described in [
RFC 3209]) and have the same source and destination. If a PCEP speaker attempts to add or update an LSP to a PPAG and the Tunnel ID (as carried in the LSP-IDENTIFIERS TLV [
RFC 8231], with a description as per [
RFC 3209]) or source or destination of the LSP is different from the LSP(s) in the PPAG, the PCEP speaker
MUST send PCErr with Error-Type 26 (Association Error) [
RFC 8697] and Error-Value 9 (Tunnel ID or endpoints mismatch for Path Protection Association). In case of Path Protection, an LSP-IDENTIFIERS TLV
SHOULD be included for all LSPs (including Segment Routing (SR) [
RFC 8664]). If the Protection Type (PT) (in the Path Protection Association TLV) is different from the LSPs in the PPAG, the PCEP speaker
MUST send PCErr with Error-Type 26 (Association Error) [
RFC 8697] and Error-Value 6 (Association information mismatch) as per [
RFC 8697].
When the PCEP peer does not support the protection type set in PPAG, the PCEP peer
MUST send PCErr with Error-Type 26 (Association Error) [
RFC 8697] and Error-Value 11 (Protection type is not supported).
A given LSP
MAY belong to more than one PPAG. If there is a conflict between any of the two PPAGs, the PCEP peer
MUST send PCErr with Error-Type 26 (Association Error) [
RFC 8697] and Error-Value 6 (Association information mismatch) as per [
RFC 8697].
When the protection type is set to 1+1 (i.e., protection type=0x08 or 0x10), there
MUST be at maximum only one working LSP and one protection LSP within a PPAG. If a PCEP speaker attempts to add another working/protection LSP, the PCEP peer
MUST send PCErr with Error-Type 26 (Association Error) [
RFC 8697] and Error-Value 10 (Attempt to add another working/protection LSP for Path Protection Association).
When the protection type is set to 1:N (i.e., protection type=0x04), there
MUST be at maximum only one protection LSP, and the number of working LSPs
MUST NOT be more than N within a PPAG. If a PCEP speaker attempts to add another working/protection LSP, the PCEP peer
MUST send PCErr with Error-Type 26 (Association Error) [
RFC 8697] and Error-Value 10 (Attempt to add another working/protection LSP for Path Protection Association).
During the make-before-break (MBB) procedure, two paths will briefly coexist. The error handling related to the number of LSPs allowed in a PPAG
MUST NOT be applied during MBB.
All processing as per [
RFC 8697] continues to apply.