Re: [core] removing names from yang-cbor rules

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 23 September 2021 14:39 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9387C3A08A9 for <core@ietfa.amsl.com>; Thu, 23 Sep 2021 07:39:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 tmOUJawgyK4P for <core@ietfa.amsl.com>; Thu, 23 Sep 2021 07:39:01 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 88A823A08B0 for <core@ietf.org>; Thu, 23 Sep 2021 07:39:01 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 8CA8F39E5E; Thu, 23 Sep 2021 10:46:17 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dUnBPQ22fL2k; Thu, 23 Sep 2021 10:46:12 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 61CBF39E1B; Thu, 23 Sep 2021 10:46:12 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 2B9E040; Thu, 23 Sep 2021 10:38:52 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Carsten Bormann <cabo@tzi.org>, Andy Bierman <andy@yumaworks.com>, "Murray S. Kucherawy" <superuser@gmail.com>, Core <core@ietf.org>
In-Reply-To: <B8EE08AB-A3EA-44EF-A885-08F81D8947A4@tzi.org>
References: <CABCOCHQUYSq05gFhJ=48pZu=kuRmXDOcaHMVecFia1UFKSxNnA@mail.gmail.com> <B8EE08AB-A3EA-44EF-A885-08F81D8947A4@tzi.org>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Thu, 23 Sep 2021 10:38:52 -0400
Message-ID: <19463.1632407932@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/fq3dHs5aU8x8MZAvk-PnI30_rGo>
Subject: Re: [core] removing names from yang-cbor rules
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Sep 2021 14:39:07 -0000

Carsten Bormann <cabo@tzi.org> wrote:
    > Clearly, SIDs are the major innovation here and they are the normal way
    > to use Yang-cbor.

Agreed.

    > I don’t agree the string variant should be removed. This takes
    > Yang-cbor out of the game for “big-web” applications.

okay.  But, a lot of the document is about how to make up these names from
the YANG content, and it seems that there are a lot of bugs in those sections.

    > Instead, we should make sure to explain that strings are a special
    > option that you chose wholesale when you need it, not something you
    > switch to from SIDs randomly.

In ietf-anima-constrained-voucher, we are adding text to say that SIDs rule.
(Actually, we consider this morning if we can get to the point where yang-sid
can be an informative reference only)

--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide