Re: [netmod] [core] 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: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F0863A010D for <netmod@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=ham 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 O8nn861b0PjB for <netmod@ietfa.amsl.com>; Wed, 8 Apr 2020 04:36:43 -0700 (PDT)
Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 5F1183A00E2 for <netmod@ietf.org>; Wed, 8 Apr 2020 04:36:43 -0700 (PDT)
Received: by mail-wr1-x430.google.com with SMTP id a25so7455071wrd.0 for <netmod@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=FO7DLKGPMW21+43P7yMG90JRl7ogL/4eJpMResujgZ1grC472ii5eJ37mtXvKQo93V LGGwMH40qApcYj80HHQW/gS8N4GT9DxZzyKFcqjisAsariTIDnd6AO7ok+MoYSCBD8sp acqfpXgffVX1epoSFm3UUsAI9VVR8M4S0OQ0/mogFFXdJzoy+smbYBNHU0m1zx4p/yxV Quf45z9lWKrl/80a5ywWIHnPliGIDggTVw4DAFgo3tSnDbx3/ZB7sdAYCpUY+vY3l+X7 kdEWaKHE9ewWIuyO1vTngyJv1pJqmLGYE1U8bblhkAJ3Vl6drcy97bl2m8HqnPMROl29 42gQ==
X-Gm-Message-State: AGi0PubaoaghAkW3lRs1XO+yKRev/IclFUOYwQkDOWZKRABtg7W8YLo5 Cj9bvT1Sv8ZeBj90guyvuoIJ97vRR3srIEz+H5VVbg==
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, 8 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/netmod/altZw7n9DwYAHNGROu48Zp3DR1A>
Subject: Re: [netmod] [core] js review of draft-ietf-core-yang-cbor-12
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-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…
>
>