Re: [netmod] [Netconf] LC on YANG Library (bis)

Andy Bierman <andy@yumaworks.com> Thu, 15 February 2018 19:03 UTC

Return-Path: <andy@yumaworks.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 96E7F12D574 for <netmod@ietfa.amsl.com>; Thu, 15 Feb 2018 11:03:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 uFZp8Dvb4ge0 for <netmod@ietfa.amsl.com>; Thu, 15 Feb 2018 11:03:05 -0800 (PST)
Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4F071120227 for <netmod@ietf.org>; Thu, 15 Feb 2018 11:03:05 -0800 (PST)
Received: by mail-lf0-x22d.google.com with SMTP id 37so959001lfs.7 for <netmod@ietf.org>; Thu, 15 Feb 2018 11:03:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=3qHtbzPF7nWn1gpPhhr2/sz+OIAkzj3zSMTMN3/QSJg=; b=CVOIj9zukiw4DZmHqOfB8e8nULBcFFaTb3ztS8xTIaH4r5WGm0RD7vRstyRd8dEz2c mISCIjqg2HLhCKnT/QNon+iXQgcJnIAQ/SBRr2usi8P8zMnZDRW0nnC1xqRkVIcsrd89 dH8JLT1lfX/lg/ko+FLGaJTwvy89xCXzAqWufxVWPuogngJnr9AjqQDev1qlHgYYwwAW UPJNJurRava1EiRd2VmP7fUgkDEY5EX8ibs+nvwsimqVKtR/TvcC3LpXIU5szRF9LTDV 9RJpnhiApDLknCp8MdsONJ/OtDxa5jxJL9bpwssLwxaa8vloHO1k2w1cyXr2vsIwClB/ Q4sA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=3qHtbzPF7nWn1gpPhhr2/sz+OIAkzj3zSMTMN3/QSJg=; b=surWQsXHnBX4IDb0HSc+xXEGJcqLLmSH4Xhwh2CGUnVaIH2S39FdazZygkktlMQii/ zA1tDPwtjLYZyV0qTDh9YzcPg6bK6H4y7QLobGGZ4Mdnwc40gEsdU9UgB1eF5LZCnJGO Hl8bcsai4YDXICMOelld+WD6RRUhBAiJ7YI92HyssHON9T8PqzZ09fWBNaGYNkJsI1qv XeWIxuaXhknUe1WunM2s8zj2lp/9MwI4ONukhUXA+ZT6+63AmrAgkzP7iUJP0Y+xTZd9 +INKeBMNsXnRwMv4hgn4kU2D2rxgWum5TMSHlYNygbmmyXoJbzqdTeEaV/S3i6iNUM9X w3LQ==
X-Gm-Message-State: APf1xPDwBbXqO4pGlraquEZfReQwrS58yTVNwaa9QQIKIbkkpkOZ0LFi I93R/YGwHQ3HQQ4tLe/Tuy6Jf7D3qKBIsFgK0yHpOg==
X-Google-Smtp-Source: AH8x225Y2sU5kNOJDHrlXJIYg94CaCZdUMuHQyLObmIH/Gum7LAxWet+ewBVWH/oNAreQgQ0zSwN/TrMhGK/F2hZOgk=
X-Received: by 10.46.47.13 with SMTP id v13mr2419151ljv.15.1518721383606; Thu, 15 Feb 2018 11:03:03 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.21.210 with HTTP; Thu, 15 Feb 2018 11:03:02 -0800 (PST)
In-Reply-To: <20180215180955.idnyuacivy6h3lrf@elstar.local>
References: <F10CE657-FC6B-491B-A8DF-0CFEE98B863C@gmail.com> <4a6b7077-a721-6d09-b594-44f9760e58a1@cisco.com> <14390982-A1C2-40E5-AEA1-B03B02E8ACEC@juniper.net> <3d3d9e35-b9f5-aefb-a291-a25549ed9ad5@cisco.com> <20180215180955.idnyuacivy6h3lrf@elstar.local>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 15 Feb 2018 11:03:02 -0800
Message-ID: <CABCOCHRsLJc8_sG0hmpY3WaD5hYezebSoM2RtrHOvObC0mXG5w@mail.gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Robert Wilton <rwilton@cisco.com>, Kent Watsen <kwatsen@juniper.net>, Mahesh Jethanandani <mjethanandani@gmail.com>, NETCONF WG <netconf@ietf.org>, NETMOD WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="089e082f330c953f34056544e042"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/iO5Pzr7NmiKFXhtsxfjW7q3X_tk>
Subject: Re: [netmod] [Netconf] LC on YANG Library (bis)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 15 Feb 2018 19:03:07 -0000

On Thu, Feb 15, 2018 at 10:09 AM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> On Thu, Feb 15, 2018 at 05:03:32PM +0000, Robert Wilton wrote:
> >
> > 1) module "feature" in YANG library is a leaf-list, but currently it is a
> > list in YANG libary bis. I suspect that this is due to one of the
> > incarnations when it contained additional information.  I think that we
> > should revert it back to being a leaf list for consistency.
> >
> > 2) Lada recommended that module "deviation" be made a leaf-list. I also
> > support changing this for consistency with "feature" above, but don't
> feel
> > too strongly on this one.
> >
>
> I suggest we either make both leaf-lists or keep both as lists. I am
> fine with making both lead-lists.
>
>

The reason the deviation is a list is because it has a name and revision.
Or it did until it was removed.

I prefer to keep the contents of the "module" list the
same as RFC 7895.  The "improvement" is much worse --
harder to use by clients and provides less information to clients.



> /js
>


Andy


>
> --
> 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/>
>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>