Re: [Teas] Types within ietf-te-path-computation and ietf-te-types Modules

Igor Bryskin <> Fri, 18 January 2019 14:27 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 9055C124D68 for <>; Fri, 18 Jan 2019 06:27:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id KUs8-KprABvZ for <>; Fri, 18 Jan 2019 06:27:52 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id ED42A1200D7 for <>; Fri, 18 Jan 2019 06:27:51 -0800 (PST)
Received: from (unknown []) by Forcepoint Email with ESMTP id EF3E2B18AC4308EB3930 for <>; Fri, 18 Jan 2019 14:27:49 +0000 (GMT)
Received: from ( by ( with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 18 Jan 2019 14:27:49 +0000
Received: from ([]) by ([]) with mapi id 14.03.0415.000; Fri, 18 Jan 2019 06:27:38 -0800
From: Igor Bryskin <>
To: "" <>, Igor Bryskin <>, "" <>, "" <>
CC: "" <>, "" <>, "" <>
Thread-Topic: RE: [Teas] Types within ietf-te-path-computation and ietf-te-types Modules
Thread-Index: AQHUrzn2fy5v5tYZN0e1rVaFWHfb7A==
Date: Fri, 18 Jan 2019 14:27:38 +0000
Message-ID: <etPan.5c41e2d9.558707f8.fde@localhost>
References: <> <etPan.5c3dd203.5c1b45c5.2232@localhost> <etPan.5c3dead0.76c532e5.48f3@localhost>, <> <etPan.5c3f2a50.63ff74c0.f8f@localhost>, <>
In-Reply-To: <>
Accept-Language: en-US
Content-Language: en-US
Content-Type: multipart/alternative; boundary="_000_etPan5c41e2d9558707f8fdelocalhost_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <>
Subject: Re: [Teas] Types within ietf-te-path-computation and ietf-te-types Modules
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 18 Jan 2019 14:27:56 -0000

Hi Sergio,

AFAIK Top level TE RTR TLV of V2/3 OSPF -TE role is to advertise bindings of the advertising RouterID to one or more TERouterIDs, each of which could be either 32 or 128 bit long, hence there is a way to map a 128b long TE RouterID to 32b long te node id ( as specified by te-types). If I am correct, there is no issue with the description. if I am wrong we should not mention the RFC.

IMHO there is no need for 128 TE Router ID (unless it is assumed always to be IPv6 address, which is not), because it is difficult to envision a TE topology so large that unt32 is not sufficient to identify all its nodes.

From:Belotti, Sergio (Nokia - IT/Vimercate)
To:Igor Bryskin,,,,,Tarek Saad (tsaad),
Date:2019-01-18 03:40:16
Subject:RE: [Teas] Types within ietf-te-path-computation and ietf-te-types Modules

Hi Igor,
I think Julien is not arguing about the need or not to have a routable address but on the fact that ,at the moment, te-types in the description of te-node-id mention RFC 6119 that means a 128-bit format.

“typedef te-node-id {
    type yang:dotted-quad;
      "A type representing the identifier for a node in a TE
       The identifier is represented as 32-bit unsigned integer in
       the dotted-quad notation.
       This attribute MAY be mapped to the Router Address described
       in Section 2.4.1 of [RFC3630], the TE Router ID described in
       Section 3 of [RFC6827], the Traffic Engineering Router ID
       described in Section 4.3 of [RFC5305], or the TE Router ID
       described in Section 3.2.1 of [RFC6119].
       The reachability of such a TE node MAY be achieved by a
       mechanism such as Section 6.2 of [RFC6827].";


From: Teas <> On Behalf Of Igor Bryskin
Sent: Wednesday, January 16, 2019 1:56 PM
To:; Igor Bryskin <>om>;
Subject: Re: [Teas] Types within ietf-te-path-computation and ietf-te-types Modules

Hi Julien,

To your A2.1:

te-node-id (a property of a te topology node) is conceptually different/orthoganal  from TE-router-id ( a property of a TE enabled routing protocol speaker). There are many reasons to this, to name a couple:
1. Tthere could be TE networks (especially in cs layers) that are run without routing protocols;
2. TE topology could be abstract with a te-node representing an arbitrary segment of the underlay network.

TE routing is just one way (albeit important) a te topology could be discovered/managed and the RFCs you mentioned are as important for te topologies as,say, RSVP RFCs are important for te tunnels, i.e. we can onlly talk about reference points and convenience of
implementaion of popular use cases, but not something that needs to be comformant to universally.

To your B1.1:

Tunnel termination point normally represents a physical device where a TE tunnel is terminated, its clients are adoptrd, etc. (e.g. WDM transponder) with a certain phyisical address, which may or may not fit in 64, 128, etc. bit, hence the type is defined as binary. On the other  hand, link termination point (or tp per I2RS topology model) is a numbered or unnumbered identifier of a link terminated on a node. There is no need for sharing types between the two because they are totally unrelated.


From:Julien Meuric
To:Igor Bryskin,,,,
Date:2019-01-16 04:49:41
Subject:Re: [Teas] Types within ietf-te-path-computation and ietf-te-types Modules

Hi Igor,

A.1. I'm glad we agree on using the "te-node-id" type in both places.

A.2. I am not questioning the fact that an ID does not need to be a
routable address; I am just saying that there are (Standard Track) RFCs
that defines 128-bit TE Router IDs (e.g., RFC 6119 section 4.1, as
mentioned below) and the definition of "te-node-id" imported from
"te-types" cannot overlook that (this could be another thread directed
to the authors of ietf-te-types).

B.1. I agree that a tunnel TP is different from a link TP; I do not
suggest to use the same name on these leaves. However, both should point
to the "te-tp-id" space (instead of binary). If you believe there are
some missing encodings in "te-tp-id", what are they?

B.2. It is fine to have 2 different types such as "te-node-id" and
"te-tp-id" (as within the RO part in the tree below), we are in sync on



On 15/01/2019 15:12, Igor Bryskin wrote:
> Hi Julien,
> Two more comments from me and Italo:
> 1.To <http://1.To> align src/dst type with the node-id type is a good
> idea;
> 2. As widely discussed, TE node id, generally speaking, is not
> (pingable) IP address, nor it is a routing protocol  router ID , just
> a number that identifys node uniquely in the TE topology the node
> belongs to, hence uint32 is sufficient.
> Cheers,
> Igor
> *From:*Igor Bryskin
> *Date:*2019-01-15 07:27:22
> Hi Julien,
> 1.src (dst)-tp-id below means src/dst tunnel termination point, which
> is different from flink-tp-id below, which menas link termination
> point, i.e. place where a numbered/unnumbered link is terminated on a
> node;
> 2. We discussed a lot and believe that node-id sub-object should be
> different from numbered link-id sub-object ( as per current RSVP and
> PCEP) because there are use cases where one needs to distinguish node
> from link in ERO without necessarily looking into topology infotmation..
> Cheers,
> Igor
> *From:*Julien Meuric
> *Date:*2019-01-15 04:05:43
> Hi all,
> A colleague of mine has started to implement some pieces of the
> ietf-te-path-computation Yang module. He has already bumped into a
> couple of inconsistencies that are worth sharing.
> In this module, we have:
> +---- path-request* [request-id]
> |  +---- ...
> |  +---- source?                   inet:ip-address
> |  +---- destination?              inet:ip-address
> |  +---- src-tp-id?                binary
> |  +---- dst-tp-id?                binary
> |  +---- ...
> |  +---- explicit-route-objects
> |  |  +---- route-object-exclude-always* [index]
> |  |  |  +---- index            uint32
> |  |  |  +---- (type)?
> |  |  |     +--:(num-unnum-hop)
> |  |  |     |  +---- num-unnum-hop
> |  |  |     |     +---- node-id?      te-types:te-node-id
> |  |  |     |     +---- link-tp-id?   te-types:te-tp-id
> |  |  |     |     +---- ...
> In the above, the types associated to source/destination and x-tp-id are
> different between the request level and the RO level. This leads us to 2
> fixes to consider on this document:
> - src-tp-id/dst-tp-id should mimic link-tp-id and reuse te-tp-id instead
> of binary;
> - source/destination and node-id should share a common type (any reason
> they would not?).
> What is more, te-node-id is currently defined in ietf-te-types as 32-bit
> only, whereas the references it mentions include 128-bit format; e.g.
> RFC 6119 (section 3.2.1.) says: "it is useful to have a stable IPv6
> address identifying a TE node. The IPv6 TE Router ID TLV is defined in
> Section 4.1."
> Fixing te-types:te-node-id is a prerequisite to fully solve the 2nd
> issue above.
> Thanks,
> Julien, et al.
> _______________________________________________
> Teas mailing list
> _______________________________________________
> Teas mailing list