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

tom petch <ietfa@btconnect.com> Tue, 22 January 2019 11:13 UTC

Return-Path: <ietfa@btconnect.com>
X-Original-To: teas@ietfa.amsl.com
Delivered-To: teas@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 93604130EE2 for <teas@ietfa.amsl.com>; Tue, 22 Jan 2019 03:13:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.105
X-Spam-Level:
X-Spam-Status: No, score=0.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.142, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DJGaLRKKQkae for <teas@ietfa.amsl.com>; Tue, 22 Jan 2019 03:13:48 -0800 (PST)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130108.outbound.protection.outlook.com [40.107.13.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 443351292F1 for <teas@ietf.org>; Tue, 22 Jan 2019 03:13:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YgRgceKbCUqQSBBryG5cnArqIa0Xr/n7qJr0pQPNGSg=; b=YoIHZjpD0zZvcqr3G9so7KhljxaV2suURahUM983o5PLHR2KqN7tM//koowe9iMEyqSIkBMXsY1UZT6f0kpbFfaFuIiSrTjTNLvYL06vUglUhPKe/AnU8uEgagM3ghORWRqNsL/Bv2thYsdCMliNrrA3MghemJdXCTRnjiWvWwA=
Received: from AM0PR07MB5203.eurprd07.prod.outlook.com (20.178.19.156) by AM0PR07MB4580.eurprd07.prod.outlook.com (52.135.151.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1558.15; Tue, 22 Jan 2019 11:13:44 +0000
Received: from AM0PR07MB5203.eurprd07.prod.outlook.com ([fe80::70d9:5570:355a:d62f]) by AM0PR07MB5203.eurprd07.prod.outlook.com ([fe80::70d9:5570:355a:d62f%4]) with mapi id 15.20.1558.016; Tue, 22 Jan 2019 11:13:44 +0000
From: tom petch <ietfa@btconnect.com>
To: Igor Bryskin <Igor.Bryskin@huawei.com>, "sergio.belotti@nokia.com" <sergio.belotti@nokia.com>, "julien.meuric@orange.com" <julien.meuric@orange.com>, "teas@ietf.org" <teas@ietf.org>
CC: "esther.lerouzic@orange.com" <esther.lerouzic@orange.com>, "ahmed.triki@orange.com" <ahmed.triki@orange.com>, "tsaad@cisco.com" <tsaad@cisco.com>
Thread-Topic: [Teas] Types within ietf-te-path-computation and ietf-te-types Modules
Thread-Index: AQHUsLjCDRpBm7NwqkOGpd2MZriU6w==
Date: Tue, 22 Jan 2019 11:13:44 +0000
Message-ID: <033101d4b243$68cb64a0$4001a8c0@gateway.2wire.net>
References: <38a2168c-b23d-0324-c058-72ce000a84b4@orange.com> <etPan.5c3dd203.5c1b45c5.2232@localhost> <etPan.5c3dead0.76c532e5.48f3@localhost>, <216f71fd-6cc0-ce1a-7da8-0adc4b38da98@orange.com> <etPan.5c3f2a50.63ff74c0.f8f@localhost> <AM0PR07MB59212DE755A64C1CB4756B63919C0@AM0PR07MB5921.eurprd07.prod.outlook.com>, <005601d4b0b8$a3be0f40$4001a8c0@gateway.2wire.net> <etPan.5c449bb6.8af89c7.fcb@localhost>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: LO2P265CA0273.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a1::21) To AM0PR07MB5203.eurprd07.prod.outlook.com (2603:10a6:208:f5::28)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfa@btconnect.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-mailer: Microsoft Outlook Express 6.00.2800.1106
x-originating-ip: [86.139.215.184]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM0PR07MB4580; 6:Ysjwd+89oRUdStPR4txS3oppvkmtqPBmGvPOiZ0yiVDA0BE4+Q14m2/+3sNcLlHPNJsHJexHqnrO+jwF6a0ZxBRNPgVStgzghyPz5/AtcgimvNgFK+KBvfxuAY7VmarXV12AVsd3J2/B7waV23/FChyWXaUVjUR/V40XXibVMm+kfvjTc5hJL239gfS6sdb0hGhNBUZaFQsB7mDQ11u9LfssPcMuDdcU9oOT6Mxb0nqaMAqJdhMVuVgBcLByL8HpKboWcjzSWZQxK6IV0JZFBZYxId8o2fT4O4G8/ZY5A+UpC0tQxT4VB2s2hD3y5vrs7OveJw9VqW0J/9O4WybNDKViRb0GL/P8ZUGcoKVp+eo64/FjA5rVsSOL+UWCXZowyjFFXXEeII9o/EPjHHHuSSHCJxGTLq6/g22vtzNQbspnxHvzFPJ9sVSuClS8HwLbuSS5DwYbJ+29SstkdlfTrQ==; 5:Fv5phoQmhKRm9PPa40ukxBiDWU82O3mV0qWjFybiRphWJe1tEAGsF9lK/FVSbaVsfd6f8CvKCaz/mle8Jgu+O7xVOvl3QDLpftbltMkMXFJHYyo2N29RT1y5InPz5EZWOgweiNe4LV+QrtjmnCMz8hmcrdaQ+yVT8oBiBhfU7rUjwUGqMKJt1rSZnS61h9m99r9l7yA36yYXkmVCkTySfg==; 7:tS2dQJfIILasDbZ7RublVerktKhUu6IUPXxW1zrvQEn+RCaFMASU/JshPWQsRjSC8Io0scCvyGGq0e3nGK/Bld8BdyEoTF0o9uL/yo3DVRojnxM5k5wUBfii2xpBU9mE1+Vz5lN2Im7O42OVmPaPJg==
x-ms-office365-filtering-correlation-id: 68cbb044-0bfa-49ec-fcc0-08d6805aab5a
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7193020); SRVR:AM0PR07MB4580;
x-ms-traffictypediagnostic: AM0PR07MB4580:
x-microsoft-antispam-prvs: <AM0PR07MB4580953B95F8F6814AC43983A2980@AM0PR07MB4580.eurprd07.prod.outlook.com>
x-forefront-prvs: 0925081676
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(346002)(376002)(396003)(136003)(366004)(189003)(199004)(37854004)(53754006)(76114002)(13464003)(106356001)(84392002)(1556002)(102836004)(53936002)(105586002)(6506007)(386003)(229853002)(478600001)(53546011)(26005)(186003)(316002)(44736005)(52116002)(61296003)(14454004)(81686011)(110136005)(76176011)(81816011)(33896004)(6436002)(54906003)(6486002)(4720700003)(6306002)(2906002)(446003)(476003)(9686003)(6512007)(86152003)(93886005)(68736007)(6116002)(71200400001)(50226002)(66066001)(2201001)(2501003)(14496001)(71190400001)(8936002)(25786009)(66574012)(81156014)(81166006)(86362001)(3846002)(305945005)(486006)(7736002)(97736004)(99286004)(256004)(6246003)(62236002)(44716002)(14444005)(8676002)(4326008)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR07MB4580; H:AM0PR07MB5203.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:0;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: e+BwMsCJWzZAMZAZanroaVK6UYWe2elooS8tCIphI7IMGavTfi9saxiIs6xSp82yNuBKDwQ1RDvY2fCViQm4JFxAHmPu1GPiAkGO1oklQEIBxgPOdDJcrI9Q7trRWukWzhVWsdUNxyGuvZ26IXflSL7F6MXyybGMhlirYnvvNvzjd6K6BB+Bs7zTPw7eRapZ0YHqMeY6qvn697Vm+hoLmta2tJIkry4cDRgFVpJV0LvJ+1TU5Hok78G+7rW7ZiO9YQXtS5jqbuvA/uLcZj94fdDM20XAugtZdE2nd/GawDbQp/vvfVoZZvx/QDMoxYDPvqfjPuRd8S8KC+QXIzHfXS0eBzEty7RG0VEbpNzbGTbYmU3dh1GPn4EVTCV5hh7i4yn3e7ythEw7aojOSeTH7HgHLOeeQuKRGIJVUgF9an8=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <E47FABDB979BBA4EA2D12DAA88FE3691@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 68cbb044-0bfa-49ec-fcc0-08d6805aab5a
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2019 11:13:42.4979 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB4580
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/VGqrBd7vJFdicKIOt0ujXqsFrk8>
Subject: Re: [Teas] Types within ietf-te-path-computation and ietf-te-types Modules
X-BeenThere: teas@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <teas.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/teas>, <mailto:teas-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teas/>
List-Post: <mailto:teas@ietf.org>
List-Help: <mailto:teas-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/teas>, <mailto:teas-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Jan 2019 11:13:52 -0000

