Re: [Pce] draft-ietf-pce-pce-initiated-lsp

Jonathan Hardwick <Jonathan.Hardwick@metaswitch.com> Mon, 09 January 2017 13:45 UTC

Return-Path: <Jonathan.Hardwick@metaswitch.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 5F68C12949D for <pce@ietfa.amsl.com>; Mon, 9 Jan 2017 05:45:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.022
X-Spam-Level:
X-Spam-Status: No, score=-2.022 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, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=metaswitch.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 Q4S4X4cOxsZd for <pce@ietfa.amsl.com>; Mon, 9 Jan 2017 05:45:42 -0800 (PST)
Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0117.outbound.protection.outlook.com [104.47.32.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 364711293FB for <pce@ietf.org>; Mon, 9 Jan 2017 05:45:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=metaswitch.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=YyWb2mtoObqebZ5ImWQ7ElWMybIrcQg6CldtUqXeCf0=; b=ANvz0ncDjbwdpp9z2AVamq7vWiWCJjUxcf1EtUPpPhOFDbe3di2q7t8E9WPpW+UIzleIA0/vKs7sdlBZPkbQ0zJmJZWbRBXPzEH0Kuc4cyB9iXK00YU8YJc4UZCd0/4hTv5IAX0Q6OM8V64UHqOQZxU74/uoh9fczuITxXEzdFc=
Received: from BY2PR0201MB1910.namprd02.prod.outlook.com (10.163.75.152) by BY2PR0201MB1911.namprd02.prod.outlook.com (10.163.75.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.829.7; Mon, 9 Jan 2017 13:45:40 +0000
Received: from BY2PR0201MB1910.namprd02.prod.outlook.com ([10.163.75.152]) by BY2PR0201MB1910.namprd02.prod.outlook.com ([10.163.75.152]) with mapi id 15.01.0829.013; Mon, 9 Jan 2017 13:45:40 +0000
From: Jonathan Hardwick <Jonathan.Hardwick@metaswitch.com>
To: Aaron Itskovich <aitskovi@cisco.com>, "pce@ietf.org" <pce@ietf.org>, Julien Meuric <julien.meuric@orange.com>
Thread-Topic: [Pce] draft-ietf-pce-pce-initiated-lsp
Thread-Index: AQHSZsaLoAs2ttFXEki3plxhYOOUL6EqEZnQgAA1EQCABea2MA==
Date: Mon, 09 Jan 2017 13:45:40 +0000
Message-ID: <BY2PR0201MB191005DB14CD2F18759AB68084640@BY2PR0201MB1910.namprd02.prod.outlook.com>
References: <f632749c-0f2c-b30b-6013-bc05725361a3@cisco.com> <BY2PR0201MB19106FFF4425C7A04EFE3F7A84600@BY2PR0201MB1910.namprd02.prod.outlook.com> <6abff8b0-3b68-c17c-dfaf-3e636292ed3b@cisco.com>
In-Reply-To: <6abff8b0-3b68-c17c-dfaf-3e636292ed3b@cisco.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jonathan.Hardwick@metaswitch.com;
x-originating-ip: [86.137.0.2]
x-ms-office365-filtering-correlation-id: 7c8c3203-063c-42ff-7713-08d43895ccd2
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY2PR0201MB1911;
x-microsoft-exchange-diagnostics: 1; BY2PR0201MB1911; 7:FLrduRsPKmMCHMj8DX2dsGDoKOjiIh1cCbgXHePOiEW+eitv5Ads594cUxixqK6V1SpMx1bbJYwzoQKCru1pv3D5NjsSK5dyMlwjPLN4hu5HM7iefrBzfOj3ZBk4m0KS1WzAyx9fYVwrYDNB+heTKf4mOjAUfeEULHr3smhkJimMsHRB4sy+41+SvCeqFR1jBCqgGHIHzMGG3S3Fne4bb1xql8nVdsOd8GNahMtr+m2s9t66oIxLd8JoFz0YcOUBdz8Guzd68FSsJxmDsKW0tu5xSMHcVUDiMehe0uAO7y6iv/9L86u3ZpENfzOtuwevSqROWkMOClCGLaQEWKJe/Sbon8DwYISqbJLgBKGJyna6ulxhj14Yvv+EFqrs19S7Ae8MA1lZ5nWoaD6fBkpVjONwq1rGAsvuPJxKRiv13sedjhcUDlQ2gDmz2tIMVTXiJSdtyxxNTQ06rkqZ/cPZwA==
x-microsoft-antispam-prvs: <BY2PR0201MB1911F785F344A7B5EB97669D84640@BY2PR0201MB1911.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(60795455431006)(158342451672863)(95692535739014);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:BY2PR0201MB1911; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0201MB1911;
x-forefront-prvs: 0182DBBB05
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39450400003)(377424004)(189002)(199003)(76104003)(51914003)(377454003)(13464003)(24454002)(97736004)(122556002)(105586002)(7736002)(92566002)(2900100001)(81156014)(81166006)(8936002)(5660300001)(230783001)(2950100002)(74316002)(305945005)(7696004)(229853002)(68736007)(86362001)(77096006)(66066001)(25786008)(55016002)(38730400001)(6506006)(3660700001)(3280700002)(99286003)(6436002)(50986999)(561944003)(33656002)(3846002)(102836003)(106356001)(107886002)(189998001)(6116002)(8676002)(106116001)(101416001)(76176999)(2906002)(2501003)(54356999)(6306002)(9686003)(5001770100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0201MB1911; H:BY2PR0201MB1910.namprd02.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: metaswitch.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: metaswitch.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2017 13:45:40.0997 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 9d9e56eb-f613-4ddb-b27b-bfcdf14b2cdb
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0201MB1911
Archived-At: <https://mailarchive.ietf.org/arch/msg/pce/X4Esqcy4KaVugWUUBwXJBP7P2Yo>
Subject: Re: [Pce] draft-ietf-pce-pce-initiated-lsp
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, 09 Jan 2017 13:45:44 -0000

Hi Aaron

Thanks.  So actually, I need to backtrack and agree that there is a mechanism defined for a backup PCE to request that an orphaned LSP is delegated to it - I had missed that.

I am not sure that this implies that the PCC cannot re-delegate of its own free will.  It would be useful to have that clarified in the draft.

However, given this mechanism exists, it does raise the question about how PCEs should properly cooperate in terms of how orphaned LSPs are detected and who should request ownership.  I know that there is work ongoing in the following draft which discusses co-operation between redundant PCEs.  I am not sure whether your idea is best discussed in the context of that draft or in draft-ietf-pce-pce-initiated-lsp.  Perhaps the authors could chime in?
https://tools.ietf.org/id/draft-litkowski-pce-state-sync-00.txt

Best regards
Jon


-----Original Message-----
From: Aaron Itskovich [mailto:aitskovi@cisco.com] 
Sent: 05 January 2017 19:30
To: Jonathan Hardwick <Jonathan.Hardwick@metaswitch.com>; pce@ietf.org
Subject: Re: [Pce] draft-ietf-pce-pce-initiated-lsp

Hi Jon,

Thanks for your reply.
My interpretation of the following section of the existing draft-ietf-pce-pce-initiated-lsp is that PCC cannot just re-delegate PCE initiated LSP to a PCE.

<snip>

    In case of PCEP session failure, control over PCE-initiated LSPs
    reverts to the PCC at the expiration of the redelegation timeout.  At
    this point, the LSP is an "orphan" until the expiration of the State
    Timeout timer.  To obtain control of a PCE-initiated LSP, a PCE
    (either the original or one of its backups) sends a PCInitiate
    message, including just the SRP and LSP objects, and carrying the
    PLSP-ID of the LSP it wants to take control of.  Receipt of a
    PCInitiate message with a non-zero PLSP-ID normally results in the
    generation of a PCErr.  If the LSP is an orphan, the PCC MUST NOT
    generate an error and MUST redelegate the LSP to the PCE.  The State
    Timeout timer for the LSP is stopped upon the re-delegation.
</snip>

I read it as PCC is not free to delegate PCE initiated LSP even in orphan state, it rather waits (using State Timer) for other PCE server to "adopt" such "orphan" LSP.
This behavior is different for the PCE initiated LSPs vs PCC initiated LSPs.
Hence my suggestion was a mechanism that will help redundant PCE servers to discover PCE initiated LSPs that enter "orphan" state and trigger "adoption"
process which is different then the just re-delegation.

Thanks
Aaron


On 2017-01-05 11:25 AM, Jonathan Hardwick wrote:
> Hi Aaron
>
> Thanks for the comment.  There are no procedures defined that would allow a PCE to initiate a take-over of an LSP from a PCC.  Rather, the PCC must delegate the LSP to an appropriate PCE (if the LSP is initiated by a PCE then it must initially be delegated to that PCE).  The cases you mention would be resolved by the PCC making a local decision whether or not to re-delegate the LSP to an alternative PCE.
>
> So, I am not sure that the "orphan" flag would be useful to the PCE, at least not for the purpose that you describe.
>
> Best regards
> Jon
>
>
> -----Original Message-----
> From: Pce [mailto:pce-bounces@ietf.org] On Behalf Of Aaron Itskovich
> Sent: 04 January 2017 20:08
> To: pce@ietf.org
> Subject: Re: [Pce] draft-ietf-pce-pce-initiated-lsp
>
>
> I suggest to add indication that PCE Initiated LSP is orphan to LSP object in PCReport message. This information will be useful in facilitating takeover of an orphan LSP by redundant PCE server.
>
> Option 1) Adding bit to the LSP flags (L-bit "parentless/orphan") that will be set in the LSP object of the PCReport message sent when PCE Initiated LSP becomes orphan as result of connection loss to the PCE server that initiated this LSP or because such PCE server returns LSP delegation to the PCC to initiate transfer of LSP "ownership" to another PCE server.
>
> Option 2) Adding bit to the LSP flags (D2-bit ) that is set when such LSP is delegated to any PCE server. In this option PCE receiving report will be able to derive when PCE Initiated LSP is in orphan state when C flag in the report is set and the new D2-bit is not set.
>
>
> This proposal (regardless which option 1 or 2 is used ) alows PCC to propagate "orphan" state for the PCE initiated LSP to all PCE servers.
> It will help to trigger takeover of a PCE initiated LSP. The existing alternative is to rely on the PCE server to server communication for detection of such events which is prone to errors.
>
> For example:
>
>       - loss of communication between PCE-A and PCE-B may be interpreted as "takeover" trigger which is not necessarily true as PCE-A<->PCC connection may still be up.
>       - In case where PCE-A <-> PCC connection is down and both PCC 
> <-> PCE-B and  PCE-A <-> PCE-B connections are up we will need each 
> PCE server to distribute information about connection with it's 
> clients to all peers
>
> The suggestion frees PCE server from the need to propagate it's client connection status to all other PCE servers.
>
> Let me know what you think
>
> Thanks
> Aaron
>
> _______________________________________________
> Pce mailing list
> Pce@ietf.org
> https://www.ietf.org/mailman/listinfo/pce