Re: [core] Content-Format size for yang-cbor (and sid!)

Alexander Pelov <a@ackl.io> Thu, 18 March 2021 10:00 UTC

Return-Path: <alexander@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 0C0F13A26A4 for <core@ietfa.amsl.com>; Thu, 18 Mar 2021 03:00:43 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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 OsDj7XcdKNMN for <core@ietfa.amsl.com>; Thu, 18 Mar 2021 03:00:41 -0700 (PDT)
Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (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 DCDAD3A26A3 for <core@ietf.org>; Thu, 18 Mar 2021 03:00:40 -0700 (PDT)
Received: by mail-io1-xd2a.google.com with SMTP id v17so1622613iot.6 for <core@ietf.org>; Thu, 18 Mar 2021 03:00:40 -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=eP6RcET/MSDxyBnWmJBg+lsgz3LmY6Ks7f7KtWc0xDA=; b=uRAajLTothZD8T6GDB8ghk0ZAP2SEoQgmKlVu3Ckf0+TZGjpxzolTWwdpNZz7tQ2/6 TZPCRm+gyOohzeWDsb7gA4kkBtLmUcQLNYl0btcUB8j6G+SeIvzwtv3cabeDB8D/rGpj sL1iuCA3S9u4js1mmSk4oM2+YwvtTlOAd58GJ5X68K6c0s/b76gtI75oKmIYcEgrfye/ 9GuR6J8a2KR6aRF6ZBMYIn3sKsBm6gGVhI/DhImpSyuVNxwfCziG5kZxHv6TYmD0OGqx uUrVhV6F0PD0Im6KfWSYILmBw1Dyhp9llqSHaqjoB+g65ye8Zf3RXV/URad6Yy1QOw5E pO5Q==
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=eP6RcET/MSDxyBnWmJBg+lsgz3LmY6Ks7f7KtWc0xDA=; b=MO2cuNGSLxeW3susqNF7Go88QP0GkeE+yHxEuJKkWZBYnlbUbqG6m3F7R8XQjOhUSD 76SL4moLm6IRwAEu5XEP4bSGkYD2/XvsVvVQFShN9Ot5e0oSYY3CpfTgECokCXpTH88h 6ges/ttVTmLWh5qm4l1LUuTs/xwxBaihMKN9hWlVxV7ZpIbjslzWmmjpHd7e1TiLUECN dLCI5Q8kuwXU/6llDC7pWIRdnAxyfXpKyJs5e4hiq5XX98OdosFYxRAjpLTw5GR80Abe W9pCb2KbrdpFAcMNSv6XO0jROFO1wHIfINRjKX+JP6d60om8RkgHFTJQ+2R+60NO1j/F 57Rw==
X-Gm-Message-State: AOAM530hg06xjyogX3kVRnYUj0dCkY0Qjld/JXnb0TpGf4xg1CI6QAPp JbWO0Si73WIlpo6C9cb5llSvuZLgKGrzOmNRK9AOLQ==
X-Google-Smtp-Source: ABdhPJz0ZPecDBIxkFGjEg4W/xlebBRXuqol6NDqd0ACxXdqUqkgJ5CJ8yY4oSXMCmhma/v/lPqiFg0kVWMQH8lM04U=
X-Received: by 2002:a5e:dd09:: with SMTP id t9mr9348063iop.111.1616061638743; Thu, 18 Mar 2021 03:00:38 -0700 (PDT)
MIME-Version: 1.0
References: <299C6908-F83E-42D3-87B1-883C12075780@tzi.org> <AAF2A2A2-7820-4C47-ADF7-56EDF1036E10@tzi.org>
In-Reply-To: <AAF2A2A2-7820-4C47-ADF7-56EDF1036E10@tzi.org>
From: Alexander Pelov <a@ackl.io>
Date: Thu, 18 Mar 2021 11:00:27 +0100
Message-ID: <CACQW0EoQUG24FwnaX=Ee_3YP2j_OvsQs1vNWCYiW_Va-JD2hmw@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: "core@ietf.org WG (core@ietf.org)" <core@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e9ab6905bdccab4d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/sNOvV3Q6KC37-vRT4GhSvRoOqFs>
Subject: Re: [core] Content-Format size for yang-cbor (and sid!)
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, 18 Mar 2021 10:00:43 -0000

Dear Carsten,

Thanks for reading the IANA remarks so quickly and for the proposal.
Seems perfect to me.

Cheers,
Alexander

On Wed, Mar 17, 2021 at 9:10 PM Carsten Bormann <cabo@tzi.org> wrote:

> And, of course the same thing for draft-ietf-core-sid and
> application/yang-data+cbor;id=sid.
>
> In this case, I believe that YANG-based data structures will not just be
> used in the context of the larger interchanges typical of CORECONF, but
> also for data structures specified in YANG and interchanged separately.
> Some of these will be rather small and will benefit from YANG-CBOR’s delta
> compression.
> So I believe going for a one-byte value is more appropriate in this case.
>
> So that the two allocations for id=sid and id=name are a bit more
> memorable, I now propose:
>
> 264 application/yang-data+cbor;id=name
>  64 application/yang-data+cbor;id=sid
>
> Again, comments welcome.
>
> Grüße, Carsten
>
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core
>