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

Ivaylo Petrov <ivaylo@ackl.io> Wed, 08 April 2020 11:36 UTC

Return-Path: <ivaylo@ackl.io>
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 4D82C3A00E2 for <core@ietfa.amsl.com>; Wed, 8 Apr 2020 04:36:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ackl-io.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 QwW6PHJbrimA for <core@ietfa.amsl.com>; Wed, 8 Apr 2020 04:36:43 -0700 (PDT)
Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (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 7FEB13A0101 for <core@ietf.org>; Wed, 8 Apr 2020 04:36:43 -0700 (PDT)
Received: by mail-wr1-x42a.google.com with SMTP id h9so7413882wrc.8 for <core@ietf.org>; Wed, 08 Apr 2020 04:36:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ackl-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9zrVQf14OfGg8juR/ZeATdZ3iQtbW/G4FtzcBiTqEss=; b=yAQVn8dsddYTrY1m9kb7m62O3dOa6v9ajkbhBZKkQJB8ZqdmCLS1reWZmBpNHU2Giz vVBsK8SOJ/meBWlc2dKZeO2IC1GRiSfd+ChRE5Kc79Aj9f0tugdE1VlKOvcXMQ1gevzR 4REKnc1Hxxky2dhZbZD3YCfxdoN7UAbHjbyVlXXRelmOO6KAz8iav8ZxH3wxtVVtgF6h +E6yy+/O1bosiVBCd4/+kPWMZECPed2ALkeuM/PHgE61s+90Uw8ATK1nDiDEe1yeztgJ CsJm0v51rS6xJbh/KGDXpypf4O08+bKR3u0ogIG9ymQfy5hPavVch7hDIVzvO/aDO9I/ rcdw==
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=9zrVQf14OfGg8juR/ZeATdZ3iQtbW/G4FtzcBiTqEss=; b=e9NJC2c6kSGJxrIFCffFzLSkTd0txBAxvmZoDCjQdq+bjRNZXmAH2wEwSO9PFyQkXJ GfTDpcPzZr241diQ5gQTZ92jsvbHyFEl8Xw0j5AECl/c5ahRVOrE3xeyEYZNwlUIiX8u m/HklimhsMEdic/VCs3AsP42mOrrDDAthALRx49FnPqo7a5Ky3dZWMML8K/trjCbVj0I HpR2+ZFbHH8b6zuiCCqOnG6SZ5MAAdlqIM6D33BQeVFXMpLM5ON0r4Yo+QK+4v6d/4bF c/u5p+L0MxbvQtPm3eydyeVK1rT1poRN0mJbiyxdpUaFWh3byUHwL822VpzaScVipyCX fsBA==
X-Gm-Message-State: AGi0Pua7IzxzhuYARSa8achBb/F7jevuryHYXIXFrKfgQwMeGXe++EZO Sxe3kx2H6YTVr/xtMwLbihm8knfrnKrDw8M6WteAWQ==
X-Google-Smtp-Source: APiQypKDV8wwKYhlTpyb3RYFgMQzcI4A793UDsdLIqKRdw1KeH5T28MjGbbGCaYSMRJuecqv0OfMmFjZ6TMsAxQ29RQ=
X-Received: by 2002:a5d:6545:: with SMTP id z5mr6596729wrv.136.1586345801665; Wed, 08 Apr 2020 04:36:41 -0700 (PDT)
MIME-Version: 1.0
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> <D6EC7C7E-F078-4AAD-9F23-97EE5F225E39@tzi.org>
In-Reply-To: <D6EC7C7E-F078-4AAD-9F23-97EE5F225E39@tzi.org>
From: Ivaylo Petrov <ivaylo@ackl.io>
Date: Wed, 08 Apr 2020 13:36:15 +0200
Message-ID: <CAJFkdRyMDz2e4kdogeyYa9+OqpkjHC1MPcvzrRbmm=5WG-t1ig@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, core <core@ietf.org>, NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ffe56f05a2c5e9e0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/t1z6ABqYfvkwVKHya4WpatELYoY>
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 11:36:45 -0000

Hello,

I like this solution, but I am wondering if it will create a normative
reference in the other direction (sid to yang-cbor) and would we be fine
with that.

Best regards,
Ivaylo


On Wed, Apr 8, 2020 at 12:58 PM Carsten Bormann <cabo@tzi.org> wrote:

> 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…
>
>