Re: [Netconf] [Technical Errata Reported] RFC8040 (5565)

Ladislav Lhotka <lhotka@nic.cz> Mon, 03 December 2018 10:41 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 AA329124BE5 for <netconf@ietfa.amsl.com>; Mon, 3 Dec 2018 02:41:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 l8oH46fbRQjo for <netconf@ietfa.amsl.com>; Mon, 3 Dec 2018 02:41:30 -0800 (PST)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id E4952130E4D for <netconf@ietf.org>; Mon, 3 Dec 2018 02:41:28 -0800 (PST)
Received: by trail.lhotka.name (Postfix, from userid 109) id 9C7D01821356; Mon, 3 Dec 2018 11:49:56 +0100 (CET)
Received: from localhost (unknown [195.113.220.122]) by trail.lhotka.name (Postfix) with ESMTPSA id EE81E1820056; Mon, 3 Dec 2018 11:49:48 +0100 (CET)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Martin Bjorklund <mbj@tail-f.com>
Cc: ibagdona@gmail.com, rfc-editor@rfc-editor.org, warren@kumari.net, netconf@ietf.org
In-Reply-To: <20181203101400.ua4s7jlhaxoeyp3o@anna.jacobs.jacobs-university.de>
References: <20181203055737.B72D1B8122E@rfc-editor.org> <20181203.095409.224403340529984673.mbj@tail-f.com> <B8F9A780D330094D99AF023C5877DABA9B177661@nkgeml513-mbs.china.huawei.com> <20181203.104808.838283353261944785.mbj@tail-f.com> <20181203101400.ua4s7jlhaxoeyp3o@anna.jacobs.jacobs-university.de>
Date: Mon, 03 Dec 2018 11:41:19 +0100
Message-ID: <87wooq3nao.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/28toY6sfnf6tKrxlrLv2LTT1MXU>
Subject: Re: [Netconf] [Technical Errata Reported] RFC8040 (5565)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
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, 03 Dec 2018 10:41:33 -0000

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> writes:

> On Mon, Dec 03, 2018 at 10:48:08AM +0100, Martin Bjorklund wrote:
>> 
>> So, maybe the proper fix is
>> 
>>                | data-missing            | 404, 409           |
>>
>
> And then you hope that different implementors will come to the same
> conclusions when to return 404 or 409. I have some doubts that this
> will work well...

data-missing is a misleading error tag, if it is used for validity
problem.

>
> Are there implementations that return 404 for data-missing today?

Yes, JetConf returns 404 if the client attempts to delete a non-existent
resource.

An edit leading to invalid data doesn't apply to JetConf because
validation is only performed at commit, i.e. not after every edit.

Lada

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

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