Re: [Pce] Comments on draft-ietf-pce-segment-routing-08

Cyril Margaria <cyril.margaria@gmail.com> Wed, 16 November 2016 14:37 UTC

Return-Path: <cyril.margaria@gmail.com>
X-Original-To: pce@ietfa.amsl.com
Delivered-To: pce@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 98353129614 for <pce@ietfa.amsl.com>; Wed, 16 Nov 2016 06:37:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 MknQiZLs2Dw2 for <pce@ietfa.amsl.com>; Wed, 16 Nov 2016 06:37:16 -0800 (PST)
Received: from mail-qt0-x22b.google.com (mail-qt0-x22b.google.com [IPv6:2607:f8b0:400d:c0d::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4A54E129601 for <pce@ietf.org>; Wed, 16 Nov 2016 06:37:15 -0800 (PST)
Received: by mail-qt0-x22b.google.com with SMTP id p16so102662693qta.0 for <pce@ietf.org>; Wed, 16 Nov 2016 06:37:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NBMn1m0F909YVxWmAY43E91TOozrrgXklMyazwXXZuw=; b=GQPVL6IqJGl+yy/5UcBz3fdfF7NthFP5qw6f6fQeHQ4Lh5tuQNi7I6lNyRoYH9/53Y cLqSZ9+Yh9WGr1XPtE+fExSkLwA1qWBiNiwDsy7WwsmdEEw3Hj9M0ozyqrpq4WoMxBdz TECnmFNeZi2WWU0/9ef56xawclBHsdt/vKGhWuYgOf5UXPKrWPHO/Y0R7Won/OOW/g15 1gwMw7J4GI0A1ijkv9dvz7KK3BBt7LZLsFxMaulsosiHrfpuAg0ywxSuEo/nKOxSxhi0 w56VepVcebNXEekYgMjNieO4+m4UZg4zoOhb8P+Mfjg9SXM6gpPDHBampJ7pvmocaOIE PofA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=NBMn1m0F909YVxWmAY43E91TOozrrgXklMyazwXXZuw=; b=aj4foP6EdCBXxmuLQStVTZ+tVzhZkIy87MPR6CELfJFnNgJm5N7lVKOtBvvpwRwN9V ENdhphMSfEZu+pCXwMjTH8SISiW8SszuCubFbIbunbRfaQV7sbT9yxqC54Xk5uVydTM6 4Nn4uZrfaAQ9PGaWOxiO6f7ztngC2cXfFX/1dPseXIZyj6J+p4H5TVHNpmkDpbUvHlA+ BQyTI/FRDVJ04L4heQ8hs2Y5iG1i6cethKwBthC4obBOoqjscoZ52wFa78Q4kjshQ3xU AB55AxWmxuUfxrxuU4sjR7WapkFS0wek28SgKyUMtOJnesCS+eGqQWCUsvAq+M8AnZAr ZS3A==
X-Gm-Message-State: ABUngvfN+9vqXU0Ux5eYE9dJ0Ub7XquRhJPzBWlXLyqIsuL8ZtbCDm+Iu/FhEL0HabuI7DPQjQhNKtHi0K223g==
X-Received: by 10.237.42.40 with SMTP id c37mr2255735qtd.92.1479307034243; Wed, 16 Nov 2016 06:37:14 -0800 (PST)
MIME-Version: 1.0
Received: by 10.12.133.34 with HTTP; Wed, 16 Nov 2016 06:37:13 -0800 (PST)
In-Reply-To: <25467_1479146724_5829FCE4_25467_994_1_9E32478DFA9976438E7A22F69B08FF921DBA75F9@OPEXCLILMA4.corporate.adroot.infra.ftgroup>
References: <CADOd8-tG-7epsLP5MbWtVRt_QxZAS+T_A80YF_Q699Lks+fvtw@mail.gmail.com> <25467_1479146724_5829FCE4_25467_994_1_9E32478DFA9976438E7A22F69B08FF921DBA75F9@OPEXCLILMA4.corporate.adroot.infra.ftgroup>
From: Cyril Margaria <cyril.margaria@gmail.com>
Date: Wed, 16 Nov 2016 09:37:13 -0500
Message-ID: <CADOd8-spga8ZXtQWGBoUVkThUK11Y3J_i=wynxRKK8yBD-2=bA@mail.gmail.com>
To: LITKOWSKI Stephane DTF/DERX <stephane.litkowski@orange.com>
Content-Type: multipart/alternative; boundary="001a1140e91a4a427f05416c0240"
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/ClfWfriQKtQDQyNobQ_h8MnT_MQ>
Cc: "pce@ietf.org" <pce@ietf.org>
Subject: Re: [Pce] Comments on draft-ietf-pce-segment-routing-08
X-BeenThere: pce@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Path Computation Element <pce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pce>, <mailto:pce-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pce/>
List-Post: <mailto:pce@ietf.org>
List-Help: <mailto:pce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pce>, <mailto:pce-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Nov 2016 14:37:18 -0000

Hi Stephane,

please see inline

On 14 November 2016 at 13:05, <stephane.litkowski@orange.com> wrote:

>
>
> *From:* Pce [mailto:pce-bounces@ietf.org] *On Behalf Of *Cyril Margaria
> *Sent:* Monday, November 14, 2016 23:40
> Dear PCE'ers
>
> I reviewed the document and I have the following comments/questions:
>
> 1)              The document implies that the PCC has to /MUST do IP
> address to SID conversion, I  think that it would allow a more simpler PCC
> if that capability is optional  and negotiated with additional error
> codes to indicate that the NAI SR-EROs are not supported.
>
> [SLI] Usage of NAI in the SR-ERO is already optional today but driven by
> PCE. Do you mean that the PCC should drive the PCE computation result
> behavior ?
>

I think the PCC should be able to indicate if it supports NAI->SID
translation.
I see the following point missing :
  - There is no capability negotiation or specific error code to indicate
that the PCC does not support S flag set to 0.
  - if NAI->SID translation is supported, What is the procedure/error code
if a PCC cannot  resolve a NAI to a SID?

 From PCE perspective this is a change in the format of the ERO, this does
not influence the path computation.


A new object may be created for this purpose as a new path constraint. But
> you also may fall into situations where the PCE does not support this new
> constraint requested by PCC. Then, it would be good to impose one method to
> be supported and others to be optional, this will ensure a real
> interoperability between all implementations.
>
I agree, the draft should mandate one method for SR support, but the other
should be negotiated..


> I would also prefer to limit the options… (does mixing SID and NAI make
> sense ? I do not see the use case behind)
>

The ERO should (points below excluded) be consistent, mixing SID-Only and
NAI-Only does not make much sense. Having both NAI and SID does make sense
for troubleshooting though.


> 2)              One aspect of the SR-ERO processing is that,  when
> building the label stack, the PCC should have enough information to decide
> on the outgoing link (this can be provided by the PCE). It will be good if
> the document state could spell out this part of the procedure and indicates
> any specific SR-ERO procedure. For instance one solution could be  that the
> PCE may use IP address or Adjacency SID to indicate the outgoing link.
>
> [SLI] Are you in the case of SID only used in ERO ? If NAI is used,
> outgoing if can be deduced from the first hop NAI, if NAI is not used, then
> it becomes not trivial and honestly I do not see how to deduce the
> interface (PCC cannot check its outgoing label database, as the same value
> may be used by multiple neighbors). NAI should be a MUST for the first hop ?
>
I think NAI is a must for the first hop.

