<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc category="std" docName="draft-ietf-isis-te-app-19" ipr="trust200902"
     updates="">
  <front>
    <title abbrev="draft-ietf-isis-te-app">IS-IS Application-Specific Link
    Attributes</title>

    <author fullname="Les Ginsberg" initials="L" surname="Ginsberg">
      <organization>Cisco Systems</organization>

      <address>
        <postal>
          <street>821 Alder Drive</street>

          <city>Milpitas</city>

          <code>95035</code>

          <region>CA</region>

          <country>USA</country>
        </postal>

        <email>ginsberg@cisco.com</email>
      </address>
    </author>

    <author fullname="Peter Psenak" initials="P" surname="Psenak">
      <organization>Cisco Systems</organization>

      <address>
        <postal>
          <street>Apollo Business Center Mlynske nivy 43</street>

          <city>Bratislava</city>

          <code>821 09</code>

          <country>Slovakia</country>
        </postal>

        <email>ppsenak@cisco.com</email>
      </address>
    </author>

    <author fullname="Stefano Previdi" initials="S" surname="Previdi">
      <organization>Huawei</organization>

      <address>
        <postal>
          <street/>

          <country/>
        </postal>

        <email>stefano@previdi.net</email>
      </address>
    </author>

    <author fullname="Wim Henderickx" initials="W" surname="Henderickx">
      <organization>Nokia</organization>

      <address>
        <postal>
          <street>Copernicuslaan 50</street>

          <city>Antwerp</city>

          <code>2018 94089</code>

          <country>Belgium</country>
        </postal>

        <email>wim.henderickx@nokia.com</email>
      </address>
    </author>

    <author fullname="John Drake" initials="J" surname="Drake">
      <organization>Juniper Networks</organization>

      <address>
        <postal>
          <street/>

          <code/>

          <country/>
        </postal>

        <email>jdrake@juniper.net</email>
      </address>
    </author>

    <date year="2020"/>

    <area>Routing Area</area>

    <workgroup>Networking Working Group</workgroup>

    <keyword/>

    <abstract>
      <t>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, Loop Free Alternate) 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 that address both of these
      shortcomings.</t>
    </abstract>

    <note title="Requirements Language">
      <t>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.</t>
    </note>
  </front>

  <middle>
    <section title="Introduction">
      <t>Advertisement of link attributes by the
      Intermediate-System-to-Intermediate-System (IS-IS) protocol in support
      of traffic engineering (TE) was introduced by [RFC5305] and extended by
      [RFC5307], [RFC6119], [RFC7308], and [RFC8570]. Use of these extensions
      has been associated with deployments supporting Traffic Engineering over
      Multiprotocol Label Switching (MPLS) in the presence of the Resource
      Reservation Protocol (RSVP) - more succinctly referred to as RSVP-TE
      <xref target="RFC3209"/>.</t>

      <t>For the purposes of this document an application is a technology that
      makes use of link attribute advertisements - examples of which are
      listed in <xref target="LEGADV"/>.</t>

      <t>In recent years new applications that have use cases for many of the
      link attributes historically used by RSVP-TE have been introduced. Such
      applications include Segment Routing Policy (SR Policy) <xref
      target="I-D.ietf-spring-segment-routing-policy"/> and Loop Free
      Alternates (LFA) <xref target="RFC5286"/>. This has introduced ambiguity
      in that if a deployment includes a mix of RSVP-TE support and SR Policy
      support (for example) it is not possible to unambiguously indicate which
      advertisements are to be used by RSVP-TE and which advertisements are to
      be used by SR Policy. If the topologies are fully congruent this may not
      be an issue, but any incongruence leads to ambiguity.</t>

      <t>An example where this ambiguity causes a problem is a network where
      RSVP-TE is enabled only on a subset of its links. A link attribute is
      advertised for the purpose of another application (e.g. SR Policy) for a
      link that is not enabled for RSVP-TE. As soon as the router that is an
      RSVP-TE head-end sees the link attribute being advertised for that link,
      it assumes RSVP-TE is enabled on that link, even though it is not. If
      such RSVP-TE head-end router tries to setup an RSVP-TE path via that
      link, it will result in a path setup failure.</t>

      <t>An additional issue arises in cases where both applications are
      supported on a link but the link attribute values associated with each
      application differ. Current advertisements do not support advertising
      application-specific values for the same attribute on a specific
      link.</t>

      <t>This document defines extensions that address these issues. Also, as
      evolution of use cases for link attributes can be expected to continue
      in the years to come, this document defines a solution that is easily
      extensible to the introduction of new applications and new use
      cases.</t>
    </section>

    <section anchor="REQDIS" title="Requirements Discussion">
      <t>As stated previously, evolution of use cases for link attributes can
      be expected to continue. Therefore, any discussion of existing use cases
      is limited to requirements that are known at the time of this writing.
      However, in order to determine the functionality required beyond what
      already exists in IS-IS, it is only necessary to discuss use cases that
      justify the key points identified in the introduction, which are:</t>

      <t><list style="numbers">
          <t>Support for indicating which applications are using the link
          attribute advertisements on a link</t>

          <t>Support for advertising application-specific values for the same
          attribute on a link</t>
        </list>[RFC7855] discusses use cases/requirements for Segment Routing
      (SR). Included among these use cases is SR Policy which is defined in
      <xref target="I-D.ietf-spring-segment-routing-policy"/>. If both RSVP-TE
      and SR Policy are deployed in a network, link attribute advertisements
      can be used by one or both of these applications. As there is no
      requirement for the link attributes advertised on a given link used by
      SR Policy to be identical to the link attributes advertised on that same
      link used by RSVP-TE, there is a clear requirement to indicate
      independently which link attribute advertisements are to be used by each
      application.</t>

      <t>As the number of applications that may wish to utilize link
      attributes may grow in the future, an additional requirement is that the
      extensions defined allow the association of additional applications to
      link attributes without altering the format of the advertisements or
      introducing new backwards compatibility issues.</t>

      <t>Finally, there may still be many cases where a single attribute value
      can be shared among multiple applications, so the solution must minimize
      advertising duplicate link/attribute pairs whenever possible.</t>
    </section>

    <section anchor="LEGADV" title="Legacy Advertisements">
      <t>There are existing advertisements used in support of RSVP-TE. These
      advertisements include sub-TLVs for TLVs 22, 23, 25, 141, 222, and 223
      and TLVs for Shared Risk Link Group (SRLG) advertisement.</t>

      <t>Sub-TLV values are defined in the Sub-TLVs for TLVs 22, 23, 25, 141,
      222, and 223 registry.</t>

      <t>TLVs are defined in the TLV Codepoints Registry.</t>

      <section anchor="LEGSUB" title="Legacy sub-TLVs">
        <t><figure>
            <artwork><![CDATA[Sub-TLVs for TLVs 22, 23, 25, 141, 222, and 223 

     +-------------------------------------------+
     | Type | Description                        |
     +-------------------------------------------+
     |   3  | Administrative group (color)       |
     +-------------------------------------------+
     |   9  | Maximum link bandwidth             |
     +-------------------------------------------+
     |  10  | Maximum reservable link bandwidth  |
     +-------------------------------------------+
     |  11  | Unreserved bandwidth               |
     +-------------------------------------------+
     |  14  | Extended Administrative Group      |
     +-------------------------------------------+
     |  18  | TE Default Metric                  |
     +-------------------------------------------+
     |  33  | Unidirectional Link Delay          |
     +-------------------------------------------+
     |  34  | Min/Max Unidirectional Link Delay  |
     +-------------------------------------------+
     |  35  | Unidirectional Delay Variation     |
     +-------------------------------------------+
     |  36  | Unidirectional Link Loss           |
     +-------------------------------------------+
     |  37  | Unidirectional Residual Bandwidth  |
     +-------------------------------------------+
     |  38  | Unidirectional Available Bandwidth |
     +-------------------------------------------+
     |  39  | Unidirectional Utilized Bandwidth  |
     +-------------------------------------------+

]]></artwork>
          </figure></t>
      </section>

      <section anchor="LEGSRLG" title="Legacy SRLG Advertisements">
        <t><figure>
            <artwork><![CDATA[TLV 138 GMPLS-SRLG
  Supports links identified by IPv4 addresses and
  unnumbered links

TLV 139 IPv6 SRLG
  Supports links identified by IPv6 addresses

]]></artwork>
          </figure>Note that [RFC6119] prohibits the use of TLV 139 when it is
        possible to use TLV 138.</t>
      </section>
    </section>

    <section anchor="ASLA"
             title="Advertising Application-Specific Link Attributes">
      <t>Two new code points are defined in support of Application-Specific
      Link Attribute (ASLA) Advertisements:</t>

      <t>1) ASLA sub-TLV for TLVs 22, 23, 25, 141, 222, and 223 (defined in
      <xref target="ASLASUB"/> ).</t>

      <t>2)Application-Specific Shared Risk Link Group (SRLG) TLV (defined in
      <xref target="ASSRLGTLV"/>).</t>

      <t>In support of these new advertisements, an application identifier bit
      mask is defined that identifies the application(s) associated with a
      given advertisement (defined in <xref target="AIBM"/>).</t>

      <t>In addition to supporting the advertisement of link attributes used
      by standardized applications, link attributes can also be advertised for
      use by user defined applications. Such applications are not subject to
      standardization and are outside the scope of this document.</t>

      <t>The following sections define the format of these new
      advertisements.</t>

      <section anchor="AIBM" title="Application Identifier Bit Mask">
        <t>Identification of the set of applications associated with link
        attribute advertisements utilizes two bit masks. One bit mask is for
        standard applications where the definition of each bit is defined in a
        new IANA controlled registry. A second bit mask is for non-standard
        User Defined Applications (UDAs).</t>

        <t>The encoding defined below is used by both the Application-Specific
        Link Attributes sub-TLV and the Application-Specific SRLG TLV.</t>

        <t><figure>
            <artwork><![CDATA[ 0  1  2  3  4  5  6  7 
+--+--+--+--+--+--+--+--+
| SABM Length + Flag    |  1 octet
+--+--+--+--+--+--+--+--+
| UDABM Length + Flag   |  1 octet
+--+--+--+--+--+--+--+--+
|   SABM         ...       0 - 8 octets
+--+--+--+--+--+--+--+--+
|   UDABM        ...       0 - 8 octets
+--+--+--+--+--+--+--+--+

SABM Length + Flag (1 octet)
    Standard Application Identifier Bit Mask 
     Length + Flag

          0 1 2 3 4 5 6 7 
         +-+-+-+-+-+-+-+-+
         |L| SABM Length |
         +-+-+-+-+-+-+-+-+

   L-flag: Legacy Flag.
    See Section 4.2 for a description of how
    this flag is used.

   SABM Length: Indicates the length in octets (0-8) of the
    Standard Application Identifier Bit Mask. The length SHOULD
    be the minimum required to send all bits that are set.
 
UDABM Length + Flag (1 octet)
    User Defined Application Identifier Bit Mask 
     Length + Flag

          0 1 2 3 4 5 6 7 
         +-+-+-+-+-+-+-+-+
         |R| UDABM Length|
         +-+-+-+-+-+-+-+-+

   R: Reserved. SHOULD be transmitted as 0 and 
    MUST be ignored on receipt

   UDABM Length: Indicates the length in octets (0-8) of the
    User Defined Application Identifier Bit Mask. The length SHOULD
    be the minimum required to send all bits that are set.
  
SABM  (variable length)
   Standard Application Identifier Bit Mask

   (SABM Length * 8) bits

   This field is omitted if SABM Length is 0.


          0 1 2 3 4 5 6 7 ...
         +-+-+-+-+-+-+-+-+...
         |R|S|F|          ...
         +-+-+-+-+-+-+-+-+...

 
      R-bit: Set to specify RSVP-TE 

      S-bit: Set to specify Segment Routing Policy

      F-bit: Set to specify Loop Free Alternate (LFA)
       (includes all LFA types)

 UDABM  (variable length)
   User Defined Application Identifier Bit Mask

   (UDABM Length * 8) bits

          0 1 2 3 4 5 6 7 ...
         +-+-+-+-+-+-+-+-+...
         |                ...
         +-+-+-+-+-+-+-+-+...

   This field is omitted if UDABM Length is 0.

]]></artwork>
          </figure>NOTE: SABM/UDABM Length is arbitrarily limited to 8 octets
        in order to insure that sufficient space is left to advertise link
        attributes without overrunning the maximum length of a sub-TLV.</t>

        <t>Standard Application Identifier Bits are defined/sent starting with
        Bit 0.</t>

        <t>User Defined Application Identifier Bits have no relationship to
        Standard Application Identifier Bits and are not managed by IANA or
        any other standards body. It is recommended that bits are used
        starting with Bit 0 so as to minimize the number of octets required to
        advertise all UDAs.</t>

        <t>In the case of both SABM and UDABM, the following rules apply:</t>

        <t><list style="symbols">
            <t>Undefined bits that are transmitted MUST be transmitted as 0
            and MUST be ignored on receipt</t>

            <t>Bits that are not transmitted MUST be treated as if they are
            set to 0 on receipt.</t>

            <t>Bits that are not supported by an implementation MUST be
            ignored on receipt.</t>
          </list>.</t>
      </section>

      <section anchor="ASLASUB"
               title="Application-Specific Link Attributes sub-TLV">
        <t>A new sub-TLV for TLVs 22, 23, 25, 141, 222, and 223 is defined
        that supports specification of the applications and
        application-specific attribute values.</t>

        <t><figure>
            <artwork><![CDATA[   Type: 16 (temporarily assigned by IANA)
   Length: Variable (1 octet)
   Value:

     Application Identifier Bit Mask
     (as defined in Section 4.1)

     Link Attribute sub-sub-TLVs - format matches the
     existing formats defined in [RFC5305], [RFC7308],
     and [RFC8570]]]></artwork>
          </figure></t>

        <t>If the SABM or UDABM length in the Application Identifier Bit Mask
        is greater than 8, the entire sub-TLV MUST be ignored.</t>

        <t>When the L-flag is set in the Application Identifier Bit Mask, all
        of the applications specified in the bit mask MUST use the legacy
        advertisements for the corresponding link found in TLVs 22, 23, 25,
        141, 222, and 223 or TLV 138 or TLV 139 as appropriate. Link attribute
        sub-sub-TLVs for the corresponding link attributes MUST NOT be
        advertised for the set of applications specified in the Standard/User
        Application Identifier Bit Masks and all such advertisements MUST be
        ignored on receipt.</t>

        <t>Multiple Application-Specific Link Attribute sub-TLVs for the same
        link MAY be advertised. When multiple sub-TLVs for the same link are
        advertised, they SHOULD advertise non-conflicting
        application/attribute pairs. A conflict exists when the same
        application is associated with two different values for the same link
        attribute for a given link. In cases where conflicting values for the
        same application/attribute/link are advertised the first advertisement
        received in the lowest numbered LSP SHOULD be used and subsequent
        advertisements of the same attribute SHOULD be ignored.</t>

        <t>For a given application, the setting of the L-flag MUST be the same
        in all sub-TLVs for a given link. In cases where this constraint is
        violated, the L-flag MUST be considered set for this application.</t>

        <t>If link attributes are advertised associated with zero length
        Application Identifier Bit Masks for both standard applications and
        user defined applications, then any Standard Application and/or any
        User Defined Application is permitted to use that set of link
        attributes so long as there is not another set of attributes
        advertised on that same link that is associated with a non-zero length
        Application Identifier Bit Mask with a matching Application Identifier
        Bit set.</t>

        <t>A new registry of sub-sub-TLVs is to be created by IANA that
        defines the link attribute sub-sub-TLV code points. This document
        defines a sub-sub-TLV for each of the existing sub-TLVs listed in
        <xref target="LEGSUB"/> except as noted below. The format of the
        sub-sub-TLVs matches the format of the corresponding legacy sub-TLV
        and IANA is requested to assign the legacy sub-TLV identifier to the
        corresponding sub-sub-TLV.</t>

        <section anchor="SCMLB"
                 title="Special Considerations for Maximum Link Bandwidth">
          <t>Maximum link bandwidth is an application independent attribute of
          the link. When advertised using the Application-Specific Link
          Attributes sub-TLV, multiple values for the same link MUST NOT be
          advertised. This can be accomplished most efficiently by having a
          single advertisement for a given link where the Application
          Identifier Bit Mask identifies all the applications that are making
          use of the value for that link.</t>

          <t>It is also possible to advertise the same value for a given link
          multiple times with disjoint sets of applications specified in the
          Application Identifier Bit Mask. This is less efficient but still
          valid.</t>

          <t>It is also possible to advertise a single advertisement with zero
          length SABM and UDABM so long as the constraints discussed in <xref
          target="ASLASUB"/> and <xref target="DEPZERO"/> are acceptable.</t>

          <t>If different values for Maximum Link Bandwidth for a given link
          are advertised, all values MUST be ignored.</t>
        </section>

        <section anchor="SCUB"
                 title="Special Considerations for Reservable/Unreserved Bandwidth">
          <t>Maximum Reservable Link Bandwidth and Unreserved Bandwidth are
          attributes specific to RSVP-TE. When advertised using the
          Application-Specific Link Attributes sub-TLV, bits other than the
          RSVP-TE (R-bit) MUST NOT be set in the Application Identifier Bit
          Mask. If an advertisement of Maximum Reservable Link Bandwidth or
          Unreserved Bandwidth is received with bits other than the RSVP-TE
          bit set, the advertisement MUST be ignored.</t>
        </section>

        <section anchor="EXTTE" title="Considerations for Extended TE Metrics">
          <t><xref target="RFC8570"/> defines a number of dynamic performance
          metrics associated with a link. It is conceivable that such metrics
          could be measured specific to traffic associated with a specific
          application. Therefore this document includes support for
          advertising these link attributes specific to a given application.
          However, in practice it may well be more practical to have these
          metrics reflect the performance of all traffic on the link
          regardless of application. In such cases, advertisements for these
          attributes will be associated with all of the applications utilizing
          that link. This can be done either by explicitly specifying the
          applications in the Application Identifier Bit Mask or by using a
          zero length Application Identifier Bit Mask.</t>
        </section>
      </section>

      <section anchor="ASSRLGTLV" title="Application-Specific SRLG TLV">
        <t>A new TLV is defined to advertise application-specific SRLGs for a
        given link. Although similar in functionality to TLV 138 [RFC5307] and
        TLV 139 [RFC6119], a single TLV provides support for IPv4, IPv6, and
        unnumbered identifiers for a link. Unlike TLVs 138/139, it utilizes
        sub-TLVs to encode the link identifiers in order to provide the
        flexible formatting required to support multiple link identifier
        types.</t>

        <t><figure>
            <artwork><![CDATA[    Type: 238 (Temporarily assigned by IANA)
    Length: Number of octets in the value field (1 octet)
    Value:
      Neighbor System-ID + pseudo-node ID (7 octets)
      Application Identifier Bit Mask 
       (as defined in Section 4.1)
      Length of sub-TLVs (1 octet)
      Link Identifier sub-TLVs (variable)
      0 or more SRLG Values (Each value is 4 octets)

    The following Link Identifier sub-TLVs are defined.
    The values chosen are intentionally matching the equivalent
    sub-TLVs from [RFC5305], [RFC5307], and [RFC6119].

    Type    Description
     4      Link Local/Remote Identifiers [RFC5307]
     6      IPv4 interface address [RFC5305]
     8      IPv4 neighbor address [RFC5305]
    12      IPv6 Interface Address [RFC6119]
    13      IPv6 Neighbor Address [RFC6119]
]]></artwork>
          </figure>At least one set of link identifiers (IPv4, IPv6, or Link
        Local/Remote) MUST be present. Multiple occurrences of the same
        identifier type MUST NOT be present. TLVs that do not meet this
        requirement MUST be ignored.</t>

        <t>Multiple TLVs for the same link MAY be advertised.</t>

        <t>When the L-flag is set in the Application Identifier Bit Mask, SRLG
        values MUST NOT be included in the TLV. Any SRLG values that are
        advertised MUST be ignored. Based on the link identifiers advertised
        the corresponding legacy TLV (see <xref target="LEGSRLG"/>) can be
        identified and the SRLG values advertised in the legacy TLV MUST be
        used by the set of applications specified in the Application
        Identifier Bit Mask.</t>

        <t>For a given application, the setting of the L-flag MUST be the same
        in all TLVs for a given link. In cases where this constraint is
        violated, the L-flag MUST be considered set for this application.</t>
      </section>
    </section>

    <section anchor="AAE" title="Attribute Advertisements and Enablement">
      <t>This document defines extensions to support the advertisement of
      application-specific link attributes.</t>

      <t>Whether the presence of link attribute advertisements for a given
      application indicates that the application is enabled on that link
      depends upon the application. Similarly, whether the absence of link
      attribute advertisements indicates that the application is not enabled
      depends upon the application.</t>

      <t>In the case of RSVP-TE, the advertisement of application-specific
      link attributes implies that RSVP is enabled on that link. The absence
      of RSVP-TE application-specific link attributes in combination with the
      absence of legacy advertisements implies that RSVP is not enabled on
      that link.</t>

      <t>In the case of SR Policy, advertisement of application-specific link
      attributes does not indicate enablement of SR Policy on that link. The
      advertisements are only used to support constraints that may be applied
      when specifying an explicit path. SR Policy is implicitly enabled on all
      links that are part of the Segment Routing enabled topology independent
      of the existence of link attribute advertisements.</t>

      <t>In the case of LFA, advertisement of application-specific link
      attributes does not indicate enablement of LFA on that link. Enablement
      is controlled by local configuration.</t>

      <t>If, in the future, additional standard applications are defined to
      use this mechanism, the specification defining this use MUST define the
      relationship between application-specific link attribute advertisements
      and enablement for that application.</t>

      <t>This document allows the advertisement of application-specific link
      attributes with no application identifiers i.e., both the Standard
      Application Identifier Bit Mask and the User Defined Application
      Identifier Bit Mask are not present (See Section 4.1). This supports the
      use of the link attribute by any application. In the presence of an
      application where the advertisement of link attribute advertisements is
      used to infer the enablement of an application on that link (e.g.,
      RSVP-TE), the absence of the application identifier leaves ambiguous
      whether that application is enabled on such a link. This needs to be
      considered when making use of the "any application" encoding.</t>
    </section>

    <section anchor="DEPCONS" title="Deployment Considerations">
      <t>This section discuss deployment considerations associated with the
      use of application-specific link attribute advertisements.</t>

      <section anchor="DEPLEGACY" title="Use of Legacy Advertisements">
        <t>Bit Identifiers for Standard Applications are defined in <xref
        target="AIBM"/>. All of the identifiers defined in this document are
        associated with applications that were already deployed in some
        networks prior to the writing of this document. Therefore, such
        applications have been deployed using the legacy advertisements. The
        Standard Applications defined in this document may continue to use
        legacy advertisements for a given link so long as at least one of the
        following conditions is true:</t>

        <t><list style="symbols">
            <t>The application is RSVP-TE</t>

            <t>The application is SR Policy or LFA and RSVP-TE is not deployed
            anywhere in the network</t>

            <t>The application is SR Policy or LFA, RSVP-TE is deployed in the
            network, and both the set of links on which SR Policy and/or LFA
            advertisements are required and the attribute values used by SR
            Policy and/or LFA on all such links is fully congruent with the
            links and attribute values used by RSVP-TE</t>
          </list></t>

        <t>Under the conditions defined above, implementations that support
        the extensions defined in this document have the choice of using
        legacy advertisements or application-specific advertisements in
        support of SR Policy and/or LFA. This will require implementations to
        provide controls specifying which type of advertisements are to be
        sent/processed on receive for these applications. Further discussion
        of the associated issues can be found in <xref target="IBCMC"/>.</t>

        <t>New applications that future documents define to make use of the
        advertisements defined in this document MUST NOT make use of legacy
        advertisements. This simplifies deployment of new applications by
        eliminating the need to support multiple ways to advertise attributes
        for the new applications.</t>
      </section>

      <section anchor="DEPZERO"
               title="Use of Zero Length Application Identifier Bit Masks">
        <t>Link attribute advertisements associated with zero length
        Application Identifier Bit Masks for both standard applications and
        user defined applications are usable by any application, subject to
        the restrictions specified in <xref target="ASLASUB"/>. If support for
        a new application is introduced on any node in a network in the
        presence of such advertisements, these advertisements are permitted to
        be used by the new application. If this is not what is intended, then
        existing advertisements MUST be readvertised with an explicit set of
        applications specified before a new application is introduced.</t>
      </section>

      <section anchor="IBCMC"
               title="Interoperability, Backwards Compatibility and Migration Concerns">
        <t>Existing deployments of RSVP-TE, SR Policy, and/or LFA utilize the
        legacy advertisements listed in Section 3. Routers that do not support
        the extensions defined in this document will only process legacy
        advertisements and are likely to infer that RSVP-TE is enabled on the
        links for which legacy advertisements exist. It is expected that
        deployments using the legacy advertisements will persist for a
        significant period of time. Therefore deployments using the extensions
        defined in this document in the presence of routers that do not
        support these extensions need to be able to interoperate with the use
        of legacy advertisements by the legacy routers. The following
        sub-sections discuss interoperability and backwards compatibility
        concerns for a number of deployment scenarios.</t>

        <section anchor="MACARSVP"
                 title="Multiple Applications: Common Attributes with  RSVP-TE">
          <t>In cases where multiple applications are utilizing a given link,
          one of the applications is RSVP-TE, and all link attributes for a
          given link are common to the set of applications utilizing that
          link, interoperability is achieved by using legacy advertisements
          and sending application-specific advertisements with L-flag set and
          no link attribute values. This avoids duplication of link attribute
          advertisements.</t>
        </section>

        <section anchor="MAALLNS"
                 title="Multiple Applications: All Attributes Not Shared with RSVP-TE">
          <t>In cases where one or more applications other than RSVP-TE are
          utilizing a given link and one or more link attribute values are not
          shared with RSVP-TE, it is necessary to use application-specific
          advertisements as defined in this document. Attributes for
          applications other than RSVP-TE MUST be advertised using
          application-specific advertisements that have the L-flag clear. In
          cases where some link attributes are shared with RSVP-TE, this
          requires duplicate advertisements for those attributes.</t>

          <t>These guidelines apply to cases where RSVP-TE is not using any
          advertised attributes on a link and to cases where RSVP-TE is using
          some link attribute advertisements on the link but some link
          attributes cannot be shared with RSVP-TE.</t>
        </section>

        <section anchor="LEGACY" title="Interoperability with Legacy Routers">
          <t>For the applications defined in this document, routers that do
          not support the extensions defined in this document will send and
          receive only legacy link attribute advertisements. So long as there
          is any legacy router in the network that has any of the applications
          enabled, all routers MUST continue to advertise link attributes
          using legacy advertisements. In addition, the link attribute values
          associated with the set of applications supported by legacy routers
          (RSVP-TE, SR Policy, and/or LFA) are always shared since legacy
          routers have no way of advertising or processing
          application-specific values. Once all legacy routers have been
          upgraded, migration from legacy advertisements to ASLA
          advertisements can be achieved via the following steps:</t>

          <t>1)Send ASLA advertisements while continuing to advertise using
          legacy (all advertisements are then duplicated). Receiving routers
          continue to use legacy advertisements.</t>

          <t>2)Enable the use of the ASLA advertisements on all routers</t>

          <t>3)Remove legacy advertisements</t>

          <t>When the migration is complete, it then becomes possible to
          advertise incongruent values per application on a given link.</t>

          <t>Note that the use of the L-flag is of no value in the
          migration.</t>

          <t>Documents defining new applications that make use of the
          application-specific advertisements defined in this document MUST
          discuss interoperability and backwards compatibility issues that
          could occur in the presence of routers that do not support the new
          application.</t>
        </section>

        <section anchor="APPRSVP"
                 title="Use of Application-Specific Advertisements for RSVP-TE">
          <t>The extensions defined in this document support RSVP-TE as one of
          the supported applications. This allows that RSVP-TE could
          eventually utilize the application-specific advertisements. This can
          be done in the following step-wise manner:</t>

          <t>1)Upgrade all routers to support the extensions in this
          document</t>

          <t>2)Advertise all legacy link attributes using ASLA advertisements
          with L-flag clear and R-bit set. At this point both legacy and
          application-specific advertisements are being sent.</t>

          <t>3)Remove legacy advertisements</t>
        </section>
      </section>
    </section>

    <section anchor="IANA" title="IANA Considerations">
      <t>This section lists the protocol code point changes introduced by this
      document and the related IANA changes required.</t>

      <t>For new registries defined under IS-IS TLV Codepoints Registry with
      registration procedure "Expert Review", guidance for designated experts
      can be found in <xref target="RFC7370"/>.</t>

      <section anchor="IANA1"
               title="Application-Specific Link Attributes sub-TLV">
        <t>This document defines a new sub-TLV in the Sub-TLVs for TLVs 22,
        23, 25, 141, 222, and 223 registry. See <xref target="ASLASUB"/></t>

        <figure>
          <artwork><![CDATA[ 
 Type  Description             22   23   25  141  222  223 
 ----  ---------------------  ---- ---- ---- ---- ---- ----
  16   Application-Specific     y    y  y(s)   y    y    y
        Link Attributes
]]></artwork>
        </figure>

        <t/>
      </section>

      <section anchor="IANA2" title="Application-Specific SRLG TLV">
        <t>This document defines one new TLV in the IS-IS TLV Codepoints
        Registry. See <xref target="ASSRLGTLV"/></t>

        <t><figure>
            <artwork><![CDATA[ 
 Type  Description             IIH LSP SNP Purge 
 ----  ---------------------   --- --- --- -----
  238  Application-Specific     n   y   n    n
        SRLG
]]></artwork>
          </figure></t>
      </section>

      <section anchor="IANA3"
               title="Application-Specific Link Attributes sub-sub-TLV Registry">
        <t>This document requests a new IANA registry under the IS-IS TLV
        Codepoints Registry be created to control the assignment of
        sub-sub-TLV codepoints for the Application-Specific Link Attributes
        sub-TLV defined in <xref target="IANA1"/>. The suggested name of the
        new registry is "sub-sub-TLV code points for application-specific link
        attributes". The registration procedure is "Expert Review" as defined
        in <xref target="RFC8126"/>. The following assignments are made by
        this document:</t>

        <t><figure>
            <artwork><![CDATA[ Type   Description                          Encoding
                                             Reference
---------------------------------------------------------
 0-2    Unassigned
 3      Administrative group (color)         RFC5305
 4-8    Unassigned
 9      Maximum link bandwidth               RFC5305
10      Maximum reservable link bandwidth    RFC5305
11      Unreserved bandwidth                 RFC5305
12-13   Unassigned
14      Extended Administrative Group        RFC7308
15-17   Unassigned
18      TE Default Metric                    RFC5305
19-32   Unassigned
33      Unidirectional Link Delay            RFC8570
34      Min/Max Unidirectional Link Delay    RFC8570
35      Unidirectional Delay Variation       RFC8570
36      Unidirectional Link Loss             RFC8570
37      Unidirectional Residual Bandwidth    RFC8570
38      Unidirectional Available Bandwidth   RFC8570
39      Unidirectional Utilized Bandwidth    RFC8570
40-255  Unassigned
]]></artwork>
          </figure></t>

        <t>Note to IANA: For future codepoints, in cases where the document
        that defines the encoding is different from the document that assigns
        the codepoint, the encoding reference MUST be to the document that
        defines the encoding.</t>

        <t>Note to designated experts: If a link attribute can be advertised
        both as a sub-TLV of TLVs 22, 23, 25, 141, 222, and 223 and as a
        sub-sub-TLV of the Application-Specific Link Attributes sub-TLV
        defined in this document, then the same numerical code should be
        assigned to the link attribute whenever possible.</t>
      </section>

      <section anchor="IANA4"
               title="Link Attribute Application Identifier Registry">
        <t>This document requests a new IANA registry be created, under the
        category of "Interior Gateway Protocol (IGP) Parameters", to control
        the assignment of Application Identifier Bits. The suggested name of
        the new registry is "Link Attribute Applications". The registration
        policy for this registry is "Expert Review" <xref target="RFC8126"/>.
        Bit definitions SHOULD be assigned such that all bits in the lowest
        available octet are allocated before assigning bits in the next octet.
        This minimizes the number of octets that will need to be transmitted.
        The following assignments are made by this document:</t>

        <t><figure>
            <artwork><![CDATA[ Bit #   Name
---------------------------------------------------------
  0      RSVP-TE (R-bit)
  1      Segment Routing Policy (S-bit)
  2      Loop Free Alternate (F-bit)
  3-63   Unassigned
  ]]></artwork>
          </figure></t>
      </section>

      <section anchor="IANA5" title="SRLG sub-TLVs">
        <t>This document requests a new IANA registry be created under the
        IS-IS TLV Codepoints Registry to control the assignment of sub-TLV
        types for the application-specific SRLG TLV. The suggested name of the
        new registry is "Sub-TLVs for TLV 238". The registration procedure is
        "Expert Review" as defined in <xref target="RFC8126"/>. The following
        assignments are made by this document:</t>

        <t><figure>
            <artwork><![CDATA[ Value    Description                    Encoding
                                         Reference
 ---------------------------------------------------------
  0-3     Unassigned 
   4      Link Local/Remote Identifiers  [RFC5307]
   5      Unassigned
   6      IPv4 interface address         [RFC5305]
   7      Unassigned
   8      IPv4 neighbor address          [RFC5305]
  9-11    Unassigned
  12      IPv6 Interface Address         [RFC6119]
  13      IPv6 Neighbor Address          [RFC6119]
 14-255   Unassigned
]]></artwork>
          </figure>Note to IANA: For future codepoints, in cases where the
        document that defines the encoding is different from the document that
        assigns the codepoint, the encoding reference MUST be to the document
        that defines the encoding.</t>
      </section>
    </section>

    <section anchor="Security" title="Security Considerations">
      <t>Security concerns for IS-IS are addressed in <xref
      target="ISO10589"/>, <xref target="RFC5304"/>, and <xref
      target="RFC5310"/>. While IS-IS is deployed under a single
      administrative domain, there can be deployments where potential
      attackers have access to one or more networks in the IS-IS routing
      domain. In these deployments, the stronger authentication mechanisms
      defined in the aforementioned documents SHOULD be used.</t>

      <t>This document defines a new way to advertise link attributes.
      Tampering with the information defined in this document may have an
      effect on applications using it, including impacting Traffic Engineering
      as discussed in <xref target="RFC8570"/>. As the advertisements defined
      in this document limit the scope to specific applications, the impact of
      tampering is similarly limited in scope.</t>
    </section>

    <section anchor="Acknowledgements" title="Acknowledgements">
      <t>The authors would like to thank Eric Rosen and Acee Lindem for their
      careful review and content suggestions.</t>
    </section>
  </middle>

  <back>
    <references title="Normative References">
      <reference anchor="ISO10589">
        <front>
          <title>Intermediate system to Intermediate system intra-domain
          routeing information exchange protocol for use in conjunction with
          the protocol for providing the connectionless-mode Network Service
          (ISO 8473)</title>

          <author>
            <organization abbrev="ISO">International Organization for
            Standardization</organization>
          </author>

          <date month="Nov" year="2002"/>
        </front>

        <seriesInfo name="ISO/IEC" value="10589:2002, Second Edition"/>
      </reference>

      <?rfc include="reference.RFC.2119"?>

      <?rfc include='reference.RFC.8126'?>

      <?rfc include='reference.RFC.5304'?>

      <?rfc include='reference.RFC.5305'?>

      <?rfc include='reference.RFC.5307'?>

      <?rfc include='reference.RFC.5310'?>

      <?rfc include='reference.RFC.6119'?>

      <?rfc include='reference.RFC.7308'?>

      <?rfc include='reference.RFC.7370'?>

      <?rfc include='reference.RFC.8570'?>

      <?rfc include='reference.RFC.8174'?>
    </references>

    <references title="Informative References">
      <?rfc include="reference.I-D.ietf-spring-segment-routing-policy.xml"?>

      <?rfc include="reference.RFC.3209"?>

      <?rfc include="reference.RFC.5286"?>

      <?rfc include='reference.RFC.7855'?>

      <?rfc ?>
    </references>
  </back>
</rfc>
