Re: [Pce] Proposed text for handling stateless/router-computed to active-stateful transitions in draft-ietf-pce-stateful-pce

Robert Varga <nite@hq.sk> Mon, 27 June 2016 13:58 UTC

Return-Path: <nite@hq.sk>
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 6C2CE12D50D for <pce@ietfa.amsl.com>; Mon, 27 Jun 2016 06:58:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.426
X-Spam-Level:
X-Spam-Status: No, score=-3.426 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.426] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=hq.sk
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 liVp48IDj-GO for <pce@ietfa.amsl.com>; Mon, 27 Jun 2016 06:58:51 -0700 (PDT)
Received: from mail.hq.sk (hq.sk [81.89.59.181]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B7D7012D507 for <pce@ietf.org>; Mon, 27 Jun 2016 06:58:50 -0700 (PDT)
Received: from [10.137.1.13] (46.229.239.158.host.vnet.sk [46.229.239.158]) by mail.hq.sk (Postfix) with ESMTPSA id 093BC242EA2; Mon, 27 Jun 2016 15:58:48 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hq.sk; s=mail; t=1467035928; bh=y30H1Tjw6X9R9WEGv6wPFM+cqDpfwISXAABCNOsli7A=; h=Subject:To:References:From:Date:In-Reply-To; b=SKXl27O5zICaPURqR1wO1TKeuzIRKTpHX+eEUYrpvBbbSYdxYtkUOcZoueSLh0qLZ Q8kQJy19gMHEZutp+woDCKguyFvp/+iXuumlGvf7i9UAm51TuEn/j6gZoUWIR+Rx0/ 6gRfS1Gizz7CIbmRRPv7b3/hGVFCxgqzugOY3djQ=
To: "Aissaoui, Mustapha (Nokia - CA)" <mustapha.aissaoui@nokia.com>, "pce@ietf.org" <pce@ietf.org>, MEURIC Julien IMT/OLN <julien.meuric@orange.com>
References: <4A79394211F1AF4EB57D998426C9340DD497A264@US70UWXCHMBA01.zam.alcatel-lucent.com>
From: Robert Varga <nite@hq.sk>
Message-ID: <f9231ba5-d6dd-ae28-9d9d-c9feb6cb72a3@hq.sk>
Date: Mon, 27 Jun 2016 15:58:40 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1
MIME-Version: 1.0
In-Reply-To: <4A79394211F1AF4EB57D998426C9340DD497A264@US70UWXCHMBA01.zam.alcatel-lucent.com>
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wvdLlKhbeGG8efUQjIxniFbFEOXUqAP6G"
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/VJOK5DrgdaCUjFEQtpRw6Zidlsg>
Subject: Re: [Pce] Proposed text for handling stateless/router-computed to active-stateful transitions in draft-ietf-pce-stateful-pce
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: Mon, 27 Jun 2016 13:58:53 -0000


On 06/14/2016 10:41 PM, Aissaoui, Mustapha (Nokia - CA) wrote:
> Dear all,
> 
> As promised, Stephane, Olivier and I worked on a proposal for updating
> draft-ietf-pce-stateful-pce to handle the transition from stateless or
> router-computed to active-stateful operation for an LSP. More
> specifically, We are proposing the addition of a new section 5.8.3
> describing extensions for the following:
> 
>  
> 
> a.     support of use of PCReq/PCRep for an LSP which does not have an
> initial path and which the PCC intends to delegate to the PCE. The
> proposal here is to first use the same procedure as in passive-stateful
> mode of operation with a PCReq/PCRep followed by sending the PCRpt message.
> 
>  
> 
> b.    passing LSP constraints when delegating an LSP which already has a
> working path. While PCE does not need to compute a path immediately, it
> needs to save the constraints for the next opportunity to update the
> path. In this case, the PCRpt messages is enhanced to contains an
> additional set of the LSP parameters such as LSPA, Metric, Bandwidth,
> and IRO objects to report the original constraints of the LSP.
> 
>  
> 
> We are also proposing modifications to a couple of paragraphs in
> sections 5.8.2 and 6.1 to clarify the use of the PCRpt message and of
> the ERO object in PCRpt respectively.
> 
>  
> 
> We appreciate if the authors of the draft and members of this WG provide
> feedback.
> 
>  
> 
> Regards,
> 
> Mustapha.
> 
> ------------------------------
> 
> I.              New Section 5.8.3 – Reporting LSP Constraints on LSP
> transition from Stateless/Router-Computed to Active Stateful Modes of
> Operation
> 
>  
> 
> When an LSP transitions from a stateless or router-computed mode to an
> active stateful mode of operation and the LSP has no working path, PCC
> MUST first reuse the same procedure defined in passive stateful mode to
> request the initial path from PCE.
> 
>  
> 
> This additional step is required for two reasons. First, the action of
> delegating the LSP to a PCE using a PCRpt message is not an explicit
> request to PCE to compute a path for the LSP. The only explicit way for
> a PCC to request a path from PCE is to send a PCReq message as per RFC
> 5440.

This is an intentional side-effect of changing synchrony. Delegating an
LSP involves the PCC losing control over timing of route computation.

> Second, the PCRpt message does not contains the original
> constraints of the LSP path as configured by the user on the router. The
> PCRpt message may contain the operational or computed values of those
> same objects in the attribute-list. For example, the hop-count Metric
> object included in the PCRpt message will contain the computed value for
> the current path of the LSP but will not contain the hop-count bound the
> user may have configured on the router for this LSP. Note that since in
> this case the LSP has no working path, it may even not include any of
> the Metric objects in the attribute-list of the PCRpt message.
> 
>  
> 
> To address the above situation, the PCReq message SHOULD include all the
> objects describing the current configuration of the LSP on the PCC :
> e.g. the relevant LSPA, Metric, Bandwidth, IRO, … objects to convey the
> LSP path constraints to PCE. An implementation MAY allow policies on PCC
> to determine the configuration parameters to be sent to the PCE. The LSP
> object MAY also be included with the D-bit (Delegate bit) set to
> indicate to PCE that it intends to delegate this LSP. The PCE uses this
> indication to cache the constraint in these objects in anticipation of
> the subsequent PCRpt message which should confirm the delegation by
> setting the D-bit in the LSP object. The PCE may clear the cached
> information if no PCRpt message for that PLSP-ID is received within a
> finite amount of time.

I think this really is 'PCE policy', as this requires resources on the
PCE side, which are shared across multiple PCCs, hence a LRU or similar
should be allowed.

I am not sure what caching the information will achieve: the PCC cannot
rely on this information to be present, hence a subsequent PCRpt needs
to repeat this information anyway...

> When an LSP transitions from a stateless or router-computed to an active
> stateful mode of operation and  the LSP has a working path, there is no
> need to explicitly request a path from PCE at that point in time. While
> a PCC may decide to first use the passive stateful mode procedures as in
> the case above, there is no requirement for doing so. As such, this
> document defines an optional procedure by which the PCC can simply
> report the LSP constraints to the PCE in the PCRpt message. A PCC which
> supports this procedure MUST append an additional set of the relevant
> objects like LSPA, Metric, Bandwidth, and IRO objects, referred to as
> the request-list(1), in which it conveys the LSP path constraints to PCE.

I think we also need an indication that the PCC supports this procedure
-- otherwise the PCE cannot discern if the information is missing (which
would be a PCErr) or the PCC does not support it (which is okay).

> A PCE that receives a PCRpt with the request-list should assume the
> values contained in the request-list are the actual constraints. The
> values in the  request-list must update any corresponding value saved
> for that PLSP-ID in the LSP database. A PCE that receives a PCRpt
> without the request-list and that PLSP-ID has no saved constraints in
> the LSP database should assume the values contained in the
> attribute-list are the actual constraints. In either case, the
> constraint values can be overridden by PCE policy.

I am not sure I understand this part. Is this related to the PCE which
has current control of the LSP and is triggered for things like CLI
config changing, or is this for sake of backup PCEs?

Also, would an active PCE be able to update this information?

> Note (1): RFC 5440 defines the request-list in the PCReq message as the
> above objects plus the RP and END-POINTS objects. As such we may need to
> refer to this differently. Maybe the constraint-list.
> 
>  
> 
> II.             Modifications to last paragraph in Section 5.8.2 –
> Active Stateful PCE LSP Update
> 
>  
> 
> “
> 
>    The PCRpt message MUST NOT be used by PCC to request a path from PCE.
> 
>    Standard PCReq as defined in RFC 5440 MUST be used instead.
> 
>    A PCC MUST however NOT send to any PCE a Path Computation Request for a
> 
>    once the LSP is delegated LSP.  Should the PCC decide it wants to issue a Path
> 
>    Computation Request on a delegated LSP, it MUST perform Delegation
> 
>    Revocation procedure first. 
> 
> “

The intent here is that for any particular LSP exactly one mode of
operation (passive or active) is used and they are not intermixed --
exactly because of synchrony problems arising from such use.

I agree with the updated text, but I also wonder if a paragraph in 5.8
would be more appropriate.

> III.            Modifications to sixth paragraph in Section 6.1 – The
> PCRpt Message
> 
> “
> 
>    The intended path, represented by the ERO object, SHOULD be included in
> 
>    PCRpt by the PCC whenever the PCC has a valid, non-empty, ERO for the
> LSP.
> 
>    A valid ERO can be obtained by requesting a path from the local
> router CSPF or
> 
>    from PCE using the PCReq message before delegation as explained in
> Section 5.8.3.
> 
>    It can also be provided by local configuration on the router. A PCC
> MUST omit the
> 
>    ERO object otherwise. In all cases, a PCC MUST NOT send an empty ERO
> in a PCRpt
> 
>    message to PCE.

This would contradict the end-of-sync marker definition.

This also means that every PCE implementation must support the
router-initiated computation synchrony -- which can problematic with
some implementation architectures.

It also creates some friction with pce-initiated: the PCE is free to use
an empty ERO in PCEInitiate and the PCC is required to mirror it back in
PCRpt -- but this text forbids empty EROs in PCRpt...

Bye,
Robert