3)              Taking the outgoing link selection into account, the
> Maximum Stack Depth (MSD) calculation may be not trivial: for instance if
> the first hop is a local Adjacency-SID, then the label will not be stacked,
> but it will if the first hop is a Prefix SID it may be counted
> (non-adjacent node or adjacent node without PHP) but it may not be counted
> (adjacent node, with PHP). I think the draft should clarify it.
>
> [SLI] I do not see why the first hop could be a local Adj-SID… if the ERO
> represents the stack to be used for the push operation, and if it starts
> with an Adj-SID, the Adj-SID should represent the first real forwarding
> operation. Going back to oif point, if NAI isn’t used, how can a PCC know
> that the first Adj-SID is a local SID or a neighbor’s SID ?
>
 I agree, if the PCC does not support NAI->SID, the first hop MUST include
a NAI for out interface selection.

If SID only is used and starts with an Adj-SID, the SR-ERO may be encoded
> using: NAI,Adj-SID,SID#1,SID#2,SID#3,…SID#n. The first hop defines only
> the oif.
>
In case the stack starts with a Node-SID, we may
> have:Node-SID+NAI,SID#1,SID#2,SID#3 …
>
Using this, we are always inline with MSD as we never send an ERO with more
> labels than supported.
>
>
>
This works if the first hop for outgoing link selection correspond to an
ADj-SID, I am not sure on the Node SID, it believe it depends if its a
neigbhor and PHP flag:

Following that for SID PCC only this would give the following stacks:
  - NAI,Adj-SID,SID#1,SID#2,SID#3: stack is SID#1,SID#2,SID#3 (stack size:
3)
  - Node-SID+NAI,SID#1,SID#2,SID#3:
       -  if the Node is adjacent with PHP:      SID#1,SID#2,SID#3 (stack
size: 3)
       -  if the Node is adjacent without PHP: Node-SID,SID#1,SID#2,SID#3
(stack size: 4)
       -  if the Node is  not adjacent :
Node-SID,SID#1,SID#2,SID#3 (stack size: 4)

For PCC supporting NAI translation:
  - NAI#0+(SID#0),NAI#1+(SID#1),NAI#2+(SID#2),NAI#3(+SID#3): stack is
SID#1,SID#2,SID#3 (stack size: 3)
  - NAI#0+(Node-SID#0),NAI#1+(SID#1),NAI#2+(SID#2),NAI#3(+SID#3):
       -  if the Node is adjacent with PHP:      SID#1,SID#2,SID#3 (stack
size: 3)
       -  if the Node is adjacent without PHP: Node-SID#0,SID#1,SID#2,SID#3
(stack size: 4)
       -  if the Node is  not adjacent :
 Node-SID#0,SID#1,SID#2,SID#3 (stack size: 4)


Thanks,
Cyril





>
> Thanks,
>
> Cyril
>
>
>
>
>
>
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
>
>