Re: [netconf] NACM and draft-ietf-netconf-notification-capabilities-07

Balázs Lengyel <balazs.lengyel@ericsson.com> Wed, 04 December 2019 09:34 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 1A299120026 for <netconf@ietfa.amsl.com>; Wed, 4 Dec 2019 01:34:35 -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 9uIH4qCv64ez for <netconf@ietfa.amsl.com>; Wed, 4 Dec 2019 01:34:32 -0800 (PST)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00069.outbound.protection.outlook.com [40.107.0.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 C7458120024 for <netconf@ietf.org>; Wed, 4 Dec 2019 01:34:31 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aggIuNlfBlStSxvmVHFInZKABcdCpeW8t77GbeM14RNWuyldYX+LqDodk6GdqLcZzsAsIDolzqhsnDQcXrbP5dn4TqhUBH0ipWdqF9NiMbHZyjlSL2xPMNV8wDNuwR5JDCjxzXYtwJNq4gCJkhvLAxzYIlEoSl01yM66Yn6Y2HFmfmF+ALdGMz70vTvviA882tt41TfMCuQjUMBzvV++LmIirDCqH63Q9gAOQJK+X4fouf34oSnfUCJ6tItDrrq0YyQhe4qTCnp4ynwv8+b4LgekPC1C6OYxSOUAvGqWFblcFp7b3x5AzALdhYZKNecp4NHKyuovV3d6sFfvqyfORg==
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=GSlTw3PTIAOVdfZ6eAEkgkY0avVdUQod9hJXUn+Sk6U=; b=gXl4tAKxcV0ZU5D6A1crpeT9/U9rr7t5/sywJa7sKGVuUz+/UaQWnAB7bFjENLjpipe6u4Rf/j1AmjUbt2FLVzqFsNhS8GNmFbTWs1h3dO1tRGs4kylE9firbxw5W+ot7S2hbVmQQ9lVp4LFDsS2i2vF4pr0z2U6uaB2YE/wujq+YMCQVVNNdvn3ReVSCwUqGjVqRFMzw3Pxz+l9N4f7SXdJf0rONT1yBQqi0OASnmkoq/WK8XfnNLYjw6txuv3LlsZBcz77JwC+vZf5k6cHHa/nbodN2/sgK0r456fAyZIcFdNIdLxtd4LABdFv1WPt1HM4RMkGwHSpOM5C/0G5XQ==
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=GSlTw3PTIAOVdfZ6eAEkgkY0avVdUQod9hJXUn+Sk6U=; b=kBITlnWI+hH/prdLVcITAZVAIkKZaDpChVMNXRKB6N13rzF4jzLP9N8+LZ/I2Riwki60VknwqRxV7kbZjUWNmAEAdzonPyrJKtI2ycFHjuTGNsjThMFaef4rAbHvBRuatnz9uYXMYAmwUqf+XLHXj/QqRbm3Dzzl2eB8T13cQQg=
Received: from AM0PR0702MB3665.eurprd07.prod.outlook.com (52.133.47.21) by AM0PR0702MB3778.eurprd07.prod.outlook.com (52.133.49.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.8; Wed, 4 Dec 2019 09:34:29 +0000
Received: from AM0PR0702MB3665.eurprd07.prod.outlook.com ([fe80::2469:3d61:7557:b60c]) by AM0PR0702MB3665.eurprd07.prod.outlook.com ([fe80::2469:3d61:7557:b60c%7]) with mapi id 15.20.2516.013; Wed, 4 Dec 2019 09:34:29 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: Andy Bierman <andy@yumaworks.com>, Ladislav Lhotka <lhotka@nic.cz>
CC: Netconf <netconf@ietf.org>
Thread-Topic: [netconf] NACM and draft-ietf-netconf-notification-capabilities-07
Thread-Index: AQHVnfNwydn62E88HEKTuw8Wjm+KZaeQucuAgADGj4CAFzJCQA==
Date: Wed, 04 Dec 2019 09:34:29 +0000
Message-ID: <AM0PR0702MB36657B3FC8F68AFB70656C7DF05D0@AM0PR0702MB3665.eurprd07.prod.outlook.com>
References: <71259b42-2e44-7584-36af-6eaa860c41cf@cisco.com> <32b6be76986ed69bf3d2aec84866ef6dfa9b277c.camel@nic.cz> <CABCOCHQ_ngwYPqOUFpFRmdc1cNh-UKGqC7N8S-6FYwPPcVF7uA@mail.gmail.com>
In-Reply-To: <CABCOCHQ_ngwYPqOUFpFRmdc1cNh-UKGqC7N8S-6FYwPPcVF7uA@mail.gmail.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: 042c0d6c-524a-437c-4e5e-08d7789d2971
x-ms-traffictypediagnostic: AM0PR0702MB3778:
x-microsoft-antispam-prvs: <AM0PR0702MB3778F95D4F0183610FE17ED0F05D0@AM0PR0702MB3778.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:3513;
x-forefront-prvs: 0241D5F98C
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(396003)(39860400002)(366004)(136003)(376002)(189003)(199004)(7736002)(66476007)(2420400007)(76176011)(15650500001)(66946007)(14454004)(26005)(966005)(66556008)(66616009)(6506007)(64756008)(53546011)(478600001)(25786009)(102836004)(74316002)(76116006)(186003)(81156014)(81166006)(99286004)(8676002)(85182001)(606006)(7696005)(66446008)(8936002)(3846002)(52536014)(66574012)(4001150100001)(790700001)(6116002)(11346002)(5660300002)(446003)(2906002)(4326008)(33656002)(71200400001)(71190400001)(9686003)(316002)(6246003)(229853002)(54896002)(6306002)(236005)(55016002)(7110500001)(110136005)(85202003)(14444005)(86362001)(6436002)(256004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0702MB3778; H:AM0PR0702MB3665.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: RspnIllCuRBRONbXKtrKLNvINisLhaK7a7HW76m2PhSnU35ZeGX0rvA/hHeC5hoiKdz8+DGv+lWPmHJrkOd0S/6qCMk3HwYXpMOo4MbWfzf12yfjD6TNKamPoe8UYuBkOysoKPFDHmCdwdKRdC2yDa8rTEFs9VmQk10voRXVj/1ghXAHrWNS/Mp3V73cfWKS+7X4OsCQV24gRpPJv5fvK+XrQoQuad1Xa/K5Wv5nkBvbDq5QM1635Aodi19HF7ObjodHmY7PQIY4faHih+UJ1juItJsedpyjujAt2s93C/a0sapa39kGfKG6OCMi7H70d9zyHZXz2RElKY4OB9LDON7ro7ZNHOlq8ckzTKq5g+I1ZfXb2VfCXUvRDDwL8brKwH9k1x2kpVo3+i+m2YTeQRtu3vICba7gdUyQ7A4RU2fsJjPsWkaR0Yh7H3sJh9AwasmhJdlRabIy7Z+BIaJi26RwHJqPdSlaLUTG2rSj9R8=
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0110_01D5AA8E.680677F0"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 042c0d6c-524a-437c-4e5e-08d7789d2971
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Dec 2019 09:34:29.4985 (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: VzQsS+jOC/PoeRi/IcySvBKpNYC6Ef6avcym9EPUQDmjG6A7IZO1FerSykWWZBQjgunEfHbiyVhZwLJ+r1v8Q4PQ6ARQmbQ1HxdhDVWE8+I=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0702MB3778
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/bkbbhXimRISffGAqnYddBSjBel8>
Subject: Re: [netconf] NACM and draft-ietf-netconf-notification-capabilities-07
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: Wed, 04 Dec 2019 09:34:35 -0000

Se below, BALAZS

 

From: netconf <netconf-bounces@ietf.org> On Behalf Of Andy Bierman
Sent: 2019. november 18., hétfő 23:19
To: Ladislav Lhotka <lhotka@nic.cz>
Cc: Netconf <netconf@ietf.org>
Subject: Re: [netconf] NACM and draft-ietf-netconf-notification-capabilities-07

 

 

 

On Mon, Nov 18, 2019 at 2:28 AM Ladislav Lhotka <lhotka@nic.cz <mailto:lhotka@nic.cz> > wrote:

On Mon, 2019-11-18 at 17:34 +0800, Benoit Claise wrote:
> Dear all,
> 
> Coming back to Rob Wilton's message at the mike about NACM reference to draft-
> ietf-netmod-rfc6991-bis-02
> From draft-ietf-netconf-notification-capabilities-07
>    import ietf-netconf-acm  { prefix nacm; }
>    import ietf-yang-push    {
>      prefix yp;
>      description
>        "This module requires ietf-yang-push to be implemented.";
>    }
> 
> Along the same lines, I believe it makes sense to add "This module does not
> require NACM to be implemented."

 

 

This is a rather ad-hoc way to declare module conformance and dependencies.

Not sure it is even correct.

BALAZS: IMHO it is correct, do you see any bugs in it?
Yes it is ad-hoc. I was asked by reviewers to provide this information: whether an import is import-only or import-must-be-implemented.

I agree, a formal, common method to provide this info would be better, but plain text is not incorrect and it is still better than nothing.

 

In this draft it looks like all the objects that are related to yang-push

use "if-feature yp:on-change".  So does this module really require yang-push if 

feature on-change is not supported?

BALAZS: Yes yang-push defines the other capabilities that relate to periodic subscriptions. Those are relevant even

 

For nacm, only a typedef is used and no objects are used at all.

 

It seems clear that if the importing module augments the imported module,

or if leafref nodes exist that point to the imported module, then it is supposed to be implemented.

 

 

Andy

 

 

Yes, see also my Yang Doctor review:

https://datatracker.ietf.org/doc/review-ietf-netconf-notification-capabilities-05-yangdoctors-lc-lhotka-2019-10-29/

> 
> Thinking some more about it... Actually, I don't like "This module requires
> ietf-yang-push to be implemented."
> What if I want to implement this draft for gRPC and not YANG-push?
> This capability should be independent of the streaming protocol IMO

This draft (of which you are a co-author:-) states explicitly that the
capabilities are 'related to "Subscription to YANG Datastores" (YANG-Push)'.

Lada

> 
> Regards, Benoit
> _______________________________________________
> netconf mailing list
> netconf@ietf.org <mailto:netconf@ietf.org> 
> https://www.ietf.org/mailman/listinfo/netconf
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67

_______________________________________________
netconf mailing list
netconf@ietf.org <mailto:netconf@ietf.org> 
https://www.ietf.org/mailman/listinfo/netconf