Re: [netmod] [Netconf] What should a server response be? - depending on NP-containers

Andy Bierman <andy@yumaworks.com> Sat, 20 August 2016 16:44 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 F071012D0BB for <netmod@ietfa.amsl.com>; Sat, 20 Aug 2016 09:44:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level:
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, 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 haFcgKfxL3We for <netmod@ietfa.amsl.com>; Sat, 20 Aug 2016 09:44:13 -0700 (PDT)
Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com [IPv6:2607:f8b0:400c:c08::229]) (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 72B8412B020 for <netmod@ietf.org>; Sat, 20 Aug 2016 09:44:13 -0700 (PDT)
Received: by mail-ua0-x229.google.com with SMTP id k90so127559406uak.1 for <netmod@ietf.org>; Sat, 20 Aug 2016 09:44:13 -0700 (PDT)
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=LbYZeo8C4TG6JXjECeCvbSgv4Jq3UEwSsGlBU81UrgA=; b=M9Fq0zDJH2sdTBrFkotTy3rIqv3r5lIzTD79PEbRQlS1ZLPFqSQJQct7vSBDnJTiUF yAJ3tvaRdhpC7K2Cgn3Byv3uhcmQpTFvB+P7ujda+DLdhREt1b51W6ML7cCHSQ069j7e 4t0rwH/CM3BcdyizupLyWn7GD62oD5W62pFbCOSmWlCJCWVSq2USu9OplJqQ4fu75XNK u0VO4WqPwjZ82FiGg/tacxStUbt40SC8Mn9268q/dS5UVW1joRiypOg96/Hr7XFow9Kj KxydvlVSt/XuZxuh9Tk7OqLD6hr/DDSFJugj/dS4QEDBfWMUI1FHf2oeFQ74v6NLPY2B yO/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=LbYZeo8C4TG6JXjECeCvbSgv4Jq3UEwSsGlBU81UrgA=; b=QMHbEh9qmG3D8Hbur/6lho5GgB+YbiFeVQzkrbEr7oAm+adphrEnPb1rDFoxSAWAPC QkwlR9/gbydTw4Ro9KnK08HqrUMWZ3j27p9M9y9tKkhI704T9RsqGikZCNjuDME7tmTD fH7rfpfPxk8Z8yw9tE6TeQcJ2FBidmsQn/rd6S7dZa/aUcco7kgAD8qF7xSI5rvidRkP lzaAFBgZ711dci1fhIv+Dwp6h1Zfk5gIgt7lPLwgf0B0tHEU4Zk9hBiT9aLmsxnJdvbf VLAf296O2qc4II1mNTwGUdQTQRSrdZ8kFrpDzvwgArMqmJl4Cu12nZUFkJdeHwcuPFe3 /QFw==
X-Gm-Message-State: AEkoouuuBLp+91x6lcFZW6CqqqTOKkfmucLXn9nsZwsRgR2YymhYtQQl2cXToD2Zt1yVdQFb+QZwmMaBny1AVA==
X-Received: by 10.176.80.47 with SMTP id b44mr7061208uaa.135.1471711452460; Sat, 20 Aug 2016 09:44:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.4.134 with HTTP; Sat, 20 Aug 2016 09:44:11 -0700 (PDT)
In-Reply-To: <20160820082922.GB9108@elstar.local>
References: <m2mvkj4tvv.fsf@nic.cz> <57AC713E.8080006@transpacket.com> <20160817.102821.2247775938129211118.mbj@tail-f.com> <20160817.111343.387561472405973484.mbj@tail-f.com> <08053DE7-EF6C-4A14-B926-79723F516405@gmail.com> <20160820082922.GB9108@elstar.local>
From: Andy Bierman <andy@yumaworks.com>
Date: Sat, 20 Aug 2016 09:44:11 -0700
Message-ID: <CABCOCHT8on3VpuwDdSG+qAznTiQQaKBGjEpuyEckdFGKTOJQQg@mail.gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Mahesh Jethanandani <mjethanandani@gmail.com>, netmod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c18f30a560f1a053a8386a3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/aTQTd49AaAi10ERIe2wl0p-ZISg>
Subject: Re: [netmod] [Netconf] What should a server response be? - depending on NP-containers
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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: Sat, 20 Aug 2016 16:44:25 -0000

Hi,

This text in sec 7.5.8, para 2 is wrong:

   If a container does not have a "presence" statement and the last
   child node is deleted, the NETCONF server MAY delete the container.



This text in 6.4.1 is correct, which implies deleting an N container occurs
when its non-NP container
ancestor is deleted.


   If a node that exists in the accessible tree has a non-presence
   container as a child, then the non-presence container also exists in
   the tree.


This text in 7.5.7 covers the intended external behavior on an NP-container
better than the text in 7.5.8:

   If a non-presence container does not have any child nodes, the
   container may or may not be present in the XML encoding.


(BTW, why isn't this text using RFC 2119 terms like sec. 7.5.8?)


I propose that the cited text in sec. 7.5.8 be removed as a clarification.
It is a redundant (incorrect) restatement of the cited text in 7.5.7.


Andy



On Sat, Aug 20, 2016 at 1:29 AM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> Here is what I wrote on Thu, 16 Jun 2016 14:49:00 +0200:
>
> : It is possible that people will find more bugs while this I-D sits in
> : the RFC editor queue. My idea is to treat them pretty much in the way
> : we treat errata of published RFCs (they need to be clearly written up,
> : discussed on the list, there needs to be agreement on the bug and the
> : proposed fix). If we get pre-publication errata with consensus, I hope
> : we can address them during the editing/auth48 stage so we do not have
> : to post an RFC with already known defects. Does this make sense to
> : you?
>
> As document shepherd, I believe there is no strong agreement on the
> problem and there is no concrete proposal with strong consensus for a
> modification of the document (which is in AUTH48). In fact, there has
> been no defect description and proposed bug fix at all on the NETMOD
> mailing list.
>
> /js
>
> On Fri, Aug 19, 2016 at 07:04:10PM -0700, Mahesh Jethanandani wrote:
> > Moving the thread from netconf to netmod.
> >
> > Will the authors pull 6020bis back into the WG to reach the rough
> consensus?
> >
> > > On Aug 17, 2016, at 2:13 AM, Martin Bjorklund <mbj@tail-f.com> wrote:
> > >
> > > Hi,
> > >
> > > I have read this long ML thread twice now, and I agree with Andy that:
> > >
> > > 1)  We should not / cannot make design changes in an errata or late in
> > >    AUTH48; in order to do this we need to pull the document back to
> > >    the WG and reach (rough) consensus on the behavior (note btw that
> > >    this thread is currently in NETCONF, it really should be NETMOD).
> > >
> > > 2)  Since servers MAY delete NP-containers in some cases, clients can
> > >    easily handle NP-containers by using "merge" on them.
> > >
> > >
> > > I also agree with Jason that ideally the server should never fail on
> > > any kind of operation on an NP-container, regardless of current state
> > > and requested operation.  (But again, this is not a simple
> > > clarification of the current text.)
> > >
> > >
> > > And to answer the original question, I think the server that first got
> > > a request to create the empty NP-containers and then a request w/
> > > operation "none" is not correct when it fails with a "data-missing"
> > > error.  There is no text in 6241 or 6020 that supports this behavior.
> > >
> > >
> > > /martin
> > >
> > > _______________________________________________
> > > Netconf mailing list
> > > Netconf@ietf.org
> > > https://www.ietf.org/mailman/listinfo/netconf
> >
> > Mahesh Jethanandani
> > mjethanandani@gmail.com
> >
> >
> >
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
>
> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>