RFC 9294: Application-Specific Link Attributes Advertisement Using the Border Gateway Protocol - Link State (BGP-LS)
- K. Talaulikar, Ed.,
- P. Psenak,
- J. Tantsura
Abstract
Extensions have been defined for link-state routing protocols that
enable distribution of application
Status of This Memo
This is an Internet Standards Track document.¶
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 7841.¶
Information about the current status of this document, any
errata, and how to provide feedback on it may be obtained at
https://
Copyright Notice
Copyright (c) 2022 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://
1. Introduction
The Border Gateway Protocol - Link State (BGP-LS) [RFC7752] enables the distribution of the link-state topology information from link-state routing protocols (viz., IS-IS [RFC1195], OSPFv2 [RFC2328], and OSPFv3 [RFC5340]) to an application like a controller or Path Computation Engine (PCE) via BGP. The controller or PCE gets the end-to-end topology information across IGP domains so it can perform path computations for use cases like end-to-end traffic engineering (TE).¶
The link-state topology information distributed via BGP-LS includes
link attributes that were originally defined for MPLS TE (i.e., using RSVP-TE [RFC3209] or GMPLS [RFC4202] applications). In recent years, applications,
such as Segment Routing (SR) Policy [RFC8402] and
Loop-Free Alternates (LFA) [RFC5286], which also make use
of link attributes, have been introduced. [RFC8919] and
[RFC8920] define extensions for IS-IS and OSPF,
respectively, that enable advertising application
This document defines the BGP-LS extensions for the advertisement of
application
1.1. Requirements Language
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 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
2. Application-Specific Link Attributes TLV
BGP-LS [RFC7752] specifies the Link Network Layer
Reachability Information (NLRI) for the advertisement of links and their
attributes using the BGP-LS Attribute. The ASLA TLV is an optional top-level BGP-LS Attribute TLV that
is introduced for Link NLRIs. It is defined such that it may act as a
container for certain existing and future link attributes that require
application
The format of this TLV is as follows and is similar to the corresponding ASLA sub-TLVs defined for OSPF and IS-IS in [RFC8920] and [RFC8919], respectively.¶
where:¶
- Type:
- 1122¶
- Length:
- variable¶
- SABM Length:
- 1-octet field that carries the Standard Application Identifier Bit Mask Length in octets as defined in [RFC8920].¶
- UDABM Length:
- 1-octet field that carries the User-Defined Application Identifier Bit Mask Length in octets as defined in [RFC8920].¶
- Reserved:
- 2-octet field that MUST be set to zero on transmission and MUST be ignored on reception.¶
- Standard Application Identifier Bit Mask:
- An optional set of bits (of size 0, 4, or 8 octets as indicated by the SABM Length), where each bit represents a single standard application as defined in [RFC8919].¶
- User-Defined Application Identifier Bit Mask:
- An optional set of bits (of size 0, 4, or 8 octets as indicated by the UDABM Length), where each bit represents a single user-defined application as defined in [RFC8919] and [RFC8920].¶
- Link Attribute sub-TLVs:
- BGP-LS Attribute TLVs corresponding to
the Link NLRI that are application
-specific (including existing ones as specified in Section 3) are included as sub-TLVs of the ASLA TLV.¶
The semantics associated with the standard and user-defined bit masks
as well as the encoding scheme for application
The ASLA TLV and its sub-TLVs can only be added to the BGP-LS Attribute associated with the Link NLRI of the node that originates the underlying IGP link attribute TLVs and sub-TLVs. The procedures for originating link attributes in the ASLA TLV from underlying IGPs are specified in Section 4.¶
3. Application-Specific Link Attributes
Several BGP-LS Attribute TLVs corresponding to the Link NLRI are
defined in BGP-LS [RFC7752], and more may be added in the future. Those attributes
that have been determined to be, and advertised as, application
The following table lists the currently defined BGP-LS Attribute
TLVs corresponding to Link NLRI that can have application
All the BGP-LS Attribute TLVs listed in the table above are REQUIRED to be advertised as a top-level TLV in the BGP-LS Attribute when used to carry link attributes specific to RSVP-TE.¶
BGP-LS Attribute TLVs corresponding to Link NLRI that are advertised
in the underlying IGP as application
Link attributes that do not have application
When the same application
4. Procedures
The BGP-LS originator learns of the association of an
application
Application
While the ASLA encoding in OSPF is similar to that of BGP-LS, the
encoding in IS-IS differs and requires additional procedures when
conveying information into BGP-LS. One of these differences arises from
the presence of the L-flag in the IS-IS encoding. Another difference
arises due to the requirement to collate information from two types of
IS-IS encodings for application
A BGP-LS originator node that is advertising link-state information from the underlying IGP using ASLA encodings determines their BGP-LS encoding based on the following rules:¶
These rules ensure that a BGP-LS originator performs the
advertisement for all application
A BGP-LS speaker would normally advertise all the
application
4.1. Illustration for IS-IS
This section illustrates the procedure for the advertisement of
application
Consider the following advertisements for a link in IS-IS. We start with this set:¶
The corresponding BGP-LS advertisements for that link are determined as follows:¶
First, based on rule (1), the advertisements are conveyed to BGP-LS to get the following "updated set":¶
Next, we apply the rules from (2) to this "updated set", because all of them were sourced from IS-IS, to derive a new set.¶
The next rule that applies is (2)(c), and it is determined that collation is required for applications S and F; therefore, we get the following "final set":¶
Implementations may optionally perform further consolidation by processing the "final set" above based on (2)(d) to determine the following "consolidated final set":¶
Further optimization (e.g., combining (2) and (4) from the "consolidated final set" above into a single BGP-LS ASLA TLV) may be possible while ensuring that the semantics are preserved between the IS-IS and BGP-LS advertisements. Such optimizations are outside the scope of this document.¶
5. Deployment Considerations
BGP-LS sources the link-state topology information (including the
extensions introduced by this document) from the underlying link-state
IGP protocols. The various deployment aspects related to the
advertisement and use of application
It is recommended that only nodes supporting this specification are
selected as originators of BGP-LS information when advertising the
link-state information from the IGPs in deployments supporting
application
BGP-LS consumers that do not support this specification can continue
to use the existing top-level TLVs for link attributes for existing
applications as discussed above. However, they would be able to support
neither the application
6. IANA Considerations
IANA has assigned a code point from the "BGP-LS Node Descriptor, Link Descriptor, Prefix Descriptor, and Attribute TLVs" registry as described in the following table. There is no "IS-IS TLV/Sub-TLV" value for this entry.¶
7. Manageability Considerations
The protocol extensions introduced in this document augment the existing IGP topology information defined in [RFC7752]. Procedures and protocol extensions defined in this document do not affect the BGP protocol operations and management other than as discussed in the Manageability Considerations section of [RFC7752]. Specifically, the malformed NLRI attribute tests in the Fault Management section of [RFC7752] now encompass the BGP-LS TLVs defined in this document.¶
The extensions specified in this document do not specify any new configuration or monitoring aspects in BGP or BGP-LS. The specification of BGP models is an ongoing work based on [IDR-BGP-MODEL].¶
8. Security Considerations
Security considerations for acquiring and distributing BGP-LS information are discussed in [RFC7752]. Specifically, the considerations related to topology information, which are related to traffic engineering, apply.¶
The TLVs introduced in this document are used to propagate the
application
This document defines a new way to advertise link attributes. Tampering with the information defined in this document may affect applications using it, including impacting traffic engineering, which uses various link attributes for its path computation. As the advertisements defined in this document limit the scope to specific applications, the impact of tampering is similarly limited in scope. The advertisement of the link attribute information defined in this document presents no significant additional risk beyond that associated with the existing link attribute information already supported in [RFC7752].¶
9. References
9.1. Normative References
- [RFC2119]
-
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10
.17487 , , <https:///RFC2119 www >..rfc -editor .org /info /rfc2119 - [RFC7752]
-
Gredler, H., Ed., Medved, J., Previdi, S., Farrel, A., and S. Ray, "North-Bound Distribution of Link-State and Traffic Engineering (TE) Information Using BGP", RFC 7752, DOI 10
.17487 , , <https:///RFC7752 www >..rfc -editor .org /info /rfc7752 - [RFC8174]
-
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10
.17487 , , <https:///RFC8174 www >..rfc -editor .org /info /rfc8174 - [RFC8571]
-
Ginsberg, L., Ed., Previdi, S., Wu, Q., Tantsura, J., and C. Filsfils, "BGP - Link State (BGP-LS) Advertisement of IGP Traffic Engineering Performance Metric Extensions", RFC 8571, DOI 10
.17487 , , <https:///RFC8571 www >..rfc -editor .org /info /rfc8571 - [RFC8919]
-
Ginsberg, L., Psenak, P., Previdi, S., Henderickx, W., and J. Drake, "IS-IS Application
-Specific Link Attributes" , RFC 8919, DOI 10.17487 , , <https:///RFC8919 www >..rfc -editor .org /info /rfc8919 - [RFC8920]
-
Psenak, P., Ed., Ginsberg, L., Henderickx, W., Tantsura, J., and J. Drake, "OSPF Application
-Specific Link Attributes" , RFC 8920, DOI 10.17487 , , <https:///RFC8920 www >..rfc -editor .org /info /rfc8920 - [RFC9104]
-
Tantsura, J., Wang, Z., Wu, Q., and K. Talaulikar, "Distribution of Traffic Engineering Extended Administrative Groups Using the Border Gateway Protocol - Link State (BGP-LS)", RFC 9104, DOI 10
.17487 , , <https:///RFC9104 www >..rfc -editor .org /info /rfc9104
9.2. Informative References
- [IDR-BGP-MODEL]
-
Jethanandani, M., Patel, K., Hares, S., and J. Haas, "BGP YANG Model for Service Provider Networks", Work in Progress, Internet-Draft, draft
-ietf , , <https://-idr -bgp -model -14 datatracker >..ietf .org /doc /html /draft -ietf -idr -bgp -model -14 - [RFC1195]
-
Callon, R., "Use of OSI IS-IS for routing in TCP/IP and dual environments", RFC 1195, DOI 10
.17487 , , <https:///RFC1195 www >..rfc -editor .org /info /rfc1195 - [RFC2328]
-
Moy, J., "OSPF Version 2", STD 54, RFC 2328, DOI 10
.17487 , , <https:///RFC2328 www >..rfc -editor .org /info /rfc2328 - [RFC3209]
-
Awduche, D., Berger, L., Gan, D., Li, T., Srinivasan, V., and G. Swallow, "RSVP-TE: Extensions to RSVP for LSP Tunnels", RFC 3209, DOI 10
.17487 , , <https:///RFC3209 www >..rfc -editor .org /info /rfc3209 - [RFC4202]
-
Kompella, K., Ed. and Y. Rekhter, Ed., "Routing Extensions in Support of Generalized Multi-Protocol Label Switching (GMPLS)", RFC 4202, DOI 10
.17487 , , <https:///RFC4202 www >..rfc -editor .org /info /rfc4202 - [RFC5286]
-
Atlas, A., Ed. and A. Zinin, Ed., "Basic Specification for IP Fast Reroute: Loop-Free Alternates", RFC 5286, DOI 10
.17487 , , <https:///RFC5286 www >..rfc -editor .org /info /rfc5286 - [RFC5340]
-
Coltun, R., Ferguson, D., Moy, J., and A. Lindem, "OSPF for IPv6", RFC 5340, DOI 10
.17487 , , <https:///RFC5340 www >..rfc -editor .org /info /rfc5340 - [RFC8402]
-
Filsfils, C., Ed., Previdi, S., Ed., Ginsberg, L., Decraene, B., Litkowski, S., and R. Shakir, "Segment Routing Architecture", RFC 8402, DOI 10
.17487 , , <https:///RFC8402 www >..rfc -editor .org /info /rfc8402
Acknowledgements
The authors would like to thank Les Ginsberg, Baalajee S., Amalesh Maity, Acee Lindem, Keyur Patel, Paul Wouters, Rudy Selderslaghs, Kristy Paine, and Shraddha Hegde for their review and feedback on this document. The authors would like to thank Alvaro Retana for his very detailed AD review and comments that improved this document. The authors would also like to thank John Scudder for his detailed review and feedback on clarifying the procedures along with the example in Section 4.¶