Re: [netconf] I-D Action: draft-ietf-netconf-notification-capabilities-10.txt

Balázs Lengyel <balazs.lengyel@ericsson.com> Fri, 14 February 2020 10:03 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 96572120131 for <netconf@ietfa.amsl.com>; Fri, 14 Feb 2020 02:03:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 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, 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 XnpQ_0gNy_ds for <netconf@ietfa.amsl.com>; Fri, 14 Feb 2020 02:03:24 -0800 (PST)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10073.outbound.protection.outlook.com [40.107.1.73]) (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 4EE0D1200BA for <netconf@ietf.org>; Fri, 14 Feb 2020 02:03:23 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c/CS/QmWtrnsBJdFFg8za6uDuCjfXlsWqAxWrKMqQa1Ykb6Q7F1WrGVXREgBrc0cJ1ADACBMY5SQYURgu3P0r8+cBpnAzAEJdZCfcAw81aT9Btai9kOCT7+zdUPFW0x6wJX+dXyf+kft8tWQ6TiMLVV/aFdYX8iZVJN6parVYB/VD+4e+2p0ZDM6YU5sojs66ufOL4BoOH2ycSsXugKYbwcdBOXikGJBjOXbk+mEmnFyvnLyNdd7qXFQjyXXB8HxIzznlf1+GVC1gQA1r1g9ahAF1vhXOcfawB56iD2X8dim8+jOde2rtTrkr0QfadHIsTvdc9oc82hLIbBeilno6g==
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=lcyK6dcSzogceCfmGuPSQKIARP+NBjLR8ZR42AmCXn0=; b=EiA4g/llkaH4BViIyfEKfarfXhCrMHB2iQqoo8uAnPnbNXJxy2bXoeykFhNXpXKy6B/GgVWKAsdtVtcW59fxGDydMePPAtM3DKjyPp6QbTJCr/Gr3xQHfL0/6Gs/+j2e/TlHMQoHcZbgw4n/9ehshlYfH16wg1xgN5ebbaq9+Ply+3Be2Eibzxo/qQzw26eEVsh3yK3CS5DWe4ETWS57UpGDj15KLKNWh+8ZqK4h954TcUHGbvcCWkyXKUxZSXXpPFkAm8QcoVmP3oySuhYrhaJqnKaoFVT4RxiFK5UumYjVo7EObmKFhynBlKjpYvSO5E9B99OMh/8tjtlnDofoxA==
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=lcyK6dcSzogceCfmGuPSQKIARP+NBjLR8ZR42AmCXn0=; b=i1acMibLCfC4ZOdSE0UizF0UPA4/c1LIhPnB4ZWYglgbkJXlQHWX3XtZfWTKXC8kCBaO6zAq+uvLqFUXPsbpjD2gSPE0HBRLymjsHWGbWBb78Oi0WkGJszMEZlNhv8zoKpIJt+h6954IvnRLYWLaDXr8Yx1L32l/qAJYaaXqxyI=
Received: from DB7PR07MB4011.eurprd07.prod.outlook.com (52.134.97.155) by DB7PR07MB5963.eurprd07.prod.outlook.com (20.178.84.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.21; Fri, 14 Feb 2020 10:03:21 +0000
Received: from DB7PR07MB4011.eurprd07.prod.outlook.com ([fe80::b19e:4830:538a:d973]) by DB7PR07MB4011.eurprd07.prod.outlook.com ([fe80::b19e:4830:538a:d973%5]) with mapi id 15.20.2750.007; Fri, 14 Feb 2020 10:03:21 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [netconf] I-D Action: draft-ietf-netconf-notification-capabilities-10.txt
Thread-Index: AQHVzIjtnDHg7Kv35kqaQ6ta9dr6oaf7nmAAgB7tp5A=
Date: Fri, 14 Feb 2020 10:03:21 +0000
Message-ID: <DB7PR07MB4011BA5658866E48EB6E734BF0150@DB7PR07MB4011.eurprd07.prod.outlook.com>
References: <157918802007.26211.15290734681239936924@ietfa.amsl.com> <4E44FB5B-799A-49CD-95DA-C81D8B5EEE31@cisco.com>
In-Reply-To: <4E44FB5B-799A-49CD-95DA-C81D8B5EEE31@cisco.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: bfd3e12a-f1e6-41eb-a044-08d7b1351f79
x-ms-traffictypediagnostic: DB7PR07MB5963:
x-microsoft-antispam-prvs: <DB7PR07MB59631A91B1567DD2A555B93AF0150@DB7PR07MB5963.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 03137AC81E
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(39860400002)(346002)(136003)(376002)(396003)(199004)(189003)(5660300002)(6506007)(53546011)(52536014)(9686003)(26005)(186003)(85202003)(85182001)(316002)(2906002)(33656002)(86362001)(55016002)(81166006)(66946007)(7696005)(76116006)(8936002)(66446008)(478600001)(64756008)(966005)(8676002)(71200400001)(81156014)(66574012)(66556008)(66476007)(15650500001)(110136005)(66616009); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR07MB5963; H:DB7PR07MB4011.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: mZevS6jXoa+ZGrDz95jAMBDbmw2dmF+Kswd2EhAty1YpUbNgfQu7Lm9Z02Ro95CGfWCtpt5G8fb1yxUdWfVeKHi9rp+GKk42Xu2R+gXSZwQFJ5GkOAUJHK6TZ0ssoxYzoGqCAby8qXx9VBecBDPxA4GuGGwfi8x3LAjT/c9Y9RXeacnOm18eWhWLM0DZCb8G3PwA16epiSLRWCgq0Jh8J/M2mlCrZrwKVIzaPZaNtDiAJRphkdhgGurUYlPqOItcLpHKcnEp8U7XJ9jb7+/6A4meHC5Akiszms8SbqaBucl5Fl0302yj/5gxxor8Y6XQQQOmFjvG/OuzXcLNzumBITiLhvRL6b2s4Fg7KOUj9ueMN+cjYiSzwdKM5wxr3rettnsAlR47GJpKX1jdhlOoO07T8awiiL+3BadjiO9jQGZcZCqwBtEdJsiw+I0Lbs8NeEDfIcLBGBrCIR1cRWqS0nKv0Q+Wd/RVN6RUnLsW3h2Ocoh7yVyX09ipQ5me/lP3ddeBmubbbECZe/r3Uxv18g==
x-ms-exchange-antispam-messagedata: qzbxsShuOqGq3gEAHxP9ZfD2Mk3MFEnsBEfsbphSWaBV0n/WMTJOzlLckxJQdUo053bD6lnUeneauDx+RjEtXlj7s4ukKYBy2Ydi7wQtzSoq0tuf9+8i2xeh3+PcC6Y6R7lOg9+bTpc6ZBCgLEwUlQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_07BE_01D5E326.5D6CC710"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: bfd3e12a-f1e6-41eb-a044-08d7b1351f79
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Feb 2020 10:03:21.5082 (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: 2Z99BYyjMatnGn54uu6DofEDi2x1eG4P6e7StfBNVcF+U9JqdW5hDulUWdcJrKAv83RTv7NEykMc3Vv78ni8dASq/gLyeKSVtuDRAm4pDtc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB5963
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/gvsmRTqSpk3BLYz8cW5M73bb35o>
Subject: Re: [netconf] I-D Action: draft-ietf-netconf-notification-capabilities-10.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: Fri, 14 Feb 2020 10:03:28 -0000

See below. BALAZS

-----Original Message-----
From: Reshad Rahman (rrahman) <rrahman@cisco.com> 
Sent: 2020. január 25., szombat 17:23
To: netconf@ietf.org; Balázs Lengyel <balazs.lengyel@ericsson.com>
Subject: Re: [netconf] I-D Action: draft-ietf-netconf-notification-capabilities-10.txt

Hi Balazs,

Questions/comments on the examples:
- My main comment is that the example section needs to be extended to address more use-cases. One of the reasons we didn't go with YANG model annotation is the need to express capabilities per-instance, we should have an example to illustrate that. (e.g. where 1 interface has different on-change capabilities than the default/others).
BALAZS: OK. will add it into the acme router example. The loopback interface does not support any notifications.
- Page 19-20 both examples have running datastore on-change-supported set to "config-changes state-changes". I don't think state-changes makes sense for running since state-changes is for config false nodes?
BALAZS: It might not make sense, but is OK. Anyway I will remove state.
 I will add to the typedef's description:
If the bit config-changes or state-changes is set 
          for a datastore or a set of nodes that does not contain 
          nodes with the indicated config value, 
          this has no effect, as if no support was declared. 
          E.g. indicating support for state-changes for 
          a candidate datastore has no effect. 
- In the 2nd example, why "config-changes" for in-octets and out-octets, should be state-changes only?
BALAZS: Doesn't matter whether config-changes is declared in this case, as these specific leaves are config=false. I will remove config-changes for simplicity.
- Page 21 the 2nd example has this: /if:interfaces/if:interface/if:statistics</node-selector>, typo? 
BALAZS: OK, updated
- Second example, do we need a node-selector  entry to indicate that datastore subscription capabilities are not reported on-change? And an entry for / to indicate that operational is on-change capable (as in example 1)?
BALAZS: 
   datastore subscription capabilities: Not really needed, as they never change as stated above the example
   operational is on-change capable: no update needed. This is declared on system level.
Regards,
Reshad.

On 2020-01-16, 10:21 AM, "netconf on behalf of internet-drafts@ietf.org" <netconf-bounces@ietf.org on behalf of internet-drafts@ietf.org> wrote:

    
    A New Internet-Draft is available from the on-line Internet-Drafts directories.
    This draft is a work item of the Network Configuration WG of the IETF.
    
            Title           : Generic YANG-related System Capabilities and YANG-Push Notification Capabilities
            Authors         : Balazs Lengyel
                              Alexander Clemm
                              Benoit Claise
    	Filename        : draft-ietf-netconf-notification-capabilities-10.txt
    	Pages           : 23
    	Date            : 2020-01-15
    
    Abstract:
       This document proposes two YANG modules.  The module ietf-system-
       capabilities provides a structure that can be used to specify any
       YANG related system capability.
    
       The module ietf-notification-capabilities allows a publisher to
       specify capabilities related to "Subscription to YANG Datastores"
       (YANG-Push).  It proposes to use YANG Instance Data to document this
       information and make it already available at implementation-time, but
       also allow it to be reported at run-time.
    
    
    The IETF datatracker status page for this draft is:
    https://datatracker.ietf.org/doc/draft-ietf-netconf-notification-capabilities/
    
    There are also htmlized versions available at:
    https://tools.ietf.org/html/draft-ietf-netconf-notification-capabilities-10
    https://datatracker.ietf.org/doc/html/draft-ietf-netconf-notification-capabilities-10
    
    A diff from the previous version is available at:
    https://www.ietf.org/rfcdiff?url2=draft-ietf-netconf-notification-capabilities-10
    
    
    Please note that it may take a couple of minutes from the time of submission
    until the htmlized version and diff are available at tools.ietf.org.
    
    Internet-Drafts are also available by anonymous FTP at:
    ftp://ftp.ietf.org/internet-drafts/
    
    _______________________________________________
    netconf mailing list
    netconf@ietf.org
    https://www.ietf.org/mailman/listinfo/netconf