Re: [yang-doctors] List key model definition order and results w/ pyang/yanglint

Benoit Claise <bclaise@cisco.com> Fri, 16 February 2018 15:42 UTC

Return-Path: <bclaise@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 6841012D88E for <yang-doctors@ietfa.amsl.com>; Fri, 16 Feb 2018 07:42:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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 vpGyVgIZN7Gq for <yang-doctors@ietfa.amsl.com>; Fri, 16 Feb 2018 07:42:57 -0800 (PST)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EFC43126579 for <yang-doctors@ietf.org>; Fri, 16 Feb 2018 07:42:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1990; q=dns/txt; s=iport; t=1518795777; x=1520005377; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to; bh=01VdtspVC7lU+g75TfnxDYSEjPT41HcCMq/tu1Y9g58=; b=nD/Ift3C+qUnv6Pt7XOmGsqKZLeEeusKQhA8bblLWKHyYM0yzvUISlU0 4InDWTSiXA5He2uZEBZfdp13Aw4FvGaFwMr4i1ZERYMJQBXozFLTBupq9 TY8uQSbR3hSyzEnTXgdQA6uDfYAs4WDH/jS3N/dtPpOQfVsxFRODLq8PA c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CoAQCK+4Za/xbLJq1cGQEBAQEBAQEBAQEBAQcBAQEBAYUlg3yLGY5qJ4EXkG2HcgqFOwKDHhQBAgEBAQEBAQJrKIUkAQUjVhALBAEJCioCAlcGAQwIAQGKHa1ngicmhFuDe4ITAQEBAQEBAQEBAQEBAQEBAQEBAQEehQeDf4IRDIJ5iDqCRSAFmiyKCQmMLIlegiCGKoNziAuEcosTiBqBPDYigVEzGggbFTqCRIMIgW5Ajl0BAQE
X-IronPort-AV: E=Sophos;i="5.46,519,1511827200"; d="scan'208,217";a="2063387"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Feb 2018 15:42:53 +0000
Received: from [10.61.98.199] (dhcp-10-61-98-199.cisco.com [10.61.98.199]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id w1GFgqI2014939; Fri, 16 Feb 2018 15:42:53 GMT
To: Ebben Aries <exa@juniper.net>, Martin Bjorklund <mbj@tail-f.com>, Andy Bierman <andy@yumaworks.com>
Cc: yang-doctors@ietf.org
References: <20180125031650.jzdswdgpspontven@smtp.juniper.net> <20180125.083058.1067336366755903306.mbj@tail-f.com> <20180130011205.rr4aacdpo4tnovx2@smtp.juniper.net>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <2f9f5c61-8146-9abd-3f92-d535fde7b2ef@cisco.com>
Date: Fri, 16 Feb 2018 16:42:52 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <20180130011205.rr4aacdpo4tnovx2@smtp.juniper.net>
Content-Type: multipart/alternative; boundary="------------0975FC60C3B6C4AEF4778FEB"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/WjUtb5RRbKngU6oFXSIVU95qhj4>
Subject: Re: [yang-doctors] List key model definition order and results w/ pyang/yanglint
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, 16 Feb 2018 15:42:59 -0000

On 1/30/2018 2:12 AM, Ebben Aries wrote:
>>> Personally, from a BCP standpoint, defining list keys first eases
>>> readability and want to solicit others thoughts on this (rather than
>>> nested down in the list or via a grouping reference further down).
>> I agree.
>>
> Should we add text to rfc6087bis to suggest such?  Any reason not to?
If no YANG doctor opposes this, then Andy can you please add it to 
RFC6087bis.

Regards, Benoit.
>