Re: [netconf] New Version Notification - draft-ietf-netconf-notification-capabilities-09.txt

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Tue, 21 January 2020 16:44 UTC

Return-Path: <rrahman@cisco.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 21B971201A3 for <netconf@ietfa.amsl.com>; Tue, 21 Jan 2020 08:44:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=JIN0R4fg; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Z9plwDHl
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 5ZisHvFpbVQt for <netconf@ietfa.amsl.com>; Tue, 21 Jan 2020 08:43:58 -0800 (PST)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B0EF8120884 for <netconf@ietf.org>; Tue, 21 Jan 2020 08:43:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=14945; q=dns/txt; s=iport; t=1579625024; x=1580834624; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=ZjmRAZf+wJuB/cGuU/VaVKqZjY7XAjaz5p7TYO9dkTc=; b=JIN0R4fgiXKJJzk5oY0L1n0qb8UzKJgzxwv5vT5un5extLcXPMGgHs0R Z5NXGrQ+9pHbYURnMBxTDDS/IdIYfEGBL2aDTheZjligIO6Xy4da0ZguH jO1ja7jYug004aLI5oZpFoSSD/xiepQG4phC3rNeCLIjQOM7Nz6ZlDPFm Q=;
IronPort-PHdr: 9a23:PabPIxb0hZ9JuOBLbxDRcNT/LSx94ef9IxIV55w7irlHbqWk+dH4MVfC4el20gebRp3VvvRDjeee87vtX2AN+96giDgDa9QNMn1NksAKh0olCc+BB1f8KavwdSU6Gc1EfFRk5Hq8d0NSHZW2ag==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AqAQArKSde/4wNJK1lGgEBAQEBAQEBAQMBAQEBEQEBAQICAQEBAYF7gSUvUAVsWCAECyqEEoNGA4sCgl+TLIRiglIDVAkBAQEMAQEtAgEBhEACF4F7JDgTAgMNAQEEAQEBAgEFBG2FNwyFXgEBAQEDEhEdAQE1AgEPAgEIEQMBAQEoAwICAjAUCQgCBAENBRkJgwQBgX1NAy4Boz4CgTmIYXWBMoJ/AQEFhQMYggwJgTiMFBqBQT+BOCCCTD6CZASCARaCWjKCLJBVhVwkiU+PMgqCOY0AiTEbmneOXpsGAgQCBAUCDgEBBYFpIiqBLnAVOyoBgkFQGA2IATiDO4pTdAIBgSaMZAEB
X-IronPort-AV: E=Sophos;i="5.70,346,1574121600"; d="scan'208,217";a="420489743"
Received: from alln-core-7.cisco.com ([173.36.13.140]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 21 Jan 2020 16:43:43 +0000
Received: from XCH-ALN-006.cisco.com (xch-aln-006.cisco.com [173.36.7.16]) by alln-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id 00LGhhdq016450 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 21 Jan 2020 16:43:43 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by XCH-ALN-006.cisco.com (173.36.7.16) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 21 Jan 2020 10:43:43 -0600
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 21 Jan 2020 11:43:40 -0500
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 21 Jan 2020 11:43:40 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e6SLeEzvImNylFj6q7L/DZ7zkiro3//iLuEK0d66wCg6dT8FziLhmd2eGhmDT78VRawr5coa3V4Yd4TiprUVbL7tax0osmyvQdam8JRGrH56FJcLrCffbLatf1fvX8Ue+WOm43HlToXomMB+8bxrot4DSSNJlws0/5zz2NMl8r88/K7fcCAYfZT0AmwaX7J5QqB1EJGqO/FcwqRkFnL7Nvi7FyGHLIL6/2Az0itwsUlmcug1YlXenlj4F9izRXaCKl3AtNFhK1uwJwTummKFzI0yUSZhlJns7/h1lVhIDDGKKr3j1kF3Q8cxtMyOWcXyeT+d5HnV92CrxxxuHBKwbQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZjmRAZf+wJuB/cGuU/VaVKqZjY7XAjaz5p7TYO9dkTc=; b=IAPvcs48GyvqqXSb6ydocTTTjovg+zzNNIxABSSfB3L/6iDlr/bRK+KGhR2FIH6lUwgqpSIzZ8J6bDnDRXJyKqeli4jpBAlvZEPkrGyVa4ACzAnd65JM+Jhru7XNSa8hA8izX42Aob3QMSrGqeYSAOruq+hyEYkdnxd+FmzTo8yZ/Q7Cj9NBjN/F7ma4xkUPamqa0S7pi7uBUm12FPMoKOE/vvPw/AAKAgIdDyplojJyL44WWgjy3lYgE/sas3fl5Y6uooetndcuYZEMBy2r8c6xonmlUZ3xU6ivClAOgshPQ6zBg6k+QK2FemVcHAoKxaSGhZlwUjhhigNj4mTBZg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZjmRAZf+wJuB/cGuU/VaVKqZjY7XAjaz5p7TYO9dkTc=; b=Z9plwDHlh2oe1Pg4DzepI/8f4+deiaq4cfH+RJqFiCsPfpch2JqlshHckhoX/tZARgk+dmrQ2xNQvRjI4fts/fCSvWBk64DLRSECUpX00YI0leuIFe6uMu/7n73oHzD0XiFZKQXTyHINsH67zh+M5cNRjr2zf83oez6cixLKmVA=
Received: from DM5PR11MB1355.namprd11.prod.outlook.com (10.168.103.145) by DM5PR11MB1882.namprd11.prod.outlook.com (10.175.87.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.25; Tue, 21 Jan 2020 16:43:39 +0000
Received: from DM5PR11MB1355.namprd11.prod.outlook.com ([fe80::3d45:700d:3f44:243]) by DM5PR11MB1355.namprd11.prod.outlook.com ([fe80::3d45:700d:3f44:243%6]) with mapi id 15.20.2644.026; Tue, 21 Jan 2020 16:43:39 +0000
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: Balázs Lengyel <balazs.lengyel=40ericsson.com@dmarc.ietf.org>, "Rob Wilton (rwilton)" <rwilton@cisco.com>, Kent Watsen <kent+ietf@watsen.net>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [netconf] New Version Notification - draft-ietf-netconf-notification-capabilities-09.txt
Thread-Index: AQHVxVsT75iyiSEfckqVICMZWQcw1KffZvCAgACw5YCAANxNAIADGDWAgAAJEoCABgLMgIAK/R8A
Date: Tue, 21 Jan 2020 16:43:39 +0000
Message-ID: <58F397A3-9E37-4E61-BDEE-C0DAA61B6A3B@cisco.com>
References: <157838571918.20942.9897465405126184637.idtracker@ietfa.amsl.com> <0100016f801b8360-00636b39-8317-4e78-a233-dba17073fc39-000000@email.amazonses.com> <MN2PR11MB4366A782F85B41B42CE593B6B53F0@MN2PR11MB4366.namprd11.prod.outlook.com> <0100016f83226d35-4c825571-7fe8-4074-8f6c-d9994e2ed37a-000000@email.amazonses.com> <VI1PR07MB40473B7B0406D4B93E3BC76DF03E0@VI1PR07MB4047.eurprd07.prod.outlook.com> <0100016f901833d0-c822306b-9f2f-4c7b-9444-34742ec35a53-000000@email.amazonses.com> <MN2PR11MB43663A607C6739B6B2501C70B5380@MN2PR11MB4366.namprd11.prod.outlook.com> <VI1PR07MB40472F455C5A431E5DB39F6BF0340@VI1PR07MB4047.eurprd07.prod.outlook.com>
In-Reply-To: <VI1PR07MB40472F455C5A431E5DB39F6BF0340@VI1PR07MB4047.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.21.0.200113
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rrahman@cisco.com;
x-originating-ip: [2001:420:2840:1250:8db8:371:db62:f944]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 47803bf0-fb80-479e-27eb-08d79e911174
x-ms-traffictypediagnostic: DM5PR11MB1882:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <DM5PR11MB188260A9484264FC4AA24D43AB0D0@DM5PR11MB1882.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0289B6431E
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(136003)(39860400002)(376002)(346002)(396003)(189003)(199004)(478600001)(2906002)(2616005)(33656002)(6486002)(36756003)(4326008)(9326002)(53546011)(6506007)(186003)(6512007)(5660300002)(81156014)(81166006)(91956017)(86362001)(76116006)(66476007)(66446008)(66556008)(64756008)(66946007)(8936002)(71200400001)(8676002)(110136005)(15650500001)(316002)(66574012); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR11MB1882; H:DM5PR11MB1355.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: BEjUBDvd9eZawWt/a3OVH/ABGwQlFjA7zNNeuN8SCg3DDiv+9y1cmDJAX7tCKnIrZgusj4tpXTQTZNSekGBSdQkHUpGJcxmjwNGeCQhRgfsOMizCXawcHCg77/jfND+V7ovRHCwg7Pw0lEfpB0Kb6Ld5+y2CO302QWmjH7Yzewml6c+xPNq+DuJGLUMslBWOMwBK+BSmTMrsvXZSjk2nFCJkPQ1zxC5iN/vYwJdw3XzniRrEDaVvSFmATlg3ALtKQbKaaQgce0ME2j1SogdkJPlgA4kRnGk29ZBPQKtaxxnqBLkn+h7egMAmVf5ZYa+z9Ud34/3EIPy6cbf9k+VdgpZ+Oe3EG/sw8BvozBA4dtKQxOb+mFnF5GwJyDNheaTksWTf8BSpsGsk6GNOJrcrgbk6rxcru+7VbEyV2t4R6f9+AbVMo7Ql51D89DHcfJT9
Content-Type: multipart/alternative; boundary="_000_58F397A39E374E61BDEEC0DAA61B6A3Bciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 47803bf0-fb80-479e-27eb-08d79e911174
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2020 16:43:39.5026 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: g4xBmkoUyRbVGeeXxo4zPftILM7wT3fBlsZe9DveuN6NCMhNF/UXJNLx7V2pZNCH/jGU9bpo4jBXH1lANgX8bQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1882
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.16, xch-aln-006.cisco.com
X-Outbound-Node: alln-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/h6U9es_qKMX_OoSb3iWRMq5j5Z8>
Subject: Re: [netconf] New Version Notification - draft-ietf-netconf-notification-capabilities-09.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jan 2020 16:44:03 -0000

Hi,

Regarding the change below (which was added in rev-10) to match by order, was this done just to make life easier for the client (the publisher is deciding what’s the best match) or is there another motivation? I think this is a good change, but curious as to the reason.

Regards,
Reshad.

From: netconf <netconf-bounces@ietf.org> on behalf of Balázs Lengyel <balazs.lengyel=40ericsson.com@dmarc.ietf.org>
Date: Tuesday, January 14, 2020 at 6:55 AM
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>, Kent Watsen <kent+ietf@watsen.net>
Cc: "netconf@ietf.org" <netconf@ietf.org>
Subject: Re: [netconf] New Version Notification - draft-ietf-netconf-notification-capabilities-09.txt

OK. For both.
Regards Balazs

From: Rob Wilton (rwilton) <rwilton@cisco.com>
Sent: 2020. január 10., péntek 17:08
To: Kent Watsen <kent+ietf@watsen.net>; Balázs Lengyel <balazs.lengyel@ericsson.com>
Cc: netconf@ietf.org
Subject: RE: [netconf] New Version Notification - draft-ietf-netconf-notification-capabilities-09.txt

Hi Kent, Balazs,

Yes, I think that this would work, but might also need to change the rule from matching the capabilities from the longest node path, to the order that the entries are in the list.  E.g. the capabilities are decided by the first entry in the list that matches the given path.  The existing longest node path behaviour can effectively be implemented by ordering the more specific node paths before the less specific node paths.

Would that be acceptable?

I would also suggest giving the choice and the leaf a separate name below.

Thanks,
Rob


From: Kent Watsen <kent+ietf@watsen.net<mailto:kent+ietf@watsen.net>>
Sent: 10 January 2020 15:35
To: Balázs Lengyel <balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com>>
Cc: Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>; netconf@ietf.org<mailto:netconf@ietf.org>
Subject: Re: [netconf] New Version Notification - draft-ietf-netconf-notification-capabilities-09.txt


Hi Balazs,




Would the following be acceptable?
OLD:
     list per-node-capabilities {
       key "node-selector";
       leaf node-selector {
         type nacm:node-instance-identifier;
NEW:
     list per-node-capabilities {
       choice node-selector {
             leaf node-selector {   type nacm:node-instance-identifier;  }
     }

Later you can augment in an Xpath filter or a string with '*' and '?' wildcards or whatever you want.
(The list does not need a key as it is config=false)


Yes, this is inline with what I had in mind but, since this was my suggestion, I was hoping that Rob or others would reply.

Kent // contributor