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

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Mon, 07 September 2020 14:06 UTC

Return-Path: <rrahman@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65A303A0D57; Mon, 7 Sep 2020 07:06:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level:
X-Spam-Status: No, score=-9.598 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=Kr2jgB/4; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=eikP1mVz
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 4-9Yay89Zi0P; Mon, 7 Sep 2020 07:06:26 -0700 (PDT)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 66D383A0D56; Mon, 7 Sep 2020 07:06:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7254; q=dns/txt; s=iport; t=1599487586; x=1600697186; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=ehfQE8lkpE1HQTyKETmhcGiI84aVvs0UJAHq3z+pctw=; b=Kr2jgB/4Uo1Dbv38J7M8HPovOGm1N0IEcDZ/bEwiKsQ+Q69VdGS6h3w9 ok4CBPy1yib3O9grL1UIkZNbHkDznatHTpa62+E7IEivChJJ6OHAU9xar fg1a1jFaH/EA560Agas6ncMqKY5b3SCVcygFvU+zDoqrz9hg7FUaO6rch M=;
IronPort-PHdr: 9a23:kgSK1xdDdviTNYSfyTG35J3ulGMj4e+mNxMJ6pchl7NFe7ii+JKnJkHE+PFxlwaQB9fa5u5Kze3MvPOoVW8B5MOHt3YPONxJWgQegMob1wonHIaeCEL9IfKrCk5yHMlLWFJ/uX3uN09TFZX/akHc5Hqo4m1aFhD2LwEgIOPzF8bbhNi20Obn/ZrVbk1IiTOxbKk0Ig+xqFDat9Idhs1pLaNixw==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CCHwAvPlZf/4kNJK1fHQEBPAEFBQECAQkBFYFPAoFQKSgHcFkvLIQ4g0YDjUmZF4FCgREDVQsBAQEMAQEYCwoCBAEBhEsCF4IjAiQ3Bg4CAwEBCwEBBQEBAQIBBgRthVwBC4VzAgEDAQEQEREMAQEsCwEPAgEIGgImAgICJQsVEAIEDgUigwQBgksDLgEOpxgCgTmIYXaBMoMBAQEFhQsYghADBoEOKgGCcINohlEbgUE/gTgMEIIYNT6CXAEBgUUhECOCXTOCCyKTG6NTCoJllTKFAAMVCYMJiW+TXpJRn1cCBAIEBQIOAQEFgWokgVdwFTsqAYI+UBcCDY5WbgEJgkKFFIVCdDcCBgEJAQEDCXyPCgEB
X-IronPort-AV: E=Sophos;i="5.76,402,1592870400"; d="scan'208";a="537702461"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 07 Sep 2020 14:06:06 +0000
Received: from XCH-ALN-003.cisco.com (xch-aln-003.cisco.com [173.36.7.13]) by alln-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id 087E660e031384 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 7 Sep 2020 14:06:06 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-ALN-003.cisco.com (173.36.7.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 7 Sep 2020 09:06:06 -0500
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 7 Sep 2020 09:06:05 -0500
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 7 Sep 2020 09:06:05 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cYdpzSX062h/9x0HdbyYm4JwkbsIEHOtkLi81g/ZRQfsA5S0yufEvpT9nX8+xHdNX2zgOYKpAUdqcZK5SfLlrXlKwWLrNF2Cbs1FoaJVoK/uIlwvAqGCl5e3b5BGdEn3dL0jamgbArGDA55tUU18BKKzr0ko01cBoPZzqaTnCs4O1RTbKEuxKnCY4ODU59u2n1RTv9f9SasyM0evyqJTxomvuokSyVn0ufD7s+hTBA7aFNFbDrkV5jqcATMSl0TcRsernNWNrfeeMWK+8Oav3Ow5ZFHkuDUCkx3UATrR3A/31eLeuIFtFWzOiM80xyTUjGPFbo2UyFD+ueEbao7wKQ==
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=ehfQE8lkpE1HQTyKETmhcGiI84aVvs0UJAHq3z+pctw=; b=e685gDxSKmsuYvtr1aYvOQQPMb7l++f2SaBna6+c+W6Jm0wQnMAqT5LMKyTF1rCL6NJ008CPF57RqP4QdUOUR6ncESxxhHBMCyPOO97w8sl7ahhKCLo2spsQkEyf/plZiYGUj34UPyMVfJw5Q4qoVKBN3DNho/9vZ7bXsYlXUfxAz2VzM74x5Pt5OzhFSOKTeFh3dg91HmbciH0qGIvsCuaVhXKRbfhZZN5Lkx3xF3ZypDUCRW0/LdklyhbM4ssI1+3rgV9ee/ll+564FZKBHZpbz5dlJf3VcjqFXQkl+RkI7zbwMtWN+/rGjJZ2nXQO24ryh9O9L9Mlut6AM9DSBw==
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=ehfQE8lkpE1HQTyKETmhcGiI84aVvs0UJAHq3z+pctw=; b=eikP1mVz6I4/6RDo+Vp4k83Rb3pVF8zPArYWweUPkKjp7z7ZRE8MZMOqbmqF0cfxBOkPunyq93Zhnlj8SvmLmSYlleygPUbJgXBWF3W04zj0knf7T1gNN+R5XEGXhywklHY5HuqxNmlwUUkGmULHb/26jb9pbI4Gn7l8+8fXvtw=
Received: from BN6PR11MB3875.namprd11.prod.outlook.com (2603:10b6:405:80::37) by BN6PR11MB0003.namprd11.prod.outlook.com (2603:10b6:405:61::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19; Mon, 7 Sep 2020 14:06:04 +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; Mon, 7 Sep 2020 14:06:04 +0000
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: "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] Yangdoctors last call review of draft-ietf-netmod-nmda-diff-04
Thread-Index: AQHWhI44umN2Ia12NU2tKLTOsjRbDKlc89oA
Date: Mon, 07 Sep 2020 14:06:04 +0000
Message-ID: <EF21460A-8689-491C-AE19-942C6FA84FFC@cisco.com>
References: <159942490640.25028.10946254095755778899@ietfa.amsl.com>
In-Reply-To: <159942490640.25028.10946254095755778899@ietfa.amsl.com>
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: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [2607:fea8:bee0:ea6:1c3d:b78a:4084:d0fe]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a570b242-59d8-4fe2-26da-08d853372907
x-ms-traffictypediagnostic: BN6PR11MB0003:
x-microsoft-antispam-prvs: <BN6PR11MB0003C71683E352BF723464BCAB280@BN6PR11MB0003.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: g1ETxC94uJRHerFACmr5+vJsshyZzz6nFmu0/cREQJF2IOwcyplN9U2yHQe9qpd3wunUtdqJTRJDPkQPlqkFzrYa9V2EpRA8yojnFoMHDFn6rfaDT4RQWRbiZfLGyJ114mrBMQMGvGYHV4Ow4t9j+/bgBuw3Wd1AP8crij1LK9/jBShQ7P/PW+ZFDoAAuSRhrqF2lnj4qfgWD2Rw/vCrGtW4U/2I5plNnhCyJIIP3TmWQ4leTheM2KT0pEwwJ1XY1lngpbpoD6JBB1nh7nLx1FNi+vlMiPAi0Ezts5Z8tIsT1cZR2PnvDQFlcOR8tJa59uP63V9zpaEA7UPR2fK/2qEbPi6Fq8ToueU4uDxu4KfugiziwatfjnQnJH46Q0/s4B7A/dejxAFhUGB1l28HBA==
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:(39860400002)(136003)(376002)(366004)(346002)(396003)(6486002)(8936002)(83380400001)(478600001)(86362001)(2906002)(91956017)(66574015)(186003)(4326008)(33656002)(54906003)(450100002)(6916009)(8676002)(316002)(966005)(6512007)(71200400001)(64756008)(6506007)(76116006)(66476007)(66556008)(66446008)(66946007)(36756003)(5660300002)(2616005); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: Ma2vprpM/tdFOGslzrLdH07++UAOC1+dKW/Vz2rrSVqlEv9ym5ayO1cCHp7QPkvWyiD4jBPVr+qNZPF8l7+0lSRekPbN3x8RwzvvIAuXNrMW0anHWxMj3xzaAja67jw/6eLi+PLOXQyyWg3wiMcjv+JMWIUeOabIjobzISOnjoKhDuo+Q1uXohDpmdlro0izjJlsm1nDSsGwF/SHSQ83/vRkNh5CUH2YwipOEjyiw0T/olwsdA6QlDrIBbUuDtHi0kYPRjz6r9Ik5O7YvFE26f8lyha3boS2vg5oc4WBzHj+7+Bymyifc86RxsAtKDTwVih/ktK2mZc8QNtqjVBFQbf6Pe2edl8dAfYWjSDyjBj3fhScVBs5KUDm3b1aezcXc4I5tq238gQzomlQumo1EAbaEzAOeCjhuubzNhOLqoP0R3tBjh1MKfb4zhK5YMS//+xDKxj7qngTfFW5vEjjuNEq05mox6zt7yRoMhHGSyUmo+gSmRRN791wIWTz606Zw2SHEJXb87VTjZNu3UNDHY7fB68G4CaYLtEcj2kudYvYIjbpJ5k01o+0FRsPW/e51RXB7uFdbR0s6QDVS01gAIfa3pbP48irKWCx5Ocrk7CO6e4bchn0Gtnca64iSowO1YfBD+g3ZmKNipRUJ+yOkDL4JPnQJYUsJhTTi7yqKIkDxuvYif/FygXILQCCTw0PJJLHpk80gSJNlyrdnDNqOg==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <066DBE481937354F87133BD381EE0F93@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
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: a570b242-59d8-4fe2-26da-08d853372907
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Sep 2020 14:06:04.7897 (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: N6uydhOPOXpTy6YY2Ful/wtBlsOo7/ArnJ6U50i1BuNmxUr7VL39b81auGMHgCZzaaK8rY8h5eXWk/aUMM2VSw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB0003
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.13, xch-aln-003.cisco.com
X-Outbound-Node: alln-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/7vzFF9YUl-JZuzrqNKiGBf4ri5M>
Subject: Re: [netmod] [yang-doctors] Yangdoctors last call review of draft-ietf-netmod-nmda-diff-04
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2020 14:06:29 -0000

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

Issues
	1.	YANG model P8, for “leaf xpath-filter”, add reference to RFC6021. There should also be a normative reference to RFC6021 (as per RFC8407)
	2.	Example P10, </interfa should be </interfaces>
	3.	Example P10, last paragraph talks about preference and explicit-router-id. This seems to be leftover from when the example was based on OSPF model.
	4.	Example P12 and P13. The RPC operation has “operational” as source (enabled is true)  and “intended” as target (enabled is false). The differences shown (in RPC output) have “value true” and “source-value false”. But I thought value came from target datastore and source-value from source datastore, so the values are reversed, i.e.. it should be “value false” and “source-value true” instead? Looking at the origin in the output I am wondering if the intent is to have “intended” as source and ”operational” as target. Or am I misunderstanding this?

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….
	2.	YANG model: prefix “cp” doesn’t seem to be a great choice since cp is associated with copying. I realize that there is some preference for 2-letter prefixes, but to me “cp” is not a great choice. What about “cmp”? WG/chairs should have a word to say about this.
	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)?
	4.	Section 7 mentions rate limiting requests per client. Should there be a “global” rate-limiting too, i.e not client-specific?
	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.

Nits:
	1.	P11 replace <operational<  with <operational>

On 2020-09-06, 4:42 PM, "yang-doctors on behalf of Reshad Rahman via Datatracker" <yang-doctors-bounces@ietf.org on behalf of noreply@ietf.org> wrote:

    Reviewer: Reshad Rahman
    Review result: Ready with Issues

    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.

    Issues
            1.      YANG model P8, for “leaf xpath-filter”, add reference to
            RFC6021. There should also be a normative reference to RFC6021 (as per
            RFC8407) 2.      Example P10, </interfa should be </interfaces> 3.     
            Example P10, last paragraph talks about preference and
            explicit-router-id. This seems to be leftover from when the example was
            based on OSPF model. 4.      Example P12 and P13. The RPC operation has
            “operational” as source (enabled is true)  and “intended” as target
            (enabled is false). The differences shown (in RPC output) have “value
            true” and “source-value false”. But I thought value came from target
            datastore and source-value from source datastore, so the values are
            reversed, i.e.. it should be “value false” and “source-value true”
            instead? Looking at the origin in the output I am wondering if the
            intent is to have “intended” as source and ”operational” as target. Or
            am I misunderstanding this?

    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…. 2.      YANG model:
            prefix “cp” doesn’t seem to be a great choice since cp is associated
            with copying. I realize that there is some preference for 2-letter
            prefixes, but to me “cp” is not a great choice. What about “cmp”?
            WG/chairs should have a word to say about this. 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)? 4.      Section
            7 mentions rate limiting requests per client. Should there be a
            “global” rate-limiting too, i.e not client-specific? 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.

    Nits:
            1.      P11 replace <operational<  with <operational>



    _______________________________________________
    yang-doctors mailing list
    yang-doctors@ietf.org
    https://www.ietf.org/mailman/listinfo/yang-doctors