Re: [core] [netmod] js review of draft-ietf-core-yang-cbor-12

Carsten Bormann <cabo@tzi.org> Wed, 08 April 2020 10:58 UTC

Return-Path: <cabo@tzi.org>
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 DE8463A12E2; Wed, 8 Apr 2020 03:58:46 -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 E3fWG3BT1frD; Wed, 8 Apr 2020 03:58:44 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D8A03A12E1; Wed, 8 Apr 2020 03:58:44 -0700 (PDT)
Received: from [172.16.42.112] (p548DCD70.dip0.t-ipconnect.de [84.141.205.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 48y1VB1vlkzyX1; Wed, 8 Apr 2020 12:58:42 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <0817C3C8-420A-4994-89D4-2CDA150F682B@tzi.org>
Date: Wed, 08 Apr 2020 12:58:41 +0200
Cc: core <core@ietf.org>, NetMod WG <netmod@ietf.org>, Ivaylo Petrov <ivaylo@ackl.io>
X-Mao-Original-Outgoing-Id: 608036321.657564-eee273dc4db31bafc432d532efd82f13
Content-Transfer-Encoding: quoted-printable
Message-Id: <D6EC7C7E-F078-4AAD-9F23-97EE5F225E39@tzi.org>
References: <20200331110237.zbo3zw74xlccur3w@anna.jacobs.jacobs-university.de> <CAJFkdRwhxa2T-LVoYfwbMcjjo-dWhwonf_q4B6vGGLuWy5K+BA@mail.gmail.com> <20200407194758.luxnndxxsuixhzfo@anna.jacobs.jacobs-university.de> <16670AE8-DE0D-4444-9F64-ED6C67654886@tzi.org> <20200408065738.l7jnht536vxzacse@anna.jacobs.jacobs-university.de> <0817C3C8-420A-4994-89D4-2CDA150F682B@tzi.org>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/SiMRauO85o_0kyIvXExuslvnJ5Q>
Subject: Re: [core] [netmod] js review of draft-ietf-core-yang-cbor-12
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: Wed, 08 Apr 2020 10:58:47 -0000

On 2020-04-08, at 10:49, Carsten Bormann <cabo@tzi.org> wrote:
> 
> One way to build a content-type from a media-type name is to add a parameter:
> 
> application/yang-data+cbor; id=name
> application/yang-data+cbor; id=sid

Ha.

Let’s create a registry in yang-cbor for id= values (initially filled with id=name).
-sid can then register id=sid in that.

Look, ma, no normative references!

Grüße, Carsten

PS. If you wonder why I care about normative references: RFC 7252 got stuck for a year in 2013 for an ill-advised normative reference.  And have a look at https://www.rfc-editor.org/current_queue.php#draft-ietf-anima-grasp — 140+ weeks of waiting for a (totally unneeded) normative reference…