The LSP object is defined in
Section 7.3 of
RFC 8231. This document defines a new LSP-EXTENDED-FLAG TLV for an extended Flag field in the LSP object.
The format of the LSP-EXTENDED-FLAG TLV shown in
Figure 1 follows the format of all PCEP TLVs, as defined in [
RFC 5440].
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type=64 | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
// LSP Extended Flags //
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-
Type (16 bits):
-
64
-
Length (16 bits):
-
This indicates the length of the value portion in bytes. It MUST be in multiples of 4 and greater than 0.
-
LSP Extended Flags:
-
This contains an array of units of 32-bit flags numbered from the most significant as bit zero, where each bit represents one LSP flag (for operation, feature, or state). The LSP Extended Flags field SHOULD use the minimal amount of space needed to encode the flag bits. Currently, no bits are assigned. Unassigned bits MUST be set to zero on transmission and MUST be ignored on receipt.
As an example of usage of the LSP-EXTENDED-FLAG TLV, the E-flag is requested for entropy label configuration, as proposed in [
PCEP-ENTROPY-LABEL].
The LSP Extended Flags field is an array of units of 32 flags that are allocated starting from the most significant bit. The bits of the LSP Extended Flags field will be assigned by future documents. This document does not define any flags. Flags that an implementation is not supporting
MUST be set to zero on transmission. Implementations that do not understand any particular flag
MUST ignore the flag.
Note that PCEP peers
MUST handle varying lengths of the LSP-EXTENDED-FLAG TLV.
If a PCEP speaker receives the LSP-EXTENDED-FLAG TLV of a length more than it currently supports or understands, it
MUST ignore the bits beyond that length.
If a PCEP speaker receives the LSP-EXTENDED-FLAG TLV of a length less than the one supported by the implementation, it
MUST act as if the bits beyond the length were not set.