Re: [netconf] WGLC: draft-ietf-netconf-notification-capabilities-11

"taoran (F)" <taoran20@huawei.com> Mon, 09 March 2020 03:17 UTC

Return-Path: <taoran20@huawei.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 8024F3A0F29 for <netconf@ietfa.amsl.com>; Sun, 8 Mar 2020 20:17:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 OqMzyg4xNjkC for <netconf@ietfa.amsl.com>; Sun, 8 Mar 2020 20:17:55 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 065033A0F28 for <netconf@ietf.org>; Sun, 8 Mar 2020 20:17:55 -0700 (PDT)
Received: from lhreml701-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 8D202A909718DE3C67F5 for <netconf@ietf.org>; Mon, 9 Mar 2020 03:17:53 +0000 (GMT)
Received: from DGGEMI403-HUB.china.huawei.com (10.3.17.136) by lhreml701-cah.china.huawei.com (10.201.108.42) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 9 Mar 2020 03:17:52 +0000
Received: from DGGEMI522-MBS.china.huawei.com ([169.254.8.131]) by dggemi403-hub.china.huawei.com ([10.3.17.136]) with mapi id 14.03.0439.000; Mon, 9 Mar 2020 11:17:46 +0800
From: "taoran (F)" <taoran20@huawei.com>
To: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [netconf] RE: WGLC: draft-ietf-netconf-notification-capabilities-11
Thread-Index: AdX1wTIsY/XFIuk+Q8+zInoiDm9CAg==
Date: Mon, 09 Mar 2020 03:17:45 +0000
Message-ID: <9A819AE7BFA8104F8CDA9A55CAFA538C042E99B9@dggemi522-mbs.china.huawei.com>
Accept-Language: en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.138.33.188]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/G8zbDM-dtqIZ2IMyClgq-0o5NBg>
Subject: Re: [netconf] WGLC: draft-ietf-netconf-notification-capabilities-11
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: Mon, 09 Mar 2020 03:17:57 -0000

FYI

-----邮件原件-----
发件人: taoran (F) 
发送时间: 2020年3月9日 10:13
收件人: 'Balázs Lengyel' <balazs.lengyel@ericsson.com>
主题: 答复: [netconf] 答复: WGLC: draft-ietf-netconf-notification-capabilities-11



-----邮件原件-----
发件人: Balázs Lengyel [mailto:balazs.lengyel@ericsson.com]
发送时间: 2020年3月7日 1:06
收件人: taoran (F) <taoran20@huawei.com>; Kent Watsen <kent+ietf@watsen.net>; netconf@ietf.org
主题: RE: [netconf] 答复: WGLC: draft-ietf-netconf-notification-capabilities-11

Hello,
Thinking a bit more about this I think we should not include the when statement because:
- It is possible that supported-excluded-change-type  is declared on the system level while on-change-supported is declared on datastore level. In such cases when the explicit declaration of on-change-supported and supported-excluded-change-type is done on different levels (system/datastore/specific data node) only a very complicated when statement would work.
[Ran]: Why add datastore level "on-change-supported " constraint to system level when statement, why not define when statement at the datastore level and system level separately? Let datastore level "on-change-supported" node value overrides system level "on-change-supported" node value, so does "supported-excluded-change-type".
- As this is output from the node, when statement are not even checked by many implementations
[Ran]: Correct, but not all implementations skip checking the output.
So while the idea is relevant, practically it would be too difficult.
Regards Balazs

-----Original Message-----
From: netconf <netconf-bounces@ietf.org> On Behalf Of taoran (F)
Sent: 2020. március 6., péntek 9:27
To: Kent Watsen <kent+ietf@watsen.net>; netconf@ietf.org
Subject: [netconf] 答复: WGLC: draft-ietf-netconf-notification-capabilities-11

1. Section 5.1 said:
“
   augment /sysc:system-capabilities/sysc:datastore-capabilities/ +
     |                                 sysc:per-node-capabilities:
     +--ro subscription-capabilities
        +--ro (update-period)?
        |  +--:(minimum-update-period)
        |  |  +--ro minimum-update-period?        uint32
        |  +--:(supported-update-period)
        |     +--ro supported-update-period*      uint32
        +--ro max-nodes-per-update?               uint32
        +--ro minimum-dampening-period?           uint32 {yp:on-change}?
        +--ro on-change-supported?                notification-support
        |                                                {yp:on-change}?
        +--ro periodic-notifications-supported?   notification-support
        +--ro supported-excluded-change-type*     union {yp:on-change}?
”
I believe on-change-supported and supported-excluded-change-type are related to each other, i.e., only when on-change-supported holds, Support-excluded-change-type needs to be supported. Would it make sense to add when statement under supported-excluded-change-type.
One Follow up comment is should supported-excluded-change-type be applicable to config true node or config false node?

BALAZS: OK, I will do it in the after the WGLC.