Re: [Netconf] draft-ietf-netconf-rfc6536bis: one week review of a specific change

Ladislav Lhotka <lhotka@nic.cz> Mon, 27 November 2017 11:35 UTC

Return-Path: <lhotka@nic.cz>
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 0325F128891 for <netconf@ietfa.amsl.com>; Mon, 27 Nov 2017 03:35:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7
X-Spam-Level:
X-Spam-Status: No, score=-7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 z-VctvkTannc for <netconf@ietfa.amsl.com>; Mon, 27 Nov 2017 03:35:25 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3926120725 for <netconf@ietf.org>; Mon, 27 Nov 2017 03:35:24 -0800 (PST)
Received: from birdie8 (unknown [IPv6:2001:718:1a02:1::380]) by mail.nic.cz (Postfix) with ESMTPSA id 58E5063644; Mon, 27 Nov 2017 12:35:23 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1511782523; bh=rNXPwGxvtEbetYKOXZRG9dkOBRO18sxh+d0Qj9LQGQg=; h=From:To:Date; b=hkmcBNKlq+yvvTg/1nWBfUbjpMf0nr9eVSQyT1FoqELBfDvVVRv7GffDlMrQOpgfX /D28bZIDeR6DSWqdPTKeLtijkQ5XoAPUBQd6Ap+VXqa1gDVCiViE4NbHkWx2r8oUOx lgsZl+GkjhcMTxUgiOEES6D0dkvEE/9AIFrzaCZ4=
Message-ID: <1511782523.6244.14.camel@nic.cz>
From: Ladislav Lhotka <lhotka@nic.cz>
To: Robert Wilton <rwilton@cisco.com>, Andy Bierman <andy@yumaworks.com>, Randy Presuhn <randy_presuhn@alumni.stanford.edu>
Cc: Netconf <netconf@ietf.org>
Date: Mon, 27 Nov 2017 12:35:23 +0100
In-Reply-To: <ba8d9ba7-011e-d5ae-28cf-9a278bcff93d@cisco.com>
References: <987f0de3-00d3-37f0-c919-4fe4f0f16efc@cisco.com> <3138dace-d750-308f-0169-a26e8abce5d1@cisco.com> <5A05A4A4.3000304@tail-f.com> <CABCOCHT_5zHWf3mdNM+8uUd8sqZMKKiwVtr=O4C4BhNrbygNzw@mail.gmail.com> <4e2ff4c7-70bb-280d-b49d-423e70e7f42d@cisco.com> <CABCOCHSYYFrZxC11v_++adG2uCP7urxR=VOKX-+8zXA-qiBCTA@mail.gmail.com> <60763bcf-47d9-d538-f1b3-6d71e3c80d1d@cisco.com> <CABCOCHTEXwhAq6NzoAGHcC-EE19bXJ0kbqPS0hwJB5_+RtOfyg@mail.gmail.com> <e418e007-fbac-029d-9c77-ed33df3d233b@cisco.com> <c2663103-70c2-0f52-f24f-852462509e27@cisco.com> <e41c2a8f-5ed7-9f3e-6dc1-85182c66adbf@cisco.com> <CABCOCHQrSOgGEAPdz5TdGBCGBSPzgAspGRQkgQDr3=H4Xp9JSQ@mail.gmail.com> <d056fdcd-20a8-5459-24ea-81fcfe53e59b@cisco.com> <015101d36513$bba345e0$4001a8c0@gateway.2wire.net> <CABCOCHTg5x_3=u4fMVtF-Rn1T6+gH2ZLMKeo6z5iekUWNt3RXg@mail.gmail.com> <f9bab64f-aea7-9ae9-5a5a-ee2aa06cb85f@alumni.stanford.edu> <CABCOCHTjyH-gKuXJuanqMXmrhnSy2UYo+4tZ1MwTdgb2ji876g@mail.gmail.com> <87bmjot2rv.fsf@nic.cz> <ba8d9ba7-011e-d5ae-28cf-9a278bcff93d@cisco.com>
Organization: CZ.NIC
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.26.2
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/IWdgNRAIo57vJUyui4sxeZBTFZ4>
Subject: Re: [Netconf] draft-ietf-netconf-rfc6536bis: one week review of a specific change
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, 27 Nov 2017 11:35:27 -0000

On Mon, 2017-11-27 at 10:54 +0000, Robert Wilton wrote:
> Hi Lada,
> 
> 
> On 27/11/2017 10:49, Ladislav Lhotka wrote:
> > I have been criticising this auto-delete feature several times in the
> > past, and other people, too (I think Balazs was one). In my view, a sane
> > server behaviour would be to just report schema violation, rather than
> > delete anything automatically. This not only avoids the present NACM
> > issue but also helps prevent catastrophic mistakes.
> 
> Regarding auto-delete, do you have same opinion for both when and choice 
> statements, or do you seem their ideal behavior as being different?

No, it should IMO be the same: using another case in a choice would mean to
delete the existing case instance first (which may fail if the client has no
right to do so) and then create the new case. It's not a big deal but everything
 are explicit client's actions, no side effects.

Lada 

> 
> Thanks,
> Rob
-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67