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

Igor Bryskin <Igor.Bryskin@huawei.com> Fri, 27 July 2018 20:11 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 4AC21130E10; Fri, 27 Jul 2018 13:11:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.89
X-Spam-Level:
X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] 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 zRdYhYZW6rsv; Fri, 27 Jul 2018 13:11:04 -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 D1E25130DF5; Fri, 27 Jul 2018 13:11:03 -0700 (PDT)
Received: from lhreml704-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id B573CFBF697CD; Fri, 27 Jul 2018 21:10:59 +0100 (IST)
Received: from SJCEML701-CHM.china.huawei.com (10.208.112.40) by lhreml704-cah.china.huawei.com (10.201.108.45) with Microsoft SMTP Server (TLS) id 14.3.399.0; Fri, 27 Jul 2018 21:11:01 +0100
Received: from SJCEML521-MBX.china.huawei.com ([169.254.1.107]) by SJCEML701-CHM.china.huawei.com ([169.254.3.200]) with mapi id 14.03.0399.000; Fri, 27 Jul 2018 13:10:50 -0700
From: Igor Bryskin <Igor.Bryskin@huawei.com>
To: "adrian@olddog.co.uk" <adrian@olddog.co.uk>, 'Dieter Beller' <Dieter.Beller@nokia.com>, 'Francesco Lazzeri' <francesco.lazzeri@ericsson.com>, 'Daniele Ceccarelli' <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>, "michael.scharf@nokia.com" <michael.scharf@nokia.com>, "vlopez@tid.es" <vlopez@tid.es>, "oscar.gonzalezdedios@telefonica.com" <oscar.gonzalezdedios@telefonica.com>, 'Carlo Perocchio' <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: [Teas] draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes
Thread-Index: AQHUJO/p7BJxaA+vV0qe+yuNuW39sqSjEa4AgAAd64CAAHcVAIAANIAA//+gfAA=
Date: Fri, 27 Jul 2018 20:10:49 +0000
Message-ID: <0C72C38E7EBC34499E8A9E7DD00786391C435BFB@sjceml521-mbx.china.huawei.com>
References: <DB6PR0701MB27272B2E7AF6970DDF0C50F6912B0@DB6PR0701MB2727.eurprd07.prod.outlook.com> <HE1PR07MB16753FC8D0D876FE54ADBD51F02B0@HE1PR07MB1675.eurprd07.prod.outlook.com> <etPan.5b59df86.6d3e5bb5.7394@localhost> <VI1PR07MB16807711951A9443E70E2428F02A0@VI1PR07MB1680.eurprd07.prod.outlook.com> <VI1PR07MB4270CB8B54E4A5DDC587929C962A0@VI1PR07MB4270.eurprd07.prod.outlook.com> <6855a283-6a83-7278-22ec-ec5c1dd54f48@nokia.com> <029701d425d7$dcbf7c00$963e7400$@olddog.co.uk>
In-Reply-To: <029701d425d7$dcbf7c00$963e7400$@olddog.co.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.47.154.252]
Content-Type: multipart/alternative; boundary="_000_0C72C38E7EBC34499E8A9E7DD00786391C435BFBsjceml521mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/2zsb0pRi4c-lsBjs0TdpMPR7shE>
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: Fri, 27 Jul 2018 20:11:10 -0000

Hi Adrian,

To say that we cannot do a stateless path computation better than what could be done using PCEP today is a bit too bold IMUO. Why then we keep working on PCEP enhancements? ;-)

One example: today, using the TE tunnel model, a client can request (and I know servers that implement) a customized (client controlled) weighted multi-criteria optimization for path selection, specifying any subset of model defined metrics. For example, the client can ask for a best possible compromise between, say, TE e2e cost, delay and following as much as possible a specific explicit path, assigning a relative weight/importance to each of the three criteria. AFAIK this is not possible to do with PCEP today.

Cheers,
Igor


