Re: [yang-doctors] Yangdoctors last call review of draft-ietf-netconf-rfc7895bis-04

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Fri, 23 February 2018 23:12 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 66E7C127698; Fri, 23 Feb 2018 15:12:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.531
X-Spam-Level:
X-Spam-Status: No, score=-14.531 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, 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
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 1kO28pnIPo8o; Fri, 23 Feb 2018 15:12:17 -0800 (PST)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AE263120725; Fri, 23 Feb 2018 15:12:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8034; q=dns/txt; s=iport; t=1519427533; x=1520637133; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=RTaIs6ulzKNlcSHiL4TMqEAInOGznuQ0l06DAOl1Pv8=; b=JQNMIQCkwP2sPOHiY4L7T/Q5TXSOWf00ZysFFaTtNcdXtBUEAHAVGild P1G33OnSlUfztxxTJ7YP+4IWVib4uxIuYv7owXkju8bwJIExqcyNp8zvz dcLEqQENS1g5PqEgIuYYCuCD5xNFEJ/q2rmU4souVHzPemRfdV38Wkcxn 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AoAQApn5Ba/40NJK1aAxkBAQEBAQEBAQEBAQEHAQEBAQGDT2ZwKAqDSooljXyCAoEWllGCFgofhRQCGoIeVBgBAgEBAQEBAQJrKIUjAQEBAwEjEUUOAgIBBgIOAggCAiYCAgIZFxUQAgQOBYobCI4DnXSCJ4h5giEBAQEBAQEBAQEBAQEBAQEBAQEBAQEYBQWBCoQJgieBV4FlASmDBIU4CiaCUDGCFCAFimuHa4F0j3gJApYOlEWXfgIRGQGBOwEfOSWBLHAVOioBghiCVByCBniKXiyBBoEZAQEB
X-IronPort-AV: E=Sophos;i="5.47,385,1515456000"; d="scan'208";a="141881365"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Feb 2018 23:12:12 +0000
Received: from XCH-ALN-001.cisco.com (xch-aln-001.cisco.com [173.36.7.11]) by alln-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id w1NNCCc9028209 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 23 Feb 2018 23:12:12 GMT
Received: from xch-rcd-005.cisco.com (173.37.102.15) by XCH-ALN-001.cisco.com (173.36.7.11) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 23 Feb 2018 17:12:11 -0600
Received: from xch-rcd-005.cisco.com ([173.37.102.15]) by XCH-RCD-005.cisco.com ([173.37.102.15]) with mapi id 15.00.1320.000; Fri, 23 Feb 2018 17:12:12 -0600
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "draft-ietf-netconf-rfc7895bis.all@ietf.org" <draft-ietf-netconf-rfc7895bis.all@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: Yangdoctors last call review of draft-ietf-netconf-rfc7895bis-04
Thread-Index: AQHTqy+UDA/LY2cjV0GNYhgW86o/xqOysdoA
Date: Fri, 23 Feb 2018 23:12:11 +0000
Message-ID: <23F9EC17-1669-42F2-A617-EFC954983962@cisco.com>
References: <151908304889.29703.12041362091923250865@ietfa.amsl.com> <20180221161807.kibmsqxqfve2ua5e@elstar.local>
In-Reply-To: <20180221161807.kibmsqxqfve2ua5e@elstar.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.a.0.180210
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.86.249.164]
Content-Type: text/plain; charset="utf-8"
Content-ID: <A29D4BC47FD5ED49AC42A99C2DD3F2EF@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/5oO8LeOOOWpixZy4OSvGqiTTYk8>
Subject: Re: [yang-doctors] Yangdoctors last call review of draft-ietf-netconf-rfc7895bis-04
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.22
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, 23 Feb 2018 23:12:32 -0000

Hi,

I agree with your responses (I realize the self-referential question is being discussed with Martin). 

I think it'd be good to have a common type for date so that it doesn't have to be re-defined in multiple places. But this is orthogonal to the discussion on this document.

Regards,
Reshad.

