Re: [yang-doctors] [netmod] Yangdoctors last call review of draft-ietf-netmod-nmda-diff-04

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Fri, 18 September 2020 19:48 UTC

Return-Path: <rrahman@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8872E3A0E32; Fri, 18 Sep 2020 12:48:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.619
X-Spam-Level:
X-Spam-Status: No, score=-9.619 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=hg+Yj43d; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Ad+lYsvM
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 qp-eyFyGtB2z; Fri, 18 Sep 2020 12:47:57 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DAF473A0DFF; Fri, 18 Sep 2020 12:47:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=53509; q=dns/txt; s=iport; t=1600458477; x=1601668077; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=qEdMA/Fhvvs2kpuUIYBAV9or9WlgFFZOVfXtD69IfrQ=; b=hg+Yj43dSVjbYEm+9oYwb/esuz4o46v9m6fY1vDfQ5KgyU8tgZUGkcxH 6DKgPrQPnz8YaJxHqiDSZPoi6QOi4xTm+x2zX7EXvoUk4Cty7Mg4E+XXO 76HmDHEHSLzBMBziMerxVtMCv6h3Qjjvf46ZTvK6BOTjWE6dV8z8EEEA3 A=;
IronPort-PHdr: 9a23:mX01Ah0m6ZE0GtN3smDT+zVfbzU7u7jyIg8e44YmjLQLaKm44pD+JxWGuadmiFLMWMPc8f0Xw+bVsqW1X2sG7N7BtX0Za5VDWlcDjtlehA0vBsOJSCiZZP7nZiA3BoJOAVli+XzoOkxYHcO4YEfd8TW+6DcIEUD5Mgx4bu3+Bo/ViZGx0Oa/s53eaglFnnyze7R3eR63tg7W8MIRhNhv
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0D/AQBXDmVf/5RdJa1fHQEBAQEJARIBBQUBgX4FAQsBgSIvKSgHcFkvLIQ5g0YDjXWYdIFCgREDVQsBAQENAQEjCgIEAQGESwIXghQCJDcGDgIDAQELAQEFAQEBAgEGBG2FLwglDIVyAQEBAQIBEhEdAQE3AQQLAgEIEQMBAiEBBgMCAgIwFAkIAgQBDQUigwQBgX5NAw4gAQ6qcAKBOYhhdoEygwEBAQWBNwKDYxiCEAMGgTgBgnCCXEtChlIbgUE/gTgcghg1PoJcAQECAYEzAQ4hEAkNCYJhM4ILIpAPgyKGfYt4kAqBAAqCZ4h2kVYDHoMMiXkGjjCFRpJ6gXeIapBvhCwCBAIEBQIOAQEFgWokgVdwFTsqAYI+UBcCDYM1imo3bgEJgkKFFIVCdDcCBgEJAQEDCXyLHQEngh4BAQ
X-IronPort-AV: E=Sophos;i="5.77,274,1596499200"; d="scan'208,217";a="817354220"
Received: from rcdn-core-12.cisco.com ([173.37.93.148]) by rcdn-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 18 Sep 2020 19:47:55 +0000
Received: from XCH-RCD-002.cisco.com (xch-rcd-002.cisco.com [173.37.102.12]) by rcdn-core-12.cisco.com (8.15.2/8.15.2) with ESMTPS id 08IJlt13015400 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 18 Sep 2020 19:47:55 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by XCH-RCD-002.cisco.com (173.37.102.12) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 18 Sep 2020 14:47:54 -0500
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 18 Sep 2020 15:47:53 -0400
Received: from NAM04-BN8-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 18 Sep 2020 15:47:53 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CbJFH1kpqnMud0//nd9XNvkVoE4w7qng81WSvadcg2E52JSUY7b6jdunPYBfLE4OFY52jkItmqPZeeLLunTnHgAvudaDiT+K9z9jcAe1qU8P7GzaH9nErTWKfBzwCvM8+fGuMiKKl8kL0vTUYjDWPiH7FA54IKvurQrmeJtM1EbXvKo2d9Asb+sB72w89JjM5uyUj8HhaaeDq92S0J+k8kFBqEAKgFMmlDKeDb3KLAud/mhJOODk2yxLect1g6c/BB6iFPFyeb+nXSRZBVsmYZkRyGiRYoRbKTWbuH7Arg+H+IZPUsYR3Isrbd8kyFpvEOgvwHP/ILzWHRfvAksoNQ==
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=qEdMA/Fhvvs2kpuUIYBAV9or9WlgFFZOVfXtD69IfrQ=; b=CTqTtAqp/SV9MJjDofNqVl9iS8FMDp3nswfFTSoaWXXjpBrVjiXV4/YLsjqjwiAMqhgt3V5+ikBcrITGJ3CPbR21b/vn7BLVTLyVFSmRwW4yXfSr0NsdXkruPtE/e2erar+uiPfGvdn/+/LvPw4EdusyWjnEC+w4EwC6jkD2+mV1EbHw63TvKh3zFp0II7DhuzM2ikMLfE7mVaafDNfuPzJ171Ovgp/jXrutk+iJKHFAz74yPWKCk4QIUdpDQrGIzHp6UJD65rauR3FrO0o3X57xohCpVBlKKJlxC4N/RsYz7pRC4hZr9wn7U+HgRtbvMoAy3L3WLS4fsVLWl36YaQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qEdMA/Fhvvs2kpuUIYBAV9or9WlgFFZOVfXtD69IfrQ=; b=Ad+lYsvMYeByG8t54kGd3X20hqV7TN7uJZFNWNHGCA5JvWDlFWQeiUSdShrH/HVusg2yQy2yDagLeEj6Iy6tTPcvU1grRQalofOoOjJdRhjARH9NwQFA03RLk//i8LWrboaVslVobSgSP+u/y+00Bvp16SkKu+8/TPqDdgWNfyI=
Received: from BN6PR11MB3875.namprd11.prod.outlook.com (2603:10b6:405:80::37) by BN7PR11MB2546.namprd11.prod.outlook.com (2603:10b6:406:ad::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.13; Fri, 18 Sep 2020 19:47:51 +0000
Received: from BN6PR11MB3875.namprd11.prod.outlook.com ([fe80::6db4:f6de:cc07:487]) by BN6PR11MB3875.namprd11.prod.outlook.com ([fe80::6db4:f6de:cc07:487%6]) with mapi id 15.20.3348.019; Fri, 18 Sep 2020 19:47:51 +0000
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: Alexander L Clemm <ludwig@clemm.org>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
CC: "last-call@ietf.org" <last-call@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>, "draft-ietf-netmod-nmda-diff.all@ietf.org" <draft-ietf-netmod-nmda-diff.all@ietf.org>
Thread-Topic: [yang-doctors] [netmod] Yangdoctors last call review of draft-ietf-netmod-nmda-diff-04
Thread-Index: AQHWi6XXGy8knHCfYEaSiW7jf0az2KlqDqQAgABKnACAA8LnAIAAtDiA//++cAA=
Date: Fri, 18 Sep 2020 19:47:51 +0000
Message-ID: <100F7855-CFE2-4E04-927F-A25089D3B2BA@cisco.com>
References: <159942490640.25028.10946254095755778899@ietfa.amsl.com> <EF21460A-8689-491C-AE19-942C6FA84FFC@cisco.com> <e801c95e-078e-8438-b1a0-18aaf4be3a82@clemm.org> <8759A9BF-300C-46F7-B39F-9EF4CFA2D726@cisco.com> <22126972-0920-1bb3-a73f-f4a219a59bf6@clemm.org> <0E3A16A2-6ABA-4868-936F-AA6C9AAF3A8E@cisco.com> <7cf5120e-28c9-383a-5238-0d6749e93854@clemm.org>
In-Reply-To: <7cf5120e-28c9-383a-5238-0d6749e93854@clemm.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.37.20051002
authentication-results: clemm.org; dkim=none (message not signed) header.d=none;clemm.org; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [2607:fea8:bee0:52e:f981:8d68:9331:1b05]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 58e993ca-8e56-4278-8edf-08d85c0bba65
x-ms-traffictypediagnostic: BN7PR11MB2546:
x-microsoft-antispam-prvs: <BN7PR11MB25460AA15EB335EDA964F20FAB3F0@BN7PR11MB2546.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: jIL6MdYy5HepwaMdtgJiH1xHd6qTgy75va5o3lFhTOzcSonbnB855RhXjv912FHHSLrC80ZAk8uyPDGj8pAYY+pERIfv7WQT2Q0dcrGhQcAPQGPKmsmV5n86XniIgaHKvzZkJNBNQqgssap1Kw7qKf8pMcob3oQbnYc6YBrAoYo5P9WPqscLzTPFIXjzKnaNsaBnbChuL0XRQ68R+5v140tYCDZ6cI/n8Bet2JkMkNdIRYJNxkz5IV9It41zGsWmDjXNOB6r0qehvYBTEkVOULkFTUSdNb5N95WS0TJOqV+yaT9YySAp6/wnpm+eswcQOd9ygkVNfwW/4T9x30uaVakNwPP1/LEoBQNyppS2GAZls6zmQciLIA7/VHphTMZSuL+DBSv04Y9Pz9/qH8crFw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB3875.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(376002)(39860400002)(366004)(136003)(346002)(66556008)(66946007)(66476007)(71200400001)(6506007)(110136005)(5660300002)(53546011)(54906003)(2616005)(6486002)(8936002)(76116006)(2906002)(83380400001)(91956017)(4326008)(166002)(33656002)(186003)(8676002)(64756008)(66446008)(316002)(36756003)(478600001)(86362001)(6512007)(966005)(9326002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: HczT1nXBiwwhSsc8pRv/+McE1+HknZxSrREOohwxrOTAkRVvxiOfc/BUC13J3+n6iCwjBGhk2OP+WIzltOUVymSikqRodU46qyTC6HsqcXABcBlFiVXJUTWb5F8l3M2YFqkM4OFE8Mnxyc2ZgcEXok/tY8yBjZzyxbKw02a3BtDBDgh5/j6Ut6tYMkCPyULgSz2M+eRHnG5JCiNH6t9i1tAdkJUGgZSx/96gi+EWGSYZ52UxULVnP/T00lwvDWRYrFSAI/fLTHodn/1w3UMBzpH+jF1cdeaEHb93gLasfvviWq6AcrRWsZiEOQx/WJv6+k9Pa0nuAYbxrWQu982jaYX+sihs4todMq972NJWhj0uqVjd1k7Lo3c1r6PEqCdmO6rwZoqMjqjn4ZXYe6wMAj/5/agYAaLomraPxdOKTq49Zq/zCFRL3AKgYtlNhM23mQtE5765sHBVCvWUkZ+KmLcTKE1J8bgfffrvDe8P4O37qC2EzFYqmWSih0DJlYtjsnD0BDLgfZQf1nOrXDnBssI+CgvN/I9F2jcMYVmweZnZyMtXiovSlxvz8SIE2+C7ChT8Tvf1mCgzfGQf8BT2SRdyNBh6ECoGeB1OtEjQ0xJnwGNFiDHMN8Px99btXJu6HcSG1yEt3XftmAsFOcNXy8Uy8M4DhJrKHjoM9PTI4nBt+rWUsfdPMe+bKZhvVnnd8ZhTGl25zYpqXM6wBVbHfA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_100F7855CFE24E04927FA25089D3B2BAciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB3875.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 58e993ca-8e56-4278-8edf-08d85c0bba65
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2020 19:47:51.2439 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: hLk+HcLg0Ktgb9DCdSn6TzNxKJEiDUrrsEm0m6KtlGa9GQlHu45yjCtQ7PLYxpdoX4lAySVD3vKK5Lv8ggknCQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2546
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.12, xch-rcd-002.cisco.com
X-Outbound-Node: rcdn-core-12.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/nVRo9SYQcESoz6cEBFJMYFfQSYU>
Subject: Re: [yang-doctors] [netmod] Yangdoctors last call review of draft-ietf-netmod-nmda-diff-04
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2020 19:48:07 -0000

Hi Alex,

This addresses my comment/concern.

Regards,
Reshad.

From: Alexander L Clemm <ludwig@clemm.org>
Date: Friday, September 18, 2020 at 3:43 PM
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
Cc: "last-call@ietf.org" <last-call@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>, "draft-ietf-netmod-nmda-diff.all@ietf.org" <draft-ietf-netmod-nmda-diff.all@ietf.org>
Subject: Re: [yang-doctors] [netmod] Yangdoctors last call review of draft-ietf-netmod-nmda-diff-04


Hi Reshad,

okay, so let's add the following then to section 4, in the explanation of the "differences" output parameter:

"When a datastore node in the source of the comparison is not present in the target of the comparison, this can be indicated either as a "delete" or as a "remove" in the patch as there is no differentiation between those operations for the purposes of the comparison.  "

And update the description as follows:

         container differences {
          description
           "The list of differences, encoded per RFC8072 with an
             augmentation to include source values where
             applicable.  When a datastore node in the source is
             not present in the target, this can be indicated either
             as a 'delete' or as a 'remove' as there is no difference
             between them for the purposes of the comparison.";
...

I will post this in a -06 shortly.  Please let us know if this addresses your concerns or if there is anything else.

Thanks!

--- Alex


On 9/18/2020 5:57 AM, Reshad Rahman (rrahman) wrote:
Hi Alex,

I think the only “problem” with using both “remove” and “delete” is that it could be confusing (when should one be used and not the other). Adding some text to say they’re the same for the diff operation is good enough for me.

Regards,
Reshad.

From: Alexander L Clemm <ludwig@clemm.org><mailto:ludwig@clemm.org>
Date: Tuesday, September 15, 2020 at 7:31 PM
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com><mailto:rrahman@cisco.com>, "yang-doctors@ietf.org"<mailto:yang-doctors@ietf.org> <yang-doctors@ietf.org><mailto:yang-doctors@ietf.org>
Cc: "last-call@ietf.org"<mailto:last-call@ietf.org> <last-call@ietf.org><mailto:last-call@ietf.org>, "netmod@ietf.org"<mailto:netmod@ietf.org> <netmod@ietf.org><mailto:netmod@ietf.org>, "draft-ietf-netmod-nmda-diff.all@ietf.org"<mailto:draft-ietf-netmod-nmda-diff.all@ietf.org> <draft-ietf-netmod-nmda-diff.all@ietf.org><mailto:draft-ietf-netmod-nmda-diff.all@ietf.org>
Subject: Re: [yang-doctors] [netmod] Yangdoctors last call review of draft-ietf-netmod-nmda-diff-04


Hi Reshad,

re: question 1: As you indicate, there may be no distinction between indicating a "remove" or a "delete" in the patch.  Right now it would be acceptable to return either.  If we want to eliminate this freedom, which one would you prefer be used?  Shall we remove the possibility for "delete" and just cover it using "remove"?

Note that the place where this is specified in the model is as part of a condition that specifies when the source value should be included.   If we want to rule out that diff can return either "remove" or "delete" (indeed they are synonymous), we would need to add text to the container description that when a data object is present in the target of the comparison but not the source, that "remove" should be used to indicate that.

The model would be changed follows.  Please confirm if this looks good to you & we'll incorporate it.

OLD

           container differences {

             description

               "The list of differences, encoded per RFC8072<https://tools.ietf.org/html/rfc8072> with an

                augmentation to include source values where

                applicable.";

             uses ypatch:yang-patch {

               augment "yang-patch/edit" {

                 description

                   "Provide the value of the source of the patch,

                    respectively of the comparison, in addition to

                    the target value, where applicable.";

                 anydata source-value {

                   when "../operation = 'delete'"

                     + "or ../operation = 'merge'"

                     + "or ../operation = 'move'"

                     + "or ../operation = 'replace'"

                     + "or ../operation = 'remove'";

                   description

                     "The anydata 'value' is only used for 'delete',

                      'move', 'merge', 'replace', and 'remove'

                      operations.";

                 }

                 reference "RFC 8072<https://tools.ietf.org/html/rfc8072>: YANG Patch Media Type";

               }

             }

           }




NEW:

           container differences {

             description

               "The list of differences, encoded per RFC8072<https://tools.ietf.org/html/rfc8072> with an

                augmentation to include source values where

                applicable.  Where a difference include a data object

                in the target that is not present in the source,

                this shall be indicated as a 'remove' operation

                in the patch, not as a 'delete' operation.";

             uses ypatch:yang-patch {

               augment "yang-patch/edit" {

                 description

                   "Provide the value of the source of the patch,

                    respectively of the comparison, in addition to

                    the target value, where applicable.";

                 anydata source-value {

                   when "../operation = 'merge'"

                     + "or ../operation = 'move'"

                     + "or ../operation = 'replace'"

                     + "or ../operation = 'remove'";

                   description

                     "The anydata 'value' is only used for 'merge',

                      'move','replace', and 'remove' operations.";

                 }

                 reference "RFC 8072<https://tools.ietf.org/html/rfc8072>: YANG Patch Media Type";

               }

             }

           }

Thanks
--- Alex

On 9/15/2020 4:04 PM, Reshad Rahman (rrahman) wrote:

Hi Alex,



I will review the latest version.



See below for questions/responses.



On 2020-09-15, 5:19 PM, "yang-doctors on behalf of Alexander L Clemm" <yang-doctors-bounces@ietf.org on behalf of ludwig@clemm.org><mailto:yang-doctors-bounces@ietf.orgonbehalfofludwig@clemm.org> wrote:



    Hello Reshad, hello YANG Doctors,



    thank you for your review!  Please find my replies inline, <ALEX>.  We

    have also just posted -05 (thanks, Yingzhen, for doublechecking my

    updates).



    --- Alex on behalf of coauthors



    On 9/7/2020 7:06 AM, Reshad Rahman (rrahman) wrote:

    > <Here's the same message with hopefully more readable formatting>

    >

    > Review of rev -04 by Reshad Rahman

    >

    > The document is clear and well-written. While some issues have been identified, they can be resolved quickly.

    >

<snip>



    > Questions

    >    1.      YANG model: does the operation “delete” make sense for a diff operation? If it is kept, it’d be good to have some text explaining that for a diff operation, “delete” and “replace” are the same? If they’re not the same, please also add some text….

<RR> I actually meant "delete" and "remove".

    <ALEX> Here we are simply referring to the basic YANG-patch edit

    operations per https://tools.ietf.org/html/rfc8072#page-11.  Those are

    in turn derived from <edit-config> operations per

    https://tools.ietf.org/html/rfc6241#page-37.  I am not sure we need add

    to explain those, as we are directly referring to YANG-patch.



    </ALEX>

<RR> The operations are indeed well defined in RFC8072 (copied below), but they are defined from the perspective of YANG-Patch. So for YANG-Patch "delete" and "remove" are different operations, but from a diff comparison I believe they are the same (the resource must exist since it's being returned in a diff)



   +-----------+-----------------------------------------------------------------+

   | delete    | delete a data resource if it already exists; if it    |

   |                | does not exist, return an error                               |

   |                |                                                                                      |

   | remove | remove a data resource if it already exists           |

   +-----------+-----------------------------------------------------------------+



    >    3.      YANG model P9, for the “uses path:yang-patch”, why not have a  reference to RFC8072 (is it because the description above mentions RFC8072)?

    <ALEX> We are clearly referencing RFC 8072; are you suggesting to put a

    reference substatement below the uses statement?   It looks a little

    strange to me but sure, we will add it.

<RR> Not needed.



    >    4.      Section 7 mentions rate limiting requests per client. Should there be a “global” rate-limiting too, i.e not client-specific?



    <ALEX> I am not sure this is really needed as I think the number of

    management clients will in general be fairly limited to begin with, but

    we can certainly add it.  How about the following text:



    OLD:



    One possibility for an implementation to mitigate against such a

    possibility is to limit the number of requests that is served to a

    client in any one time interval, rejecting requests made at a higher

    frequency than the implementation can reasonably sustain.



    NEW:



    One possibility for an implementation to mitigate against such a

    possibility is to limit the number of requests that is served to a

    client, or to any number of clients, in any one time interval, rejecting

    requests made at a higher frequency than the implementation can

    reasonably sustain.

<RR> Good with me.



    </ALEX>



    >    5.      Wondering if section 8 should be in an Appendix (or even removed)? Also, the method suggested doesn’t seem to guarantee that the difference persisted for the “dampening” time.



    <ALEX> Personally, I do think it makes sense to include a brief

    discussion of possible further extensions.  I suggest to keep the

    section if it's okay with you, or perhaps leave it to the chair whether

    they have a preference to remove it.



    </ALEX>

<RR>Whatever the WG/chairs decide is fine with me.



Regards,

Reshad.