Re: [netconf] [Technical Errata Reported] RFC8341 (6493)

Andy Bierman <andy@yumaworks.com> Fri, 02 April 2021 15:57 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 AA9DF3A1B1B for <netconf@ietfa.amsl.com>; Fri, 2 Apr 2021 08:57:08 -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 e2Z2dohRY7-b for <netconf@ietfa.amsl.com>; Fri, 2 Apr 2021 08:57:04 -0700 (PDT)
Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (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 C645E3A1B18 for <netconf@ietf.org>; Fri, 2 Apr 2021 08:57:03 -0700 (PDT)
Received: by mail-lj1-x236.google.com with SMTP id u4so6027903ljo.6 for <netconf@ietf.org>; Fri, 02 Apr 2021 08:57:03 -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=WHZDRBMajNsItXn6WvqN4VymEag4oHy27Qxiu3r8160=; b=1+X7uUTQgEETFEQZkEYfZEzKyjaD03NWGKm9qlWPh6sdEEw6EWDMk6yE5mRdo9FTUz 9BcoAqdSTXRy6n/cT7kDWt+eZiYgji0fbqdl5AJLsErcfz0KjNeQrlEQo94ox6CEelfp pCCBdrGODcY6VschfvvpvkNEbDmv+cfq3MloZT73HsEuoEFE6ewW5fzmtrUfZqliZ88G KHJh+OG3KFjwj93rvhnGYdkm79LmqUnN2Jc7kZWEF33QyAm8fMNVegF4W5Tq95ygcWwX AwH4sb4XUkGUjcRKpBzZSeWEJG6QDYoi2nDy4fEyQXeGon5uKxul9ATshdkK4ZkXNQcY wx6Q==
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=WHZDRBMajNsItXn6WvqN4VymEag4oHy27Qxiu3r8160=; b=OepLR4+luGrOlds09potZv0753z6JVcAUwNnd1mXPaIJbpKc1zNbHomauLFa8M/z/2 xd8afpiF2tUmO8ONzgEjJOacYuFH1NzgVpj8HBcy8giLHL00pFXttUfpR67mP5Xv9opn zLrZHu/lWmcWQcqof0yjicYD6d8UQMfhnlrL11z+h8M7L95pO/jY8Lk53MgN++SxiEeM YICDKWd7euxq1/YShtKylM1J1LdfKluuUQB5XjlS7ZpracUbaeq9O/rLn4RT2vJF6hx3 xPTVxz9zE9O1Zrp6TaBR1eixwLkdHjwRX7VlBMVEejXpwOZelmKed1iG4iSv3SIxJEOB hNOw==
X-Gm-Message-State: AOAM533TYMHjjlLCATibPbLII/ircozNTgcOMQXOQ35LkHNKY09Y5DcQ +KAoju/Zu6mt7ydjSyPo31HFkN9kH7iCayJAYZKedA==
X-Google-Smtp-Source: ABdhPJwKJNTGX52odMzBVT5SnzsdirW0Ca4edU5oQZiuz29lLfhmdaH3oJrCar0dxVtwmyS/Q/yspzV0iH73/uEDCNk=
X-Received: by 2002:a2e:9157:: with SMTP id q23mr9042112ljg.298.1617379020329; Fri, 02 Apr 2021 08:57:00 -0700 (PDT)
MIME-Version: 1.0
References: <20210324151954.6A2C2F40739@rfc-editor.org> <20210324155608.upn2zjjutgobgtqa@anna.jacobs.jacobs-university.de> <MN2PR11MB4366E67DEA2E17B448DA339CB5629@MN2PR11MB4366.namprd11.prod.outlook.com> <01000178932683b3-f9a114b8-b525-479e-b7f2-ff8300b32d14-000000@email.amazonses.com>
In-Reply-To: <01000178932683b3-f9a114b8-b525-479e-b7f2-ff8300b32d14-000000@email.amazonses.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 02 Apr 2021 08:56:49 -0700
Message-ID: <CABCOCHQxcq1LLrsEPYWPd3sOS1KK9pLj29uGxQcgFOZjXS3HuQ@mail.gmail.com>
To: Kent Watsen <kent+ietf@watsen.net>
Cc: "Rob Wilton (rwilton)" <rwilton@cisco.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, RFC Errata System <rfc-editor@rfc-editor.org>, Balazs Lengyel <balazs.lengyel@ericsson.com>, "mbj@tail-f.com" <mbj@tail-f.com>, "warren@kumari.net" <warren@kumari.net>, Mahesh Jethanandani <mjethanandani@gmail.com>, "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f9693f05beff65cc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/S2_8yd_RQshqaod4aHHkYBibALU>
Subject: Re: [netconf] [Technical Errata Reported] RFC8341 (6493)
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: Fri, 02 Apr 2021 15:57:09 -0000

On Fri, Apr 2, 2021 at 8:14 AM Kent Watsen <kent+ietf@watsen.net> wrote:

>
> I agree with Juergen that section 9.13.2 of RFC 7950 applies and hence my
> opinion is that this errata, against RFC 8341, should be rejected.
>
>
> +1 (as contributor)
>
>
> However, I also think that RFC 7950 isn't as clear as it should be.  Given
> that there is an explicit ABNF construct for instance-identifier, I really
> think that this ABNF should explicitly require prefixes for
> node-identifiers, avoiding any potential ambiguity in what is allowed.
>
>
> Should a YANG-next issue be filed?
>


We could think a bit about the real problems with instance-identifier
instead of academic discussions.

The ABNF only describes the syntax of the default-stmt representation of an
instance-identifier.
Since such a default would be extremely rare, this is not an interesting
problem.
The RFC is clear that prefixes are required.

The protocol message (or artifact) representation of an instance-identifier
is a much more relevant use-case.
XML has its own rules for binding namespaces to QNames in the context of an
XML instance document.
These rules are clear, so no problem to be solved here.

The real problem (for yang-next?) is that the instance-identifier and
identityref data types
do not have any context-free representation possible, let alone a canonical
representation.

The solution already exists in RFC 7951 (6.8 and 6.11).
These encoding rules for identityref and instance-identifier should be used
for all
representations, and the default-stmt, The XML and YANG encodings should be
replaced
(by introducing new types and deprecating the old ones).


>
> K.
>
>
Andy