Re: [Teas] draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes

Igor Bryskin <Igor.Bryskin@huawei.com> Mon, 30 July 2018 20:14 UTC

Return-Path: <Igor.Bryskin@huawei.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 5A1F5124D68; Mon, 30 Jul 2018 13:14:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 sy3pXDdtVWLb; Mon, 30 Jul 2018 13:14:39 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 4A238130DEE; Mon, 30 Jul 2018 13:14:39 -0700 (PDT)
Received: from LHREML712-CAH.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 4D4BCE807B25A; Mon, 30 Jul 2018 21:14:35 +0100 (IST)
Received: from SJCEML703-CHM.china.huawei.com (10.208.112.39) by LHREML712-CAH.china.huawei.com (10.201.108.35) with Microsoft SMTP Server (TLS) id 14.3.399.0; Mon, 30 Jul 2018 21:14:36 +0100
Received: from SJCEML521-MBX.china.huawei.com ([169.254.1.107]) by SJCEML703-CHM.china.huawei.com ([169.254.5.139]) with mapi id 14.03.0399.000; Mon, 30 Jul 2018 13:14:26 -0700
From: Igor Bryskin <Igor.Bryskin@huawei.com>
To: "michael.scharf@nokia.com" <michael.scharf@nokia.com>, Igor Bryskin <Igor.Bryskin@huawei.com>, "daniele.ceccarelli@ericsson.com" <daniele.ceccarelli@ericsson.com>, "sergio.belotti@nokia.com" <sergio.belotti@nokia.com>, "teas@ietf.org" <teas@ietf.org>, "teas-chairs@ietf.org" <teas-chairs@ietf.org>
CC: Italo Busi <Italo.Busi@huawei.com>, "francesco.lazzeri@ericsson.com" <francesco.lazzeri@ericsson.com>, "vlopez@tid.es" <vlopez@tid.es>, "oscar.gonzalezdedios@telefonica.com" <oscar.gonzalezdedios@telefonica.com>, "dieter.beller@nokia.com" <dieter.beller@nokia.com>, "carlo.perocchio@ericsson.com" <carlo.perocchio@ericsson.com>, Leeyoung <leeyoung@huawei.com>, "ansha@google.com" <ansha@google.com>, "ricard.vilalta@cttc.es" <ricard.vilalta@cttc.es>, "shiyan49@chinaunicom.cn" <shiyan49@chinaunicom.cn>, "Karthik.Sethuraman@necam.com" <Karthik.Sethuraman@necam.com>
Thread-Topic: RE: RE: [Teas] draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes
Thread-Index: AQHUKEHpmw+YXRdU20GigSZ1Qsjzuw==
Date: Mon, 30 Jul 2018 20:14:25 +0000
Message-ID: <etPan.5b5f719d.621acd8.4b73@localhost>
References: <DB6PR0701MB27272B2E7AF6970DDF0C50F6912B0@DB6PR0701MB2727.eurprd07.prod.outlook.com>, <HE1PR07MB16753FC8D0D876FE54ADBD51F02B0@HE1PR07MB1675.eurprd07.prod.outlook.com> <etPan.5b59df86.6d3e5bb5.7394@localhost>, <VI1PR07MB0880A08EE3B08A170BC28F51932B0@VI1PR07MB0880.eurprd07.prod.outlook.com> <etPan.5b5c8d2a.618fa08a.fbd@localhost>, <VI1PR07MB0880B503377390EC43C13104932F0@VI1PR07MB0880.eurprd07.prod.outlook.com>
In-Reply-To: <VI1PR07MB0880B503377390EC43C13104932F0@VI1PR07MB0880.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative; boundary="_000_etPan5b5f719d621acd84b73localhost_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/DrikBIX7QuBlRKYyYq2KEsA30x4>
Subject: Re: [Teas] draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes
X-BeenThere: teas@ietf.org
X-Mailman-Version: 2.1.27
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: Mon, 30 Jul 2018 20:14:44 -0000

