Re: [netconf] Added restconf-next for restructuring error messages

Andy Bierman <andy@yumaworks.com> Wed, 01 July 2020 16:41 UTC

Return-Path: <andy@yumaworks.com>
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 C6D8F3A12BA for <netconf@ietfa.amsl.com>; Wed, 1 Jul 2020 09:41:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=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 eRw3zO1Od5rf for <netconf@ietfa.amsl.com>; Wed, 1 Jul 2020 09:41:29 -0700 (PDT)
Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (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 420E93A12B2 for <netconf@ietf.org>; Wed, 1 Jul 2020 09:41:29 -0700 (PDT)
Received: by mail-lf1-x131.google.com with SMTP id y18so14056522lfh.11 for <netconf@ietf.org>; Wed, 01 Jul 2020 09:41:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kGTq+/qaxYYu+rVDIQCV1A+DjR5aBZSfyPtQgLCozqU=; b=097K4c9yLsSlqaTVhkcfOy+2oKbIf+qDEGil3cxOXJ41zMHITSf0HvrgGQuvye9qiS xb2n73xvkZkxkgeuNHqSPJuxy6IrZb9LT5IJeqEY0hrMRxFKlcRie+7vmGHugCDIUyYc bmz10TUausFIl0Da+iVvUkSuQk7NKHgWKSd+eJcsu0OteJWFY5LnX+WmLz8HPCThGUIz zPbSQ5KWmnC9jvWZMsVPBWLbQIi1fJYOL17tsJyMWB5k5sSwesr6UXVePAuuG6hG+JDv j+JqlU0ejW63N/DlXzndVS7KduVKAZbpqRGJU4BZZeJ0JKxVEB0Y/GMpumdie0ziy3BM pn/Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kGTq+/qaxYYu+rVDIQCV1A+DjR5aBZSfyPtQgLCozqU=; b=XdvmMKC0NetXC9oB4QuRaD/2TqR6L9AKYtHozQ9LpA++OEkyA32saK9LZz7wXU48pk DQfoOz/yL0l2khxNEN+G9TFhgh+ztasyTFdDsYDcu5ZMa04OSnMMlE9v2N4UsFMyh2Ge 06kSSjz66//SmlCyJgOkY36P6tk5TktgRjSxJGuVFSBg5jl4Dxg31I8lYlBIwcYA5irr FSPMadVklkRqH3EivuViivl7RRkz/8BWSvhu2Kc5Xo18iHMwZyqOFvVgY/IkBzGrQRL5 +OkrkQwrIxbg2TOIlrPhccJV6BCdJZd2+kOqGFgRLPpol9Z4gNxHs0w57B/Q3VwyEjE/ NPLQ==
X-Gm-Message-State: AOAM533OHxl3Ps5APPNxiRTG9gCQZrt7YFTGbf5FpcSGoTKuFTztwdoF 6U+1HH2/AnyjwaqvtYx3mIlfD2gCI4G2wp1cGKnuDopta/w=
X-Google-Smtp-Source: ABdhPJzJIpFjHWjP1VAtdgJB4FC4lkuaMPhBRuGNWvNLwl4UNk9UfRgidcnt9zwrPsnj/zTUW8qnhI8D4loaUFEdsQ4=
X-Received: by 2002:a19:4247:: with SMTP id p68mr15698314lfa.22.1593621687349; Wed, 01 Jul 2020 09:41:27 -0700 (PDT)
MIME-Version: 1.0
References: <010001730ac58f90-0ce0fc67-2c25-403e-98c4-983d7007ea68-000000@email.amazonses.com>
In-Reply-To: <010001730ac58f90-0ce0fc67-2c25-403e-98c4-983d7007ea68-000000@email.amazonses.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 1 Jul 2020 09:41:16 -0700
Message-ID: <CABCOCHQqWADVDou+tXDOah_wTHR9RBMpwn1QKwbRAQ-EH0BRQg@mail.gmail.com>
To: Kent Watsen <kent+ietf@watsen.net>
Cc: "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000094cd3905a963f6a7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/-rC6FKvaEdhrDX94_JafJx5gOyc>
Subject: Re: [netconf] Added restconf-next for restructuring error messages
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG 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: Wed, 01 Jul 2020 16:41:31 -0000

Hi,

I don't agree that any NBC changes are needed to RESTCONF, including this
one.
I agree servers usually send 1 error, but not always. E.g., the <validate>
operation
returns as many errors as it can find and does not stop on the first error.
It is not a burden to have an "errors" container so the protocol allows for
multiple errors
and is the same data model for XML and JSON.

Andy



On Wed, Jul 1, 2020 at 7:26 AM Kent Watsen <kent+ietf@watsen.net> wrote:

> Folks,
>
> I just added this “restconf-next” issue for restructuring error messages:
>
> https://github.com/netconf-wg/restconf-next/issues/3
>
> K.
>
> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>