rfc-8920

OSPF Application-Specific Link Attributes

P. Psenak (Editor), L. Ginsberg, W. Henderickx, J. Tantsura, J. Drake
date2020-10 streamIETF areartg wglsr statusPROPOSED STANDARD pages19 canonicalhttps://www.rfc-editor.org/rfc/rfc8920 doi10.17487/RFC8920
Existing traffic-engineering-related link attribute advertisements have been defined and are used in RSVP-TE deployments. Since the original RSVP-TE use case was defined, additional applications (e.g., Segment Routing Policy and Loop-Free Alternates) that also make use of the link attribute advertisements have been defined. In cases where multiple applications wish to make use of these link attributes, the current advertisements do not support application-specific values for a given attribute, nor do they support indication of which applications are using the advertised value for a given link. This document introduces new link attribute advertisements in OSPFv2 and OSPFv3 that address both of these shortcomings.

obsoleted by

Extracted elements (27)

design-rationale §5

The Application Identifier Bit Masks are placed at the ASLA sub-TLV level rather than within individual attribute sub-sub-TLVs so that the format of previously defined link attributes can be kept unchanged and reused when advertising them inside the ASLA sub-TLV.

routing

design-rationale §4.1

The Extended Link Opaque LSA (OSPFv2) and E-Router-LSA (OSPFv3) were chosen as carriers for ASLA rather than the TE Opaque LSA because advertising link attributes there does not implicitly make the link part of the RSVP-TE topology, maintains a clear application distinction, and preserves the TE Opaque LSA as truly opaque to OSPF.

routing

design-rationale §1

The solution is designed to be easily extensible: new applications can be accommodated by assigning new bits in the Application Identifier Bit Masks without altering the ASLA sub-TLV format or introducing new backwards-compatibility issues.

routing

design-rationale §5

Zero-length Application Identifier Bit Masks (both SABM and UDABM absent) mean the link attributes are permitted for use by any standard or user-defined application. This is intentional to allow legacy-style shared advertisements, but requires care when introducing new applications that infer enablement from attribute presence (e.g., RSVP-TE).

routing

interoperability-note §12.2.4

It is RECOMMENDED to continue advertising RSVP-TE link attributes in the existing OSPFv2 TE Opaque LSA and OSPFv3 Intra-Area-TE-LSA for backwards compatibility; RSVP-TE can eventually use application-specific advertisements only for newly defined link attributes designated as application-specific.

routing

interoperability-note §12.2.3

Migration from legacy to ASLA advertisements requires a staged approach: (1) send new application-specific advertisements while retaining legacy ones, (2) enable use of application-specific advertisements on all routers, and (3) keep legacy advertisements if needed for RSVP-TE. Only after full migration can incongruent per-application attribute values be advertised.

routing

interoperability-note §12.2.3

Routers that do not support the extensions defined in this document will only process legacy TE Opaque LSA advertisements and will infer RSVP-TE is enabled on any link for which legacy advertisements exist. Deployments with a mix of legacy and upgraded routers must maintain legacy advertisements while any legacy router remains in the network.

routing

normative-requirement §5 MUST

An application-specific advertisement (ASLA with a matching Application Identifier Bit set) for an attribute MUST always be preferred over an advertisement of the same attribute with zero-length Application Identifier Bit Masks on the same link.

routing

normative-requirement §5 MUST

If existing advertisements use zero-length Application Identifier Bit Masks and a new application is introduced that should not use those advertisements, existing advertisements MUST be re-advertised with an explicit set of applications specified before the new application is introduced.

routing

normative-requirement §5 SHOULD

If the same attribute is advertised in more than one ASLA sub-TLV with the application listed in the Application Identifier Bit Masks, the application SHOULD use the first instance and ignore any subsequent advertisements of that attribute.

routing

normative-requirement §12.2.1 MUST

In cases where multiple applications share a link and one is RSVP-TE, attributes for applications other than RSVP-TE MUST be advertised using application-specific advertisements even when legacy RSVP-TE advertisements are also present.

routing

normative-requirement §12.2.3 MUST

In deployments mixing legacy and ASLA-capable routers, so long as any legacy router has any application enabled, all routers MUST continue to advertise link attributes using legacy advertisements to maintain interoperability.

routing

normative-requirement §7 MUST NOT

Maximum link bandwidth is an application-independent attribute and MUST NOT be advertised in the ASLA sub-TLV; it MAY be advertised as a direct sub-TLV of the Extended Link TLV (OSPFv2 type 23) or Router-Link TLV (OSPFv3 type 23).

routing

normative-requirement §12.2.4 MUST NOT