From: Adrian Farrel [mailto:adrian@olddog.co.uk]
Sent: Friday, July 27, 2018 2:30 PM
To: 'Dieter Beller'; 'Francesco Lazzeri'; 'Daniele Ceccarelli'; Igor Bryskin; sergio.belotti@nokia.com; teas@ietf.org; teas-chairs@ietf.org
Cc: Italo Busi; michael.scharf@nokia.com; vlopez@tid.es; oscar.gonzalezdedios@telefonica.com; 'Carlo Perocchio'; Leeyoung; ansha@google.com; ricard.vilalta@cttc.es; shiyan49@chinaunicom.cn; Karthik.Sethuraman@necam.com
Subject: RE: [Teas] draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes

I've had several off-line conversations with a number of you where I have learned a lot about the use cases and desires that are driving this work.

However, (there he goes spoiling the effect!) I see nothing in the use cases that could not be addressed using PCEP (if PCEP were implemented in those scenarios) so it makes me think that we should generalise (as we should do in many cases, anyway). That is, we should make our YANG model carry exactly the same information as a PCEP computation request/response, and for the same reasons.

Some of that information should be part of the base model and some should be in augmentations, but I don't suppose we should leave stuff out.

The debate about how fields like "tunnel name" are used does not serve us well, I believe. That in some environments there is information encoded in these fields so that the PCC can communicate to the PCE the purpose of the path computation is (of course) a implementation/deployment thing. That it can be useful to a PCE, looking at the LSPs installed in the network, to match them against the computations it performed may be incidental to this discussion. My point is that the parameters are there in PCEP, they may have found various uses, and the YANG model is supposed to model the PCEP requests.

I have yet to be convinced of the desirability of leaving things out. And I don't see the harm of including stuff.

Adrian

From: Teas [mailto:teas-bounces@ietf.org] On Behalf Of Dieter Beller
Sent: 27 July 2018 16:22
To: Francesco Lazzeri; Daniele Ceccarelli; Igor Bryskin; sergio.belotti@nokia.com; teas@ietf.org; teas-chairs@ietf.org
Cc: Italo Busi; michael.scharf@nokia.com; vlopez@tid.es; oscar.gonzalezdedios@telefonica.com; Carlo Perocchio; Leeyoung; ansha@google.com; ricard.vilalta@cttc.es; shiyan49@chinaunicom.cn; Karthik.Sethuraman@necam.com
Subject: Re: [Teas] draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes

Hi all,

I concur with the comments from Francesco and Daniele below as well as with those from Michael.

We discussed this issue at length in Montreal after the CCAMP session and I would like to emphasize again that I am having reservations about policies being
applied by a path computation engine based on attributes that are provided as input to path computation, which have absolutely nothing to do with policy
rules as they were defined for totally other purposes! We called that hidden policies in our discussion.


Thanks,
Dieter

On 27.07.2018 10:16, Francesco Lazzeri wrote:
I believe that the main point for deciding whether all the parameters (including name, description and so on) are needed or not for stateless path computation is the adoption of policies.
When I think about policies, I go to the definitions present in RFC3060, where policy information model is described.
According to 3060, basically policies are a (set of) rules where each rule is defined by enabling conditions (boolean expressions that "enable" the policy actions as soon as they become true) and policy actions (the behavior of the policy).
If we introduce this concept in path computation we could think for example to create two policies for a given domain D:


  *   The first one is enabled when the tunnel description contains the string "igor", and the relevant action is avoiding the node X inside the relevant domain.
  *   The second one is enabled when the tunnel description con contains the string "francesco", and the levant action is avoiding the node Y inside the relevant domain.

Let suppose we don't want to use stateless path computation (e.g. the domain is "white", so we have full topology information about it, or, if domain is "black" or "gray",  we just use its abstract connectivity).
We are asking for a new tunnel with description "igor".
Assuming the client (MDSC) knows nothing about those policies, it does path computation end-to-end using the topology information it collected,  and find that the best end-to-end path passing through D.
This path could well use node X: MDSC doesn't care, as it doesn't know that there is a policy installed in D the will ask to avoid that node.
When the end-to-end path needs to be deployed the tunnel requested on D will be created using a path avoding X, because the path creation is done by the controller of the domain D which is aware of and enforces that policy.
But, being this path different from the one computed during the end-to-end path computation, it could have different te-cost, igp-cost, latency and so on, leading to end-to-end figures possibly not in compliance with the end-to-end constraints.
In my view, this is not acceptable.