Hi Michael,

Many network applications today are comfortable when dealing with uncertainties.  The usual way to go about them, of course,  is collecting data, building statistical distributions and use probablistic models and probability mathematics to assign/calculate probabilities for various events in the future. This is how they can accuratly predict things that were thought impossible 10 years ago. Why TE applications cannot do the same? I know that IETF is not the place to discuss how to do this. But neither we discuss how paths are computed over deterministic TE graphs. We just assume that servers can do that, and we focus on framework/models for client-server information exchange.

Now, provided that an intelligent server can perform probablistic evaluations accurately enough,  would it be useful for a TE application to receive from the server along with resulting path  a P(t) metric - path availability probability as a function of time within a specific time interval? I believe so, because then the client, based on this metric, could constrain or optimize the path selection, as well as use the metric in  evaluation of its own hypotheses. If the client does not trust the server's probablistic computations, it could choose to retrieve the necessary  telemetry and do the calculations by irself.

I would go even further and say that not only stateless path computations  could benefit from probablistic metrics, abstract TE topologies should be capable to expose them as well.

Igor
From:Scharf, Michael (Nokia - DE/Stuttgart)
To:Igor Bryskin,daniele.ceccarelli@ericsson.com,Belotti, Sergio (Nokia - IT/Vimercate),teas@ietf.org,teas-chairs@ietf.org,
Cc:Italo Busi,francesco.lazzeri@ericsson.com,vlopez@tid.es,oscar.gonzalezdedios@telefonica.com,Beller, Dieter (Nokia - DE/Stuttgart),carlo.perocchio@ericsson.com,Leeyoung,ansha@google.com,ricard.vilalta@cttc.es,shiyan49@chinaunicom.cn,Karthik.Sethuraman@necam.com,
Date:2018-07-30 11:02:27
Subject:RE: RE: [Teas] draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes

I don’t understand how you want to predict all cases in which a stateless path computation would differ from an actual TE tunnel setup. As far as I understand, that would require knowing all future network topology changes, i.e., perfectly predicting all upcoming network failures.  Wouldn’t this be a topic for the IRTF?
In any case, my comments on the RPC attributes were not at all about research.

Michael



From: Igor Bryskin [mailto:Igor.Bryskin@huawei.com]
Sent: Saturday, July 28, 2018 5:35 PM
To: Scharf, Michael (Nokia - DE/Stuttgart) <michael.scharf@nokia.com>; Igor Bryskin <Igor.Bryskin@huawei.com>; daniele.ceccarelli@ericsson.com; Belotti, Sergio (Nokia - IT/Vimercate) <sergio.belotti@nokia.com>; teas@ietf.org; teas-chairs@ietf.org
Cc: Italo Busi <Italo.Busi@huawei.com>; francesco.lazzeri@ericsson.com; vlopez@tid.es; oscar.gonzalezdedios@telefonica.com; Beller, Dieter (Nokia - DE/Stuttgart) <dieter.beller@nokia.com>; carlo.perocchio@ericsson.com; Leeyoung <leeyoung@huawei.com>; ansha@google.com; ricard.vilalta@cttc.es; shiyan49@chinaunicom.cn; Karthik.Sethuraman@necam.com
Subject: Re: RE: [Teas] draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes

Hi Michael,

I think you are talking about bigger, more general problem of the state of the art stateless path computation.  Thank you for bringing this up.
I think you are saying that a TE apllication based on stateless path computations is finicky. It must deal with uncertainties of different kinds of different (hopefully calculable) probabilities. If this is the case, I agree with you. It is time for us to welcome ourselves into the game of hypothesis, evidencies and probabilities and acknowledge that stateless PCE is not just about computing paths on TE graphs, which is albeit non-trivial, but well-understood/documented/taken care of problem. The difficult part is using probablistic cause-evidence-effect graphs to compute the probability of a path returned at time T0 to point/be close to a satisfectory solution when applied at time T1. The latter aspect is not covered by PCEP architecture stateless path computation, and I think it could be a useful addition to PCE YANG work.