On 2018-02-21, 11:18 AM, "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de> wrote:

    Reshad,
    
    thanks for your review. Comments inline...
    
    On Mon, Feb 19, 2018 at 03:30:48PM -0800, Reshad Rahman wrote:
    > Reviewer: Reshad Rahman
    > Review result: Ready with Nits
    > 
    > YANG Doctor review of draft-ietf-netconf-rfc7895bis-04 by Reshad Rahman.
    > 
    > 1 module in this draft:
    > - ietf-yang-library@2018-01-26.yang
    > 
    > YANG validation on 2018-02-18 reports 2 errors but no warnings. This comes from
    > yanglint 0.14.69 and seems to be a tool issue: err : Module "ietf-yang-library"
    > in another revision already implemented. err : Module "ietf-yang-library"
    > parsing failed.
    
    Yes, I did run into this as well when I tried to use yanglint to
    validate the examples. Its a tool issue which is specific to this
    module (hence perhaps not worth fixing).
    
    > 2 examples are provided in this draft (Appendices B and C).
    > 
    > Module ietf-yang-library@2018-01-26.yang:
    > - typedef revision-identifier. The definition allows invalid dates such as
    > 2018-99-99, has there been any consideration to use a more restrictive
    > definition, e.g. ‘\d{4}-[0-1][0-9]-[0-3][0-9]’ (I realize this still allows
    > incorrect dates)?  Also the revision timestamp is just a date which follows
    > YYYY-MM-DD format, isn’t there an existing common typedef (as there is for
    > date-and-time) which can be reused?
    
    It is always somewhat subjective how restrictive you make a pattern.
    Note that the pattern for the date-and-time typedef in RFC 6991 also
    uses '\d{4}-\d{2}-\d{2}' so I think we are consistent. Yes, there is
    no common 'date' type yet - hence we define things inline.
    
    > - grouping implementation-parameters should be renamed
    > module-implementation-parameters?
    
    This name change may make sense.
    
    > - The groupings defined are used only once. For
    > yang-library-parameters I see why this is done since it can be
    > reused. But for others such as implementation-parameters, I don’t
    > see why a grouping is needed. Maybe this is just authors’ preference
    > to regroup information.
    
    I am not sure which modules would be using these groupings and whether
    it is necessary to provide these groupings. I know that some versions
    of schema mount used some of the groupings but this may not be
    necessary anymore with the new library structure. I assume Martin
    knows more details about which groupings may be useful to provide for
    possible reuse reasons.
    
    > - Description of leaf module in list deviation: by
    > “self-referential” I assume that this means that the reference can
    > not refer to the ietf-yang-library module? While this may seem
    > obvious I believe it’d be good to spell it out.
    
    No, the intention was to say that a module should not list itself as a
    deviation module, neither directly or indirectly. I guess we have to
    describe this better. Perhaps something along these lines:
    
            description
              "A module that deviates the module associated with this
               entry. This reference MUST NOT (directly or indirectly)
               refer to the module being deviated.
    
               Clients, MUST make sure that they handle a situation
               where a module deviates itself (directly or indirectly)
               gracefully.";
    
    > - list module-set. Since this is for schemas, consider renaming it
    > to something along the lines of schema-module-set?
    
    While modules sets are used for schemas, I do not see why a list name
    should be selected to constrain this. Actually, changing the name does
    not do anything other than changing the name. ;-)
    
    > - Use of “non-import module” in a few descriptions. Should this be
    > “non import-only modules”?
    
    Yes, I have changed the sources.
    
    > Nits:
    > - Section 1, 2nd paragraph s/informaton/information/
    
    fixed
    
    > - Section 1, 3rd paragraph, add “” quote around /module-states.
    
    fixed
    
    > - Section 1, 5th paragraph s/Since the YANG library contents
    > changes/Since the YANG library contents change/?
    
    I would leave this to the RFC editor; is 'content' countable here or
    not, should it be plural or singular? 
    
    > - Section 4, 2nd paragraph “…that individual datastore schema
    > share..”. Should that be “… that individual datastore schemas
    > share..”?
    
    I added a plural 's' but again I am happy to let the RFC editor decide
    plural form here.
    
    - Appendix B and C. The examples use YANG models which are still
    > being updated (hence the note to RFC Editor). Why not use a YANG model which is
    > stable, is this because of need to have an NMDA compliant module in the
    > examples?
    
    These models are NMDA versions and they are in the RFC editor queue so
    I think this is (a) a reason for using them and (b) the references
    will be RFCs by the time this document appears.
    
    /js
    
    -- 
    Juergen Schoenwaelder           Jacobs University Bremen gGmbH
    Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
    Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>