----- Original Message -----
From: "Igor Bryskin" <Igor.Bryskin@huawei.com>
Sent: Sunday, January 20, 2019 4:00 PM

Hi Tom,

Lets consider Ipv6 only network. Why in your opinion one would  ever
nesd a 128b long TE Router ID? This would be necessary only if TE Router
ID is one of the router's  global IP addresses. But we seem to agree
that TE Router  needs to be neither IP address nor be global (just a TE
topology unique, and there could be more than one TE topologies any
given router could be part of with a separate TE Router ID/ te-node ID).
And there are also, of course,  abstact TE topologies, where TE Router
IDs are meaningless, while te-node IDs are meaningful.

My question is can you thInk of a practical use case that requires 128b
TE Router ID?

<tp>

Igor

I am very happy to always have a 32 bit TE Router ID but the RFC would
appear not to allow it.

By IPv6 only, I mean no IPv4! i.e. the node has not got a routable IPv4
address.

According to RFC5305, s.4.3, TLV134,

'   The router ID TLV contains the 4-octet router ID of the router ...'
' it guarantees that we have a single stable address that can always be
referenced in a path that will be reachable...'
' If a router implements traffic engineering, it MUST include this TLV
in its LSP.  '

This seems impossible; there is no reachable IPv4 address so it cannot
form TLV134 yet it MUST include a TLV134 which must then be invalid.