Speaking of which, yesterday Adrian suggested the scope for this effort to be roughly what PCEP can do today.With a high probability (;=))  I predict what he will say 1 year down the road. It will sound sometime like this:
"You really did all this? Great! But wait! Why do we need two solutions doing the same thing? Why clients and servers cannot use just PCEP, considering that whule you were busy catching up, Druv has produced some 17 new RFCs? What exactly we are getting out of PCE YANG anyway? PCE requests and responses on the wire are human readable? That's it ?"

This is, at least, I would say. IMHO PCE YANG should be more ambitious and iclude aspects that are not covered yet, such as probablistic path computations mentioned above.

BTW TE tunnel model based path computation today enables (inherently and totally for free) the statefull  path computation according to its original (pre-Crabb) definition: the server mintains states of returned paths rather than of LSPs taking the paths. How about we stop talking about stateless and statefull paths, and start using probabilities computed for path states?


Just my 2c,

Igor
From:Scharf, Michael (Nokia - DE/Stuttgart)
To:Igor Bryskin,daniele.ceccarelli@ericsson.com,Belotti, Sergio (Nokia - IT/Vimercate),teas@ietf.org,teas-chairs@ietf.org,
Cc:Italo Busi,francesco.lazzeri@ericsson.com,vlopez@tid.es,oscar.gonzalezdedios@telefonica.com,Beller, Dieter (Nokia - DE/Stuttgart),carlo.perocchio@ericsson.com,Leeyoung,ansha@google.com,ricard.vilalta@cttc.es,shiyan49@chinaunicom.cn,Karthik.Sethuraman@necam.com,
Date:2018-07-26 12:46:18
Subject:RE: [Teas] draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes

If the path computation is stateless and there can be more than one path computation request in parallel, or dynamic changes in the network, there are *many* reasons why the result of a path computation RPC could be different to the route of the actual tunnel. Otherwise one would have to be able to look into the future to predict network failures and topology changes that affect the path computation.

And a potential difference between RPC and provisioning is a feature, not a bug. If the RPC caller cannot accept that the actual path could be different from the path computation RPC in some cases, outside his control, the RPC caller has to refrain from using a stateless RPC right from the beginning.

My 2 cents

Michael

From: Teas [mailto:teas-bounces@ietf.org] On Behalf Of Igor Bryskin
Sent: Thursday, July 26, 2018 4:50 PM
To: daniele.ceccarelli@ericsson.com<mailto:daniele.ceccarelli@ericsson.com>; Belotti, Sergio (Nokia - IT/Vimercate) <sergio.belotti@nokia.com<mailto:sergio.belotti@nokia.com>>; teas@ietf.org<mailto:teas@ietf.org>; teas-chairs@ietf.org<mailto:teas-chairs@ietf.org>
Cc: Italo Busi <Italo.Busi@huawei.com<mailto:Italo.Busi@huawei.com>>; francesco.lazzeri@ericsson.com<mailto:francesco.lazzeri@ericsson.com>; Scharf, Michael (Nokia - DE/Stuttgart) <michael.scharf@nokia.com<mailto:michael.scharf@nokia.com>>; vlopez@tid.es<mailto:vlopez@tid.es>; oscar.gonzalezdedios@telefonica.com<mailto:oscar.gonzalezdedios@telefonica.com>; Beller, Dieter (Nokia - DE/Stuttgart) <dieter.beller@nokia.com<mailto:dieter.beller@nokia.com>>; carlo.perocchio@ericsson.com<mailto:carlo.perocchio@ericsson.com>; Leeyoung <leeyoung@huawei.com<mailto:leeyoung@huawei.com>>; ansha@google.com<mailto:ansha@google.com>; ricard.vilalta@cttc.es<mailto:ricard.vilalta@cttc.es>; shiyan49@chinaunicom.cn<mailto:shiyan49@chinaunicom.cn>; Karthik.Sethuraman@necam.com<mailto:Karthik.Sethuraman@necam.com>
Subject: Re: [Teas] draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes

