BGP Extension for SR-MPLS Entropy Label PositionZTENanjingChinaliu.yao71@zte.com.cnZTENanjingChinapeng.shaofu@zte.com.cn
Internet
IDREntropy Label SR PolicySR-MPLSThis document proposes extensions for BGP to indicate the entropy label position in the SR-MPLS label stack when delivering SR Policy via BGP.IntroductionSegment Routing (SR) leverages the source routing paradigm. Segment Routing can be instantiated on MPLS data plane which is referred to as SR-MPLS . SR-MPLS leverages the MPLS label stack to construct the SR path.
Entropy labels (ELs) are used in the MPLS data plane to provide entropy for load-balancing. The idea behind the entropy label is that the ingress router computes a hash based on several fields from a given packet and places the result in an additional label named "entropy label". Then, this entropy label can be used as part of the hash keys used by an LSR. Using the entropy label as part of the hash keys reduces the need for deep packet inspection in the LSR while keeping a good level of entropy in the load-balancing.
proposes to use entropy labels for SR-MPLS networks and multiple <ELI, EL> pairs may be inserted in the SR-MPLS label stack. The ingress node may decide the number and position of the ELI/ELs which need to be inserted into the label stack, that is termed as ELP (Entropy Label Position) in this document.
But in some cases, the controller (e.g. PCE) can be used to perform the TE path computation as well as the Entropy Label Position which is useful for inter-domain scenarios.
specifies the way to use BGP to distribute one or more of the candidate paths of an SR Policy to the headend of that policy.
This document proposes extensions for BGP to indicate the ELP in the segment list when delivering SR Policy via BGP in SR-MPLS networks.Conventions used in this documentRequirements LanguageThe key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in .Terminology and AcronymsEL: Entropy LabelELI: Entropy Label IndicatorELC: Entropy Label CapabilityERLD: Entropy Readable Label DepthELP: Entropy Label PositionMSD: Maximum SID DepthEntropy Label Position in SR-MPLS with the ControllerAs described in section 7, ELI/EL placement is not an easy decision, multiple criteria may be taken into account.First is the Maximum SID Depth (MSD), it defines the maximum number of labels that a particular node can impose on a packet, and it is a limit when the ingress node imposing ELI/EL pairs on the SR label stack. The Entropy Readable Label Depth(ERLD) value is another important parameter to consider when inserting an ELI/EL. The ERLD is defined as the number of labels a router can both read in an MPLS packet received on its incoming interface(s) and use in its load-balancing function. An ELI/EL pair must be within the ERLD of the LSR in order for the LSR to use the EL during load-balancing. It's necessary to get the ERLD of the nodes along the SR path to achieve efficient load-balancing. An implementation MAY try to evaluate if load-balancing is really expected at a particular node based on the segment type of its label, which also influences the ELP of a segment list. Other criteria includes maximizing number of LSRs that will load-balance, preference for a part of the path, and etc. Using which criteria and how to decide the ELP based on the criteria is a matter of implementation.As shown in Figure 1, in the inter-domain scenario, a path from A to Z is required, a centralized controller performs the computation of the end-to-end path, along which traffic load-balancing is required. When the headend node in the first domain can't get the information of the nodes/SIDs in other domains, e.g, the ERLD of each node or the type of the SID bounded to a node/link, it's difficult for the headend node to decide the ELP of the segment list for the path.Performing the computation of the ELP by the controller is an alternate, since it's easier for the controller to get the required information along the segment list prescribed by itself. For example, the ERLD value can be advertised via IS-ISand OSPF within the domain, in each domain, one or more nodes are configured with BGP-LS so the controller can get the ERLD value of all the nodes through BGP-LS. The controller can acquire the MSD of the headend node or the Binding SID anchor node via BGP-LS or PCEP.Another benefit of utilizing the controller to calculate ELP is that if the criteria or calculation algorithm is changed, the corresponding modification only needs to be made on the controller instead of each headend node in the network.When the controller performs the computation of the the ELP for a segment list, the considerations for the placement of ELI/ELs introduced in are still applicable. How the controller computes the ELP is out of scope of the document.After the ELP of an SR path is decided, the controller SHOULD inform the result to the headend node of the path, so the node knows where to insert the ELI/ELs when needed. Section 4 proposes the detailed extensions for BGP to carry this information.BGP Extensions for ELP in SR PolicyAs defined in , the SR Policy encoding structure is as follows:
Attributes:
Tunnel Encaps Attribute (23)
Tunnel Type: SR Policy
Binding SID
Preference
Priority
Policy Name
Explicit NULL Label Policy (ENLP)
Segment List
Weight
Segment
Segment
...
...
]]>This document defines a new ELP sub-TLV within Segment List sub-TLV. The ELP sub-TLV has the following format:Where,Type: TBD.Length: Specifies the length of the value field (i.e., not including Type and Length fields) in terms of octets. The value MUST be 2.RESERVED: 2 octet of reserved bits. SHOULD be unset on transmission and MUST be ignored on receipt.The ELP sub-TLV, when present, indicates that the <ELI, EL> label pair SHOULD be inserted at this position. It MAY appear multiple times in the Segment List sub-TLV.The new SR Policy encoding structure with Path Segmentg sub-TLV is expressed as below:
Attributes:
Tunnel Encaps Attribute (23)
Tunnel Type: SR Policy
Binding SID
Preference
Priority
Policy Name
Explicit NULL Label Policy (ENLP)
Segment List
Weight
Segment
Segment
ELP
Segment
...
Segment
ELP
Segment
Segment
...
...
]]>OperationsNode A receives an SR Policy NLRI with an Segment List sub-TLV from the controller. The Segment List sub-TLV contains multiple Segment sub-TLVs and ELP sub-TLVs, e.g, <S1, S2, S3,ELP, S4, S5, S6, ELP>, it indicates that if load-balancing is required, two <ELI, EL> pairs SHOULD be inserted into the label stack of the SR-TE forwarding entry, respectively after the Label for S3 and Label for S6.
The value of EL is supplemented by the ingress node according to load-balancing function of the appropriate keys extracted from a given packet.
After inserting ELI/ELs, the label stack on the ingress node would be <S1, S2, S3, ELI, EL, S4, S5, S6, ELI, EL>.
IANA Considerations This document defines a new sub-TLV in the registry "SR Policy List Sub-TLVs" to be assigned by IANA:Security ConsiderationsProcedures and protocol extensions defined in this document do not introduce any new security considerations beyond those already listed in and . ReferencesNormative ReferencesInformative References