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

Balázs Lengyel <balazs.lengyel@ericsson.com> Fri, 06 March 2020 16:25 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 C63F33A0A86 for <netconf@ietfa.amsl.com>; Fri, 6 Mar 2020 08:25:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 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, DKIM_VALID_EF=-0.1, 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 ingFU-rpQwbk for <netconf@ietfa.amsl.com>; Fri, 6 Mar 2020 08:25:40 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80048.outbound.protection.outlook.com [40.107.8.48]) (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 78BAC3A0A8A for <netconf@ietf.org>; Fri, 6 Mar 2020 08:25:39 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kMt6Bp9FVSBydHCwAvy3M4p79jiEZSECwcMZjE0642nxcHYyPELiCfGTlPmlhUOOMwKFXupzSlcRuYd3iBIlX1/JPyNaCVhASLbBniKa0ZtCAodp5HCDA7VPrRGsgxMUmnhTXz956gAipeJ9k1tCyX5BMj5M/K7lp/NktJBDYNs8oODQ1YfF5Zfg+YFS6wXB7yUqgug1dcQmhnqd+a8zhxW2lL8w1QDvAS5dy+gA/4ux/MnXWl3QSQVgUao8w2FU1B0l4DPOjx4xWSk2Y0LOIDwWyeURbz5Lti3RJ4PFxZBK7+8N5F9D9k0CAvyx7V8hOEGo47oRanZlbVVa7C5Ffw==
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=q1zYKBus6Onfl0ObLAh9KaP9Nqr38cD4mbB3giSiBME=; b=CDP+UG2eQ3p1wk+5YVIhc0Fho91xltidE8soylFuusVBoqc5nGrhk/QZLjW/2OjCZaqmQBTeu7Un20VM3HGWSDB85rZsXZnF0dko336vF7le5WMLje4Y+1Bat7GKXHu128JMmGfY42oBawqr0+EWlcqSdEr7aDd/xByej5u38BRSuoQm8AtNQ2/hKl9vbTR0WndtEqnBDG/1CPBzjKLowM9ue/VNiOSBsWOyPeMxdwhVTjwUjN7qrRBCbX0Mkyn8gl1E8AG4LoMa3h1C6wHDVjl1a1GrvK3H830yFIulN6+r6d87qLbnCZ8zw/HCCJ1ppKGtkqPDoctdOrTsz4h9pw==
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=q1zYKBus6Onfl0ObLAh9KaP9Nqr38cD4mbB3giSiBME=; b=ORF4gjfAKX89pLmmEzt2sFGhBSvbNohcdZDKSHHcj5vEjom8x4uzgc9SQz5QK+Pc0EzNGSpblaYFXUMJBc78KP7My/vlc5IgB+NZxDZyfvszyiQ9DjCw4Sb2f3RKuO98FvkYWWXd4jA5+uGngIfgpEt87cKvgoy9sIUiQxo9Ks4=
Received: from DB7PR07MB4011.eurprd07.prod.outlook.com (52.134.97.155) by DB7PR07MB4587.eurprd07.prod.outlook.com (52.135.135.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.5; Fri, 6 Mar 2020 16:25:34 +0000
Received: from DB7PR07MB4011.eurprd07.prod.outlook.com ([fe80::15cf:dc81:c6f4:aa0c]) by DB7PR07MB4011.eurprd07.prod.outlook.com ([fe80::15cf:dc81:c6f4:aa0c%7]) with mapi id 15.20.2814.007; Fri, 6 Mar 2020 16:25:34 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: "taoran (F)" <taoran20@huawei.com>, Kent Watsen <kent+ietf@watsen.net>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [netconf] 答复: WGLC: draft-ietf-netconf-notification-capabilities-11
Thread-Index: AQHV85Ei30TbNWE+tEu4x6S2sq3adKg7vwdg
Date: Fri, 06 Mar 2020 16:25:34 +0000
Message-ID: <DB7PR07MB4011203EDD5F6851FECF979CF0E30@DB7PR07MB4011.eurprd07.prod.outlook.com>
References: <0100017055c347e5-13b624a9-04c0-4ba5-8a53-26a80f079607-000000@email.amazonses.com> <0100017055e833dd-1a2ecac4-53e4-4bb7-aab9-f75516c5fd38-000000@email.amazonses.com> <01000170a78abdde-66112ceb-d466-4c72-ad18-6058ef07ab02-000000@email.amazonses.com> <9A819AE7BFA8104F8CDA9A55CAFA538C042E948C@dggemi522-mbs.china.huawei.com>
In-Reply-To: <9A819AE7BFA8104F8CDA9A55CAFA538C042E948C@dggemi522-mbs.china.huawei.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: 4feffa87-7e7a-46d7-ced3-08d7c1eaff0f
x-ms-traffictypediagnostic: DB7PR07MB4587:
x-microsoft-antispam-prvs: <DB7PR07MB45870F2C5EE9781306178C2FF0E30@DB7PR07MB4587.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0334223192
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(366004)(39860400002)(346002)(376002)(199004)(189003)(186003)(478600001)(316002)(110136005)(7696005)(6506007)(71200400001)(66574012)(85182001)(53546011)(66446008)(86362001)(64756008)(55016002)(9686003)(224303003)(85202003)(66556008)(76116006)(66616009)(66946007)(66476007)(2906002)(5660300002)(52536014)(81166006)(26005)(33656002)(81156014)(8936002)(15650500001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR07MB4587; 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: Fr/N/93ol0AK8SdqnFOrOVkMkvHMLiiRM5SGP9J8WkCtKpd+nJBAAs4c1xtSo7/y9K5+EO2NAoW4O3laDbhqNGlvDT20Rp5q8XLectALI7nOUxIwp8SUi8TY4vn5ZY1urxwJvxWBYF6PFxAJBVoXusYDnfNgdVu81r4lm0HPyVYEmxmz2HUPNKy3SsYak0LJKXJBYbYlFkSeDh9od2Ck8qq9sWZ3aRNKY0IklWv95PKBZ/Pk4Ru/K3aAzPpp0ihNTIRD/mKt3wlU62fDmo/9EyAZOWDV2FVcj7Bs1F12iZDGgo23E3ZO3lc2CrIuzXVcpPiLxQzpyk0ArCld7aWumwwRY5kJniTa/OH1hU3Bfe4qCsXiqHZSJbXs+7/if4HA+1jQ5TB9eHlLaztjYkthb47vKsSZsYb5tvTZEPhjQW9FPr3JMjFmDlMwHE5qDiII
x-ms-exchange-antispam-messagedata: HiS58j7TyWmgxwUEroS5qhk9I0zt+DjYdWeCmHcAXjGGzfP715k2SWCnX/gHZKc1jBX4LTKEDl5YmOXCExMmo0/u8RBl8u2gEkCCPFsvlsdjEWUdFnaGGwshi71GXI/LWiN6H6oIT3kUv/eGUBR1/g==
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_02CB_01D5F3DC.3D5FC960"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 4feffa87-7e7a-46d7-ced3-08d7c1eaff0f
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Mar 2020 16:25:34.1398 (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: 7veViEzgyH6j6Nmc9POqrGPUlKsi30wbyMHRyOYTw+gYDIrF5yoZtbmiKs7qqwXtgu05I2AdCo+UTd//jfWj/NhPDZhDgpMJn9VW0EcR9mQ=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB4587
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/3E4H13jrR4vqYf3ekU5BWTECLEQ>
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: Fri, 06 Mar 2020 16:25:42 -0000


-----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

Hi, all,

I have two comments on this draft as follows:

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.

2. Section 5.2 said:
“
       leaf-list supported-excluded-change-type {
         if-feature yp:on-change;
         type union {
           type enumeration {
             enum none {
               value -2 ;
               description "None of the change types can be excluded.";
             }
             enum all {
               value -1 ;
               description
                 "Any combination of change types can be excluded.";
             }
           }
           type yp:change-type;
         }
         description "The change types that can be excluded in
           YANG-Push subscriptions.";
       }
”
It is not clear to me when should assign negative number to enum value, does it indicate it is an error or warning? If it is not, I prefer to assign positive number to enum value.


BALAZS: The value statement allows the range -2147483648 to 2147483647. 
I chose negative numbers because yp:change-type is itself an enum 
with autonumbering.  Autonumbering will start from 0 and go up.
 So a negative number will never clash with it, a small positive number could.

Ran