Daniele,
What is the point of path computation request / response if it can not be guaranteed, generally speaking, that a TE tunnel configured on a given network will take the same path as returned via path computation response?
The policies installed in the network are not expected to be known to all clients, but the policies could significantly  influence  on tunnel routing.
All we are saying is that when the same information is passed for tunnel configuration and in path computation request for the tunnel  in questuon, there will be no reason for a path computation return one path, while the actual tunnel, when requested,  taking  a different one.
Note also that all extra parameters we are talking about are optional and could be omitted in path computation RPC if it is known, for example, from experience that they do not affect the actual tunnel routing.

Igor
From:Daniele Ceccarelli
To:Belotti, Sergio (Nokia - IT/Vimercate),TEAS WG,teas-chairs@ietf.org,
Cc:Francesco Lazzeri,Sethuraman, Karthik,Scharf, Michael (Nokia - DE/Stuttgart),Victor Lopez,OSCAR GONZALEZ DE DIOS (oscar.gonzalezdedios@telefonica.com),Beller<mailto:oscar.gonzalezdedios@telefonica.com),Beller>, Dieter (Nokia - DE/Stuttgart),Carlo Perocchio,Leeyoung,Anurag Sharma (ansha@google.com),Ricard<mailto:ansha@google.com),Ricard> Vilalta,shiyan49@chinaunicom.cn,Italo Busi,
Date:2018-07-26 05:54:16
Subject:Re: [Teas] draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes

Hi,

>The question is: are there benefits in including in input of Path Computation Request RPC also te-tunnel attributes without any foreseen recommended usage by path computation engine?

Absolutely no.

Main reasons:

  1.  Policies might not be shared with the MDSC
  2.  Policies may be different from PNC to PNC
  3.  A high number of path computation results will be discarded (stateless path computation is needed also by the MDSC to understand what are the different options to get from a node in a domain to another node in a different domain and possibly through a number of other domains…hence a high number of comination)
  4.  Last but not least simplification.

BR
Daniele

From: Belotti, Sergio (Nokia - IT/Vimercate) <sergio.belotti@nokia...com<mailto:sergio.belotti@nokia...com>>
Sent: giovedì 26 luglio 2018 11:00
To: TEAS WG <teas@ietf.org<mailto:teas@ietf.org>>; teas-chairs@ietf.org<mailto:teas-chairs@ietf.org>
Cc: Italo Busi <Italo.Busi@huawei.com<mailto:Italo.Busi@huawei.com>>; Belotti, Sergio (Nokia - IT/Vimercate) <sergio.belotti@nokia.com<mailto:sergio.belotti@nokia.com>>; Francesco Lazzeri <francesco.lazzeri@ericsson.com<mailto:francesco.lazzeri@ericsson.com>>; Carlo Perocchio <carlo.perocchio@ericsson.com<mailto:carlo.perocchio@ericsson.com>>; Scharf, Michael (Nokia - DE/Stuttgart) <michael.scharf@nokia.com<mailto:michael.scharf@nokia.com>>; Anurag Sharma (ansha@google.com<mailto:ansha@google.com>) <ansha@google.com<mailto:ansha@google.com>>; ylee@huawei.com<mailto:ylee@huawei.com>; shiyan49@chinaunicom.cn<mailto:shiyan49@chinaunicom.cn>; Ricard Vilalta <ricard.vilalta@cttc.es<mailto:ricard.vilalta@cttc.es>>; OSCAR GONZALEZ DE DIOS (oscar.gonzalezdedios@telefonica.com<mailto:oscar.gonzalezdedios@telefonica.com>) <oscar.gonzalezdedios@telefonica.com<mailto:oscar.gonzalezdedios@telefonica.com>>; Victor Lopez <vlopez@tid.es<mailto:vlopez@tid.es>>; Daniele Ceccarelli <daniele.ceccarelli@ericsson.com<mailto:daniele.ceccarelli@ericsson.com>>; Beller, Dieter (Nokia - DE/Stuttgart) <dieter.beller@nokia.com<mailto:dieter.beller@nokia.com>>; Sethuraman, Karthik <Karthik.Sethuraman@necam.com<mailto:Karthik.Sethuraman@necam.com>>
Subject: draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes

Hi all,

After the discussion held during the last TEAS WG session in IETF102 and some offline talks, we are trying to summarize the questions that we need to answer to resolve the open issue 31 (reference for background https://github.com/rvilalta/ietf-te-path-computation/issues/31) .

The question is: are there benefits in including in input of Path Computation Request RPC also te-tunnel attributes without any foreseen recommended usage by path computation engine? For example this is the case of administration attributes such as 'tunnel description' or of those attributes that are relevant only for the provisioning phase e.g provisioning-state... Please consider that the question is in the scope of a 'Stateless-Path-Computation' service: no state or data is saved by PCE after RPC output is returned to the client.

One of the main use case for the Path Computation RPC design is to support multi domain path computation. In this case the MDSC (the RPC client) addresses to a PNC (the RPC server) a request to compute a path within the PNC native/controlled topology during the quest for a multi-domain path at a given time T1; at a later time T2 (once, for example, the e2e path is identified) MDSC requests southbound to PNC per domain Tunnel setup (the segments of the multi-domain tunnel) with either the same or different metrics and constraints (MDSC implementation decision), to guarantee that the PNC would setup a path equivalent or better than the one computed at time T1.

Example: the MDSC computes a multi-domain end-to-end path between points A and Z and selects a path having te-metric 100. The path A-Z passes through the  domain controlled by PNC  X, entering in B and exiting in C, for which path computation RPC has returned a B-C path with te-metric 20. When asking  PNC X to setup the path B-C, a constraint on te-metric must be provided in order to avoid PNC X finding a suitable path satisfying all the other constraints of the end-to-end path but with te-metric higher than 20. If a different path is found with a metric < 20, that's fine. So, it's not essential that the same identical path is produced at the second path computation. The only requirement is on its metrics.

 Depending on the abstraction level applied by the domain controller the client may never know the actual computed path: the only important requirement is that the path metrics and constraints are met.
Therefore it is not necessary to guaranteed that the path setup at time T2 is exactly the same as the path computed at time T1 but only that it has the same or better metrics.

Regarding the policies, it has been said in the ietf meeting (see the relevant transcript) that they allow a "private" behavior of the server triggered by a condition depending possibly on any attribute of the tunnel request. This actually prevents a client application to perform autonomously the end-to-end path computation (e.g. using detailed connectivity matrix), as it doesn't know how each domain will behave when recomputing the tunnel for deployment (and so applying policies the client doesn't know and which could be even different for different domains).
In order to prevent this, policies should be explicitly shared with the clients, and be included in the detailed connectivity matrix information exposed by each domain to take into account not only the possible alternative path computation parameters, but also all the possible combinations of applicable policies. The client shall then select the suitable detailed connectivity matrix taking into account both the path computation parameters AND the applicable policies.
When such policy attributes are defined, they will be included in the path computation RPC.

Italo and Sergio (on behalf of co-authors/contributors)

Sergio Belotti
Senior System Engineer and Standardization Architect
IP/Optical Networks, Optics BU
Nokia
M: +39-335761776
Via Energy Park, 20871 Vimercate (MB) , Italy
sergio.belotti@nokia.com<mailto:sergio.belotti@nokia.com>