Maximum reservable link bandwidth and unreserved bandwidth MUST use the OSPFv2 TE Opaque LSA and OSPFv3 Intra-Area-TE-LSA and MUST NOT be advertised in the ASLA sub-TLV, as these are not application-specific attributes.

routing

normative-requirement §12.1 MUST NOT

New applications that future documents define to use ASLA advertisements MUST NOT make use of RSVP-TE LSA advertisements (OSPFv2 TE Opaque LSA or OSPFv3 Intra-Area-TE-LSA), simplifying deployment by eliminating multiple advertisement paths.

routing

normative-requirement §5 MUST

The ASLA sub-TLV MUST be used for advertisement of a defined set of link attributes (SRLG, extended metrics, administrative group, extended administrative group, TE metric) if these are advertised inside the OSPFv2 Extended Link TLV or OSPFv3 Router-Link TLV.

routing

normative-requirement §9 MUST NOT

The Local Interface IPv6 Address and Remote Interface IPv6 Address sub-TLVs are application-independent and MUST NOT be advertised in the ASLA sub-TLV; they MAY be advertised as sub-TLVs of the OSPFv3 Router-Link TLV (types 24 and 25, respectively).

routing

normative-requirement §5 MUST

The SABM Length and UDABM Length fields MUST each be set to 0, 4, or 8. If either field is absent, its length MUST be set to 0. If either length is any value other than 0, 4, or 8, the entire ASLA sub-TLV MUST be ignored by the receiver.

routing

normative-requirement §5 MUST

Undefined bits in the SABM and UDABM that are transmitted MUST be set to 0. On receipt, undefined bits and bits not supported by an implementation MUST be ignored. Bits that are not transmitted MUST be treated as if set to 0.

routing

protocol-element §5

The Application-Specific Link Attributes (ASLA) sub-TLV is a sub-TLV of the OSPFv2 Extended Link TLV (type 10) and OSPFv3 Router-Link TLV (type 11). It carries a Standard Application Identifier Bit Mask (SABM), a User-Defined Application Identifier Bit Mask (UDABM), and nested link attribute sub-sub-TLVs, enabling per-application advertisement of link attributes.

routing, mpls, registry

protocol-element §5

The Standard Application Identifier Bit Mask defines three initial application bits: bit 0 (R-bit) for RSVP-TE, bit 1 (S-bit) for Segment Routing Policy, and bit 2 (F-bit) for Loop-Free Alternate (LFA, including all LFA types). Bit assignments are managed in the 'Link Attribute Applications' registry defined in RFC 8919.

routing, registry

registry §14.1

The 'OSPFv2 Extended Link TLV Sub-TLVs' registry (RFC 7684) is updated with new sub-TLV types: 10 (ASLA), 11 (SRLG), 12–18 (extended metrics), 19–20 (administrative groups), 22 (TE Metric), 23 (Maximum link bandwidth). Allocations use the IETF Review procedure.

registry, routing

registry §14.2

The 'OSPFv3 Extended-LSA Sub-TLVs' registry (RFC 8362) is updated with new sub-TLV types: 11 (ASLA), 12 (SRLG), 13–19 (extended metrics), 20–21 (administrative groups), 22 (TE Metric), 23 (Maximum link bandwidth), 24 (Local Interface IPv6 Address), 25 (Remote Interface IPv6 Address).

registry, routing

security-consideration §13 SHOULD

Implementations MUST ensure malformed TLVs and sub-TLVs defined in this document are detected and do not enable attackers to crash the OSPF router or routing process. Reception of malformed TLVs SHOULD be counted and/or logged, and such logging SHOULD be rate-limited to prevent the OSPF control plane from being overwhelmed by a DoS attack.

security, routing

security-consideration §13 SHOULD

In deployments where potential attackers may have access to networks within the OSPF routing domain, stronger authentication mechanisms such as those in RFC 5709 (OSPFv2 HMAC-SHA), RFC 7474, RFC 4552 (OSPFv3 auth/confidentiality), or RFC 7166 SHOULD be used.

security, routing, crypto

security-consideration §13

Tampering with the link attribute information defined in this document may impact applications using it, including traffic engineering path computation. Because ASLA advertisements scope their impact to specific applications via bit masks, the blast radius of tampering is similarly scoped compared to legacy TE advertisements.

security, routing

wire-format §5

The ASLA sub-TLV has a 4-octet header (Type 2 octets, Length 2 octets) followed by SABM Length (1 octet), UDABM Length (1 octet), Reserved (2 octets), then variable-length SABM and UDABM fields, then link attribute sub-sub-TLVs. SABM Length and UDABM Length each encode the length of their respective bit mask in octets.

routing