Re: [netmod] LL review of draft-ietf-netconf-rfc7895bis-04

Andy Bierman <andy@yumaworks.com> Mon, 12 February 2018 19:39 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 0838712D942 for <netmod@ietfa.amsl.com>; Mon, 12 Feb 2018 11:39:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 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] 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 TJlG4M9ZUyog for <netmod@ietfa.amsl.com>; Mon, 12 Feb 2018 11:39:53 -0800 (PST)
Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (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 CB6EC126C0F for <netmod@ietf.org>; Mon, 12 Feb 2018 11:39:52 -0800 (PST)
Received: by mail-lf0-x236.google.com with SMTP id c188so6075200lfc.11 for <netmod@ietf.org>; Mon, 12 Feb 2018 11:39:52 -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=J6TkTWqWzjobaktVCCx+/5Za2dFIysOamLj7WsY03NM=; b=H5OD8CTfVA5AtueVn3QRfV0W45YGbDBDgWortVlJPUvZSh/6RnUzKB8epPdBY61xGY 0kryv3J0fac9wc+MyC5oSiLw2EEA2pXSHyXsff7gsV+j3ln0rlImjE8NEs7hMxHKtem1 RvpWDdb+5XlRbXWtKuXSavzFQSxfoJl+PuUQ3+mJ7CiX8GyN8KeGdCxUku5R/wT3xQ1W 8sZSHtgAA2Em097QS1p3SkzdiUs1YQpKEBgJ8Vt3v61fAbv1FVI8VWyPM9mpmeKwtzDL Y4P3nCmmETbfS23dtbSNEaslXlo0wArSHpHarBNygrLLFQ7gf7uil3tk/ygu0Ur2DXe0 8R0g==
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=J6TkTWqWzjobaktVCCx+/5Za2dFIysOamLj7WsY03NM=; b=U67yfaKpAOGcfbIcXu8ZkbZDL6UxJc7Lq99a3ye2EjUC3bMzL1XxD0Zy5Yw9m7MIaq onsEzkhkbXja7vCFRnKoxToHnXVdRzA9ZRW7iIyw30JDOMAJzjTr+dkE4otXh9jclYb6 7uwKQKw2amNJ6OdMP4W+l1KDme0eQUoTKJqDXusaruIM8/lIXhNxfVEOY3RDRm7WtnrS MZrNeuH8ta+LWB0tLqk+2K6fMtRKvozJz/Fg6Q89nMMTy/rnGgBKMcuEWhk7D4Po9ot6 wKb733IGDrmpG2bgDF5a0sgDQyqo3dmLDEkA1RBMeAMKBPI6EueyIArQ9rHXELeihCw0 TTlA==
X-Gm-Message-State: APf1xPCHNk97Qqgz7/NzTZLv3kTkYM+reEdxlJtMDrdxdzHlaKGBCVoJ Gm8FlGoVF7Cbgzynr/60gPmZOPz7vpYuZ/XU331lMA==
X-Google-Smtp-Source: AH8x226FF1bfRCzMKiyd5PppUdIET+y0Qii7SvGoaqP78t5a0Vk2Cy+/5bsiprCAUiUdwg/dJKtj5lq2SmpB2fmMrmg=
X-Received: by 10.46.80.27 with SMTP id e27mr3628971ljb.5.1518464390922; Mon, 12 Feb 2018 11:39:50 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.21.210 with HTTP; Mon, 12 Feb 2018 11:39:50 -0800 (PST)
In-Reply-To: <20180212143749.vmjwgtx2lgxxgbcw@elstar.local>
References: <87fu6axobc.fsf@nic.cz> <20180212.130212.2080346646041413993.mbj@tail-f.com> <1518445591.13433.81.camel@nic.cz> <20180212143749.vmjwgtx2lgxxgbcw@elstar.local>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 12 Feb 2018 11:39:50 -0800
Message-ID: <CABCOCHS6kVu7DvHfwEntG9hqasnSMyzZ19z8o-MuXOG=aVwdiA@mail.gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Ladislav Lhotka <lhotka@nic.cz>, Martin Bjorklund <mbj@tail-f.com>, NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="f403045fc0caa01be80565090a81"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/yOh24XPt5qXwDsFjw_5Ta6Kj-D0>
Subject: Re: [netmod] LL review of draft-ietf-netconf-rfc7895bis-04
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: Mon, 12 Feb 2018 19:39:56 -0000

On Mon, Feb 12, 2018 at 6:37 AM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> On Mon, Feb 12, 2018 at 03:26:31PM +0100, Ladislav Lhotka wrote:
>
> > > > **** Sec. 1 - YANG library stability
> > > >
> > > >      The text basically says that the YANG library information can
> > > >      change at any time. This has been recently discussed but I
> > > >      haven't seen any conclusion yet. I understand it is difficult to
> > > >      enumerate all the situations when this information can change,
> > > >      but it should also be emphasized that YL info is not just
> another
> > > >      subtree of state data and that it should not change haphazardly.
> > >
> > > I agree, but I think that YANG library's job is to report what the
> > > server implements.  If the server dynamically changes its set of
> > > loaded modules, then YL should adapt.
> > >
> > > I welcome more discussion on this topic, but I don't think it has to
> > > be documented in this draft.
> >
> > What about this?
> >
> > OLD
> >    The YANG library information can be different on every server and it
> >    can change at runtime or across a server reboot.  If a server
> >    implements multiple network management protocols to access the
> >    server's datastores, then each such protocol may have its own
> >    conceptual instantiation of the YANG library.
> >
> > NEW
> >    The YANG library information represents a management API for a given
> server,
> >    and should therefore be as stable as possible. The circumstances
> under which
> >    this information can change are outside the scope of this document
> but it is
> >    advisable to consider potential impact on clients.
>
> I like the old text because it tells the client clearly that this data
> can change. And the statement has been in RFC 7895 in the exact same
> wording. If you want to add a statement that servers should not change
> the YANG library without reason I could live with that but any attempt
> to write text that makes the server somewhat guilty when a client is
> not prepared to handle a YANG library change is IMHO a fundamental
> change from what RFC 7895 said.
>
>
I strongly oppose changing this text.
Any server that can load or unload modules at run-time can change
the YANG library at run-time.


Andy


> > > >      It is like with database schemas, REST APIs and the like. Of
> > > >      course, these can change as well, but everybody has to
> understand
> > > >      that doing so means transition problems, broken clients etc.
> > > >
> > > >      For this reason, it might be useful to set YL and schema mount
> > > >      data aside and call them metadata or schema information - even
> if
> > > >      we continue modelling them with YANG.
> > >
> > > Do you have some concrete proposal for where to introduce this term?
> >
> > In RESTCONF it could be a separate well-known resource outside all
> datastores.
>
> Putting the data into a different place does not change the impact of
> the data changing. So I do not understand which problem introducing
> yet another datastore solves.
>
> > > > **** Sec. 4 - checksum
> > > >
> > > >      I think it would be very useful (even if not immediately) to
> > > >      standardize the procedure for computing the checksum. What I
> > > >      envision are systems that construct and process YANG schemas
> > > >      (such as the YANG Catalog). They could benefit from having a
> > > >      universal hash string as a characteristic of any particular
> > > >      schema. Just consider how useful the universal hashes are e.g.
> in
> > > >      git.
> > >
> > > Ok.  It would be interesting to see such a scheme.  But I agree it is
> > > not needed immediately for this document.
> >
> > Checksums are mandatory, so every implementation has to invent some
> scheme.
> >
> > Actually, it might be useful to have checksums also on module-sets,
> schemas and
> > datastores so that the client can easily localize the changes and
> retrieve again
> > only necessary data.
>
> With RESTCONF, you can use etags and conditional requests. NETCONF
> lacks a similar generic mechanism to support caching. Instead of
> adding checksum everywhere into our data models, it seems a better
> solution would be to add something like etags to NETCONF. Hence, we
> reduced this to a single checksum which is needed as it is carried in
> the hello message.
>
> /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/>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>