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

Balázs Lengyel <balazs.lengyel@ericsson.com> Tue, 14 January 2020 11:55 UTC

Return-Path: <balazs.lengyel@ericsson.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 F1F21120052 for <netconf@ietfa.amsl.com>; Tue, 14 Jan 2020 03:55:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=ericsson.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 SUfcevxnKcTf for <netconf@ietfa.amsl.com>; Tue, 14 Jan 2020 03:55:09 -0800 (PST)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20069.outbound.protection.outlook.com [40.107.2.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E3F46120018 for <netconf@ietf.org>; Tue, 14 Jan 2020 03:55:08 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F8+MejHw9Ay/jCe4XCpI3t//eZklFThhjwIINpXNm8igxxJNo2cnd7SfkqCZwfynE3yYiVxbNMT0rpyofeIjLtPGf/aTMTrAzn5qv3hwesr9MfBDtUWVGsF+biIdYNrkIGW+xRhK7ZZs9Tj0CwZsNejTbf7p0Bn+rdznIQRsLtjEB5eeIPMCQTQxafGe/T7lwsGvBEVCrBmFygEVcbo6vx0kDkbhEb8AV4WWWFy8yBHkxEiMOie/STy45wXW3NEyQ85tLJiGTWcYia/z4lJMw4bOGuBiJTg4gw0Wjf7o8QHzOVgDYx1ICdTfPNrbzM0P5U6gOiDT2AlUE3Xw9k3pSw==
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=8s97CMZ0Pa0XkHg2CS0zWEGUtBMFAJ9ngYUAYzsDkqU=; b=hOm/3zd4SMl+SusrzC6kxmIS+xP1GDWv2yuY1xC4fb5f+G2O4TzE5CUlmdOiDYC5bAX2laV0MBfUJQ4KBOzPX0uYAz2wJM3kR/4yhtzmq7PMPKWwBwwViCtVAeshzq2e/pz/jDD7Q/2fWUyixGpmIP2cd6phOoi1cZZ/7DHLBQKRtIFC22CwuMQJ8WZNEP7Zq4E2bRieduzYzOb4aA2WmdVEoYYD6H5+gQ19LbsfkCjI/xwVJ4X9i8qHeTNxKMY6FD+R1KdGDIwH6OXdBRJHu3X76AlUFeoHaFfYGXo9A5xOoTWaXbM9wUFcK3a9NZH2LvQcPtZzE6Q4aENck3KlMg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8s97CMZ0Pa0XkHg2CS0zWEGUtBMFAJ9ngYUAYzsDkqU=; b=Ai0xWSwzxuCJ2s9/4PWoIxtju3q3UaPIvg1B9fFOIPfEc/RpNAv8n/7sfeOI0gKtH8cuZB8NYCzsryT1ONA5qPwSDci3Fzocog8irbfmKV2af4FJ+8ohieTdTSbNHWI68oUxwlfKVJNinBLl7xKJ7JlEP+c35RkRUYxTBX+LoTc=
Received: from VI1PR07MB4047.eurprd07.prod.outlook.com (52.134.20.154) by VI1PR07MB4688.eurprd07.prod.outlook.com (20.177.57.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.18; Tue, 14 Jan 2020 11:55:05 +0000
Received: from VI1PR07MB4047.eurprd07.prod.outlook.com ([fe80::819:a879:8fe2:1686]) by VI1PR07MB4047.eurprd07.prod.outlook.com ([fe80::819:a879:8fe2:1686%5]) with mapi id 15.20.2644.015; Tue, 14 Jan 2020 11:55:05 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: "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: AQHVxVsUq6ljVkP3y0ecYCN5b7iLjKffZvCAgACw5YCAANp+cIADGgSAgAAJEoCAAA+C4A==
Date: Tue, 14 Jan 2020 11:55:05 +0000
Message-ID: <VI1PR07MB40472F455C5A431E5DB39F6BF0340@VI1PR07MB4047.eurprd07.prod.outlook.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>
In-Reply-To: <MN2PR11MB43663A607C6739B6B2501C70B5380@MN2PR11MB4366.namprd11.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-originating-ip: [89.135.192.225]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 7aff5b51-05b7-48ef-9c38-08d798e89861
x-ms-traffictypediagnostic: VI1PR07MB4688:
x-microsoft-antispam-prvs: <VI1PR07MB4688E8B5CD1DA4B3D419D496F0340@VI1PR07MB4688.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 028256169F
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(396003)(136003)(366004)(346002)(376002)(189003)(199004)(2906002)(5660300002)(316002)(110136005)(66556008)(64756008)(66446008)(66946007)(66574012)(66476007)(76116006)(33656002)(66616009)(8676002)(52536014)(4326008)(71200400001)(15650500001)(9686003)(86362001)(55016002)(478600001)(81156014)(6506007)(53546011)(8936002)(81166006)(7696005)(26005)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR07MB4688; H:VI1PR07MB4047.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: cTRhDmRzkjhJ1XZ9e1F43vjCEYxnS0CMJ7/n4rIXiODPLkXTljLWvtuhRI8YC/1vU3iUZ6wzd/y5U/tjG19QvhH7K59g27l9sZA91zQK44xRT6h4viJdq3HS6u2W4WLfKheJX3/7timIUIwCwq8horwzvAt3LGYmSBszLpqVi43odzvsHWb0UDMyBpRe2thO6F/Jx0+GlczQE4Ljp36jiccrVg55yc8Urq2nFOJSbbxk7kyYtErhozeSnraWJXI4/FQp0qFgxC8QUp+qqndpl3C2nSKl4dpDN3MNoRL95PlEAF1ypNpnMM8Z/u90q/ytKnAauAUrSntfKptXGyVyDqaP7XzFnDGH31rLPy3aUvEyEc/wJ1kJo6yk14x5RKcBa4D05ZxzxoY/nQtcVDQtH9lWvG2t/BH/G01B+ILsWDZeuY04Pw8EZ7GhxN2/4NeB
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_021B_01D5CAD9.D6627B70"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7aff5b51-05b7-48ef-9c38-08d798e89861
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2020 11:55:05.0883 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Nt3GOvc0kF7oMuQOChwSDjBbuaBBAJHT3luhKdeY83Ac5gZhzKgKE71cX/VgIw410iHNb8iVi3EPkNVtUX4VcUaFxGL2SyR7idSXFbQmpNE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB4688
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/kVTlxIiXoDc_W6Iv9xdLk-vT8To>
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, 14 Jan 2020 11:55:14 -0000

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