Re: [Netconf] I-D Action: draft-ietf-netconf-rfc7895bis-05.txt

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Mon, 05 March 2018 16:17 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08414120721 for <netconf@ietfa.amsl.com>; Mon, 5 Mar 2018 08:17:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 sLqXjvTmL4Zz for <netconf@ietfa.amsl.com>; Mon, 5 Mar 2018 08:17:50 -0800 (PST)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A429912762F for <netconf@ietf.org>; Mon, 5 Mar 2018 08:17:49 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 6866BCE1; Mon, 5 Mar 2018 17:17:48 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.217]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id gHx1zRrXA8z2; Mon, 5 Mar 2018 17:17:47 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Mon, 5 Mar 2018 17:17:48 +0100 (CET)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 4164B20160; Mon, 5 Mar 2018 17:17:48 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 2UiYWyBGvfKz; Mon, 5 Mar 2018 17:17:47 +0100 (CET)
Received: from elstar.local (unknown [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id BFC4C2015B; Mon, 5 Mar 2018 17:17:47 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 06FB84262CDB; Mon, 5 Mar 2018 17:17:45 +0100 (CET)
Date: Mon, 05 Mar 2018 17:17:45 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@nic.cz>
Cc: Robert Wilton <rwilton@cisco.com>, Martin Bjorklund <mbj@tail-f.com>, netconf@ietf.org
Message-ID: <20180305161745.jvv2q3bswsf2t5ju@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Ladislav Lhotka <lhotka@nic.cz>, Robert Wilton <rwilton@cisco.com>, Martin Bjorklund <mbj@tail-f.com>, netconf@ietf.org
References: <151974422911.28529.17468772806691724854@ietfa.amsl.com> <20180227.161434.1039409215522320595.mbj@tail-f.com> <87woyqmwdp.fsf@nic.cz> <d18163c2-be3f-3807-aa47-fdc9a1d17b40@cisco.com> <1520265051.7198.56.camel@nic.cz> <20180305160104.2fn7v2cdrdl6f54f@elstar.local> <1520266329.7198.60.camel@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <1520266329.7198.60.camel@nic.cz>
User-Agent: NeoMutt/20171215
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/kR4InfNKHlJrcUnHUzC-ozGWzAo>
Subject: Re: [Netconf] I-D Action: draft-ietf-netconf-rfc7895bis-05.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Mar 2018 16:17:52 -0000

On Mon, Mar 05, 2018 at 05:12:09PM +0100, Ladislav Lhotka wrote:
> On Mon, 2018-03-05 at 17:01 +0100, Juergen Schoenwaelder wrote:
> > On Mon, Mar 05, 2018 at 04:50:51PM +0100, Ladislav Lhotka wrote:
> > > > 
> > > > Note, that the deviation leaf-list is a leafref back to the module 
> > > > list.  Hence, for the YANG instance data to be valid, any entries in the 
> > > > deviation list must be included in the modules list.
> > > 
> > > Hmm, even this is actually not true - the type should have
> > > 
> > >   require-instance true;
> > > 
> > > right?
> > 
> > Yes, I think this should be there.
> >  
> > > If "module" and "deviation" are required to match, the document
> > > should say so.
> > 
> > Note that section 3 says:
> > 
> >    o  deviation list: The name of each YANG module with deviation
> >       statements affecting a given YANG module, in a given datastore
> >       schema, MUST be identified.
> > 
> > I know, this is in the objectives section and not in the YANG
> > definitions, perhaps we need to make this clear there as well.
> > Perhaps just change
> > 
> > OLD
> > 
> >      "List of YANG deviation modules used by this server to modify
> > 
> > NEW
> > 
> >      "List of all YANG deviation modules used by this server to modify
> 
> But still it doesn't say how the deviation list is determined from YLbis data. A
> server/client implementor may IMO choose any of the three options that I listed.
>

A server has to list _all_ deviation modules and I thought this takes
care of things. The reason for having this list is that a client
interested in say ietf-interfaces can directly find the modules that
contain deviations affecting ietf-interfaces. Hence a client has to
trust this list to be complete, i.e., the server has to report _all_
deviation modules. If you still feel something is missing, perhaps it
helps if you propose concrete text.

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