RFC6119 IPv6 TE does not update this text in RFC5305 and says
'   The TE Router ID TLV contains a stable IPv4 address that is
routable,
   regardless of the state of each interface. '
Again, no stable IPv4 address so this TLV should not be sent.  RFC6119
adds the possibility of
' The IPv6 TE Router ID TLV is TLV type 140.
  The IPv6 TE Router ID TLV contains a 16-octet IPv6 address.  A stable
   global IPv6 address MUST be used '

so the least bad outcome, for a box with IPv6 connectivity but no IPv4
conectivity, would appear to be to omit TLV134 and include TLV140.

That is my logic.  I am not involved with writing code for this but see
this elephant someway down the line and the need to define te-node-id in
te-types, and the post that started this thread, seems to make it come
closer.

Tom Petch


Probably is worth noting that In the te-topology modeling design team we
have both CSCO and JNPR folks. None of them  has ever raised any issues
with 32b long te-node IDs AFAIK.

Cheers,
Igor

From:tom petch
To:Belotti, Sergio (Nokia - IT/Vimercate),Igor
Bryskin,julien.meuric@orange.com,teas@ietf.org,
Cc:esther.lerouzic@orange.com,ahmed.triki@orange.com,Tarek Saad (tsaad),
Date:2019-01-20 07:07:59
Subject:Re: [Teas] Types within ietf-te-path-computation and
ietf-te-types Modules

----- Original Message -----
From: "Belotti, Sergio (Nokia - IT/Vimercate)"
<sergio.belotti@nokia.com>
Sent: Friday, January 18, 2019 8:39 AM

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.

<tp>

No it doesn't.  As your extract below shows, the reference is to
Section 3.2.1 of [RFC6119].
Go read it, it only defines a 32-bit stable IPv4 address; like the other
references, 32 bits rules ok!

Where TE might have problems is with a box that is:
- TE
- IPv6 only, no IPv4
- supports both LSR protocols
- wants to follow the advice that the two LSR protocols should use the
same identifier so that information can be correlated.

OSPF then has
Router Address 32-bit, no structure no semantics, the identifier
Router IPv6 Address 128-bit in TLV Type 3

while the other LSR protocol  has
IPv6 TE Router ID 128-bit TLV type 140.

so the two identifiers for the two LSR protocols would appear to be
irreconcilable.

This is a TE issue, not a modelling one; if the TE is in a seemingly
impossible situation, then the YANG module too will be in a seemingly
impossible situation and it is the TE that needs to be resolved first
before the YANG module can be.

Tom Petch

"typedef te-node-id {
    type yang:dotted-quad;
    description
      "A type representing the identifier for a node in a TE
       topology.
       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].";


Cheers
Sergio

From: Teas <teas-bounces@ietf.org> On Behalf Of Igor Bryskin
Sent: Wednesday, January 16, 2019 1:56 PM

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.

Cheers,
Igor

From:Julien Meuric
Date:2019-01-16 04:49:41

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
that.

Cheers,

Julien


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,
>
> 2 comments:
> 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.