RE: [Pce] Review of draft-ietf-pce-stateful-pce-18

Jonathan Hardwick <Jonathan.Hardwick@metaswitch.com> Tue, 11 April 2017 15:28 UTC

Return-Path: <Jonathan.Hardwick@metaswitch.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 523ED12EAB7; Tue, 11 Apr 2017 08:28:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.021
X-Spam-Level:
X-Spam-Status: No, score=-2.021 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 Cp1toPE6yh5e; Tue, 11 Apr 2017 08:28:14 -0700 (PDT)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0102.outbound.protection.outlook.com [104.47.37.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3521D12EAB1; Tue, 11 Apr 2017 08:28:14 -0700 (PDT)
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=R9LIjH7GIG6Jkj/tntuFPn6JwAeQFY1pZukHbxyb4mk=; b=k5nj21RcQ4IzRzSLMm/cLzi7JE32l86mBJMvzByxMDKHEbG5vnBTRpj6KN1Xsv7CLBy6KLAbxD/rCjnTL64CYFCrrBl+lU1HkVEgWfg4KRRjXfAWqFrNI10/OehN0OQMhjbzVPvb78vhKO7JV8uc5XIQttytvKjVXxLABbh9vSU=
Received: from BY2PR0201MB1910.namprd02.prod.outlook.com (10.163.75.152) by BY2PR0201MB1912.namprd02.prod.outlook.com (10.163.75.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Tue, 11 Apr 2017 15:28:12 +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.1019.025; Tue, 11 Apr 2017 15:28:12 +0000
From: Jonathan Hardwick <Jonathan.Hardwick@metaswitch.com>
To: Julien Meuric <julien.meuric@orange.com>, Lionel Morand <lionel.morand@orange.com>, "ops-dir@ietf.org" <ops-dir@ietf.org>
CC: "draft-ietf-pce-stateful-pce.all@ietf.org" <draft-ietf-pce-stateful-pce.all@ietf.org>, "pce@ietf.org" <pce@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>
Subject: RE: [Pce] Review of draft-ietf-pce-stateful-pce-18
Thread-Topic: [Pce] Review of draft-ietf-pce-stateful-pce-18
Thread-Index: AQHSnjojD8qJebPVvkunBA8z9I/80aHAL9TQgAA8aICAAATfcA==
Date: Tue, 11 Apr 2017 15:28:11 +0000
Message-ID: <BY2PR0201MB19101ABC5D53474ED6DB96B484000@BY2PR0201MB1910.namprd02.prod.outlook.com>
References: <148965756308.14230.13426886469262710918@ietfa.amsl.com> <BY2PR0201MB1910B9060DF50A938DC05D6984000@BY2PR0201MB1910.namprd02.prod.outlook.com> <2ff156bc-c198-80fe-eccf-b45b6db978df@orange.com>
In-Reply-To: <2ff156bc-c198-80fe-eccf-b45b6db978df@orange.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: orange.com; dkim=none (message not signed) header.d=none;orange.com; dmarc=none action=none header.from=metaswitch.com;
x-originating-ip: [82.132.227.234]
x-microsoft-exchange-diagnostics: 1; BY2PR0201MB1912; 7:fJ+DHo35kMwCpc/6po47bHcDUP729lBe1Po/1y4f9H8fN74HuyuFjEuv/LWCAqXlnGkwsOZwmNgON12heEcdmhX5hQ0eJuL/6jMcFmpQpNdypL+sldNuR0xEOW96qoPPaH8iDsAXo1iCPQvnvj48DfiyhHUnX5POFvMxAaX63uiYvB+ukhGA55r1tW40K8iaOKwaYyUdawogWzeq4T5dOo4noHqyrwB4DGRsCaW3bfH5jg9zMXplBWE2K1OZQvPCzsde6+ST3bvTOKENDn+XrAcvR1IE7/8X640wbM+VGUVdSuWW4/txlu3Fvo+fwWSeraT5pCS0Fs2eq42ljGIpmw==
x-ms-office365-filtering-correlation-id: c618c726-1f2f-4f95-a1a8-08d480ef5d7f
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:BY2PR0201MB1912;
x-microsoft-antispam-prvs: <BY2PR0201MB191211DFF1F3C71A6A0ED30184000@BY2PR0201MB1912.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(20558992708506)(18271650672692);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(20161123564025)(20161123555025)(20161123562025)(6072148); SRVR:BY2PR0201MB1912; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0201MB1912;
x-forefront-prvs: 0274272F87
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39450400003)(39840400002)(39410400002)(39400400002)(13464003)(51444003)(51914003)(66066001)(5660300001)(7736002)(305945005)(74316002)(2501003)(229853002)(2950100002)(189998001)(54356999)(8936002)(122556002)(53936002)(77096006)(33656002)(25786009)(6116002)(102836003)(3846002)(7696004)(50986999)(53546009)(76176999)(3660700001)(8676002)(6506006)(81166006)(6436002)(3280700002)(9686003)(4326008)(86362001)(99286003)(2900100001)(55016002)(6246003)(2906002)(38730400002)(230783001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0201MB1912; H:BY2PR0201MB1910.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
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: 11 Apr 2017 15:28:11.7354 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 9d9e56eb-f613-4ddb-b27b-bfcdf14b2cdb
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0201MB1912
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/Hvv9J_PO0aj4kxA1qNPiU7PmNvY>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Apr 2017 15:28:16 -0000

Hi Julien

You are right, but it is *really easy* for the reader to confuse "stateful capability" with "update capability" and "active stateful capability".  Case in point: I just confused them in my reply to Lionel.

We should fix each of the three points below to make this clearer.

Cheers
Jon

-----Original Message-----
From: Julien Meuric [mailto:julien.meuric@orange.com] 
Sent: 11 April 2017 16:00
To: Jonathan Hardwick <Jonathan.Hardwick@metaswitch.com>; Lionel Morand <lionel.morand@orange.com>; ops-dir@ietf.org
Cc: draft-ietf-pce-stateful-pce.all@ietf.org; pce@ietf.org; ietf@ietf.org
Subject: Re: [Pce] Review of draft-ietf-pce-stateful-pce-18

Jon, Lionel,

I believe Lionel got confused by the wording introduced in RFC 8051:
- no report, no update means stateless PCE;
- report, no update means passive stateful PCE;
- report and update means active (stateful) PCE.

More details below, [JM].

Thanks for the work,

Julien


Apr. 11, 2017 - Jonathan.Hardwick@metaswitch.com:
> =====
> 
> [LM] active/passive mode are not  advertized in PCEP. s/if active 
> stateful PCE capability was not advertised/if stateful PCE capability 
> was not advertised
> 
> Jon> ACK
> 
> =====
[JM] NACK! ;-)
Actually, the passive mode is advertised using the Stateful-capability-object TLV with the U bit unset, the active mode by setting the U bit.

> =====
> 
> Note that even if the update capability has not been advertised, a PCE 
> can still accept LSP Status Reports from a PCC and build and maintain 
> an up to date view of the state of the PCC's LSPs.
> 
> [LM] I don't undersand. Is it not in contradiction with
> 
> "If the PCEP Speaker on the PCE supports the extensions of this draft 
> but did not advertise this capability, then upon receipt of a PCRpt 
> message from the PCC, it MUST generate a PCErr with error- type
> 19 (Invalid Operation), error-value 5 (Attempted LSP State Report if  
> active stateful PCE capability was not advertised) (see Section
> 8.5) and it SHOULD terminate the PCEP session."
> 
> Or does it mean that there is another way than PCRpt message for the  
> PCC to send LSP status reports to the PCE?
> 
> Jon> ACK.  I think that the statement in the draft is bogus and I
> propose to delete this sentence from it.
> 
> =====
[JM] I do not think that the text is bogus:
- case 1: no advertised capability on update but advertised on report (i.e. passive stateful) => no error message;
- case 2: no advertised capability on update nor report (i.e. stateless) => error.

> =====
> 
> [LM] Would it be useful to discover (using another TLV) whether the 
> PCE is an active/passive stateful PCE, as in IGP-based capabilities 
> discovery mechanism?
> 
> Jon> This can be inferred immediately from the U flag in the
> STATEFUL-PCE-CAPABILITY TLV.  Passive mode is synonymous with not 
> sending / handling PCUpd messages.
> 
> =====
[JM] The mechanism is there, but section 7.1.1 may deserve an explicit use of the "passive/active" terms, to make sure the capability terminology is aligned with the vocabulary in the IGP section.