There are two ways to overcome this issue:


  *   Requesting path computation to the domain D also during end-to-end path computation. This is stateless path computation actually, and means that abstract topology is useless (as we actully are renouncing to use it).
  *   Exposing information about policies to the MDSC (or the client requesting end-to-end path computation). But this is still not enough: abstract topology should be also enhanced in order to take into account the possible policies enforced.
In this example we should have one (or more) abstract connectivity information for ingress-egress of D in case neither "igor" or "francesco" policies are enforced, "igor" is enforced, "francesco" is enforced, "igor" and "francesco" are enforced at once (e.g. asking a path having name "igor and francesco like ietf").
In this case policy information known to MDSC could be limited to the enabling conditions, which should also be referred by the relevant abstract connectivity, of course, so MDSC can select the right connectivity information.


In the past we already had discussions about the scalability of the abstract connectivity model, and basically the stateful model was born because this very reason. The presence of policies makes the scalability issue even more evident, multiplying each abstract link times the number of the combinations of the installed policies in the domain.

So, now we can:


  *   Renounce at all to use policies (or provide for them a definition different from RFC3060, please suggest). In this case not all the attributes present in ietf-te are managed by ietf-te-path-computation are needed.
  *   Use the policies and use only ietf-te-path-computation; this lead to a deep revision of the entire ietf model of the traffic and topology, because abstract connectivity information is no longer needed.
  *   Go ahead with ietf-te plus these policies and face either wrong results or the "dragon" of scalability.

My 2 cents
Francesco


From: Daniele Ceccarelli
Sent: 27 July, 2018 8:29 AM
To: Igor Bryskin <Igor.Bryskin@huawei.com><mailto:Igor.Bryskin@huawei.com>; 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: Francesco Lazzeri <francesco.lazzeri@ericsson.com><mailto:francesco.lazzeri@ericsson.com>; Karthik.Sethuraman@necam.com<mailto:Karthik.Sethuraman@necam.com>; 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>; dieter.beller@nokia.com<mailto:dieter.beller@nokia.com>; Carlo Perocchio <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>; Italo Busi <Italo.Busi@huawei.com><mailto:Italo.Busi@huawei.com>
Subject: RE: [Teas] draft-ietf-teas-yang-path-computation-02 : path computation stateless RPC attributes

Hi Igor,

what you are describing is just one of the use cases.


  *   Statefull path computation: I want the request/response to be guaranteed along the same path returned via path computation response.
  *   Stateless path computation: I don't really care about the path, I just want to know that a path exists with given characteristics between A and B.

Here we're talking about stateless path computation. As I said before if a H-PCE needs to find the best path across multiple domains and there are different links/nodes that allow going from one domain to the other, the number of iterations between the H-PCE and the various PCE is huge, hence it should be very simple and in 99% of the cases who cares about an intra domain path? The only thing that cares is that between two border nodes there are X Gbps with given TE characteristics.

Cheers
Daniele

From: Igor Bryskin <Igor.Bryskin@huawei.com<mailto:Igor.Bryskin@huawei.com>>
Sent: giovedì 26 luglio 2018 16:50
To: Daniele Ceccarelli <daniele.ceccarelli@ericsson.com<mailto:daniele.ceccarelli@ericsson.com>>; 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: Francesco Lazzeri <francesco.lazzeri@ericsson.com<mailto:francesco.lazzeri@ericsson.com>>; Karthik.Sethuraman@necam.com<mailto:Karthik.Sethuraman@necam.com>; 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>; dieter.beller@nokia.com<mailto:dieter.beller@nokia.com>; Carlo Perocchio <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>; Italo Busi <Italo.Busi@huawei.com<mailto:Italo.Busi@huawei.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<mailto: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%29,Beller>, Dieter (Nokia - DE/Stuttgart),Carlo Perocchio,Leeyoung,Anurag Sharma (ansha@google.com),Ricard<mailto:ansha@google.com%29,Ricard> Vilalta,shiyan49@chinaunicom.cn,Italo<mailto: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>