[Cbor] Re: [core] Re: CBOR-YANG/SID

Michael Richardson <mcr+ietf@sandelman.ca> Tue, 06 August 2024 16:12 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6912C151547 for <cbor@ietfa.amsl.com>; Tue, 6 Aug 2024 09:12:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HPBUz9VhlkeM for <cbor@ietfa.amsl.com>; Tue, 6 Aug 2024 09:12:24 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D93C9C151093 for <cbor@ietf.org>; Tue, 6 Aug 2024 09:12:24 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 3F0833898D; Tue, 6 Aug 2024 12:12:23 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavis, port 10024) with LMTP id qjwrEGZ2mu9a; Tue, 6 Aug 2024 12:12:21 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1722960741; bh=cJkqbzXxDVcidKR0wacpQS2HzK9PlZbDA1IiSK6gdmQ=; h=From:To:Subject:In-Reply-To:References:Date:From; b=blqn/M4OTiVPiEzmikfwC3z0kIaD2BUAG2tNA2qvba3C4I1aFtkKzCk9VQZs4EpLD 45ErkfsPRSdgToOgmv7jhhhOZiM8ctZ8QVZUx5LjP6uEBrVuW+7L+gDk/8I254gH8I 4IQEltMstUdQTopt8fT98bWd/YmsEPNcQaG2GEBDVncr+hKd0XgxqYIquqv2+LANr9 DeOyGxJnI26bGgWi1Ted23maH9nbp4MGtkHiDLRKwzghf7dARFt4+qCo+3YHot4vXU JiUhQ9AI/+dAV6rOOwK6fp2oldSgnZgBr77i69qeL6iZhWzx8E9pxLfLq1LVEcLRDX lXIme/l8VCfdA==
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id C530F3898C; Tue, 6 Aug 2024 12:12:21 -0400 (EDT)
Received: from obiwan.sandelman.ca (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id C0C1AE5; Tue, 6 Aug 2024 12:12:21 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Carsten Bormann <cabo@tzi.org>, CBOR <cbor@ietf.org>
In-Reply-To: <2CC71993-140E-415F-89D9-2273F11FCC49@tzi.org>
References: <24615.1722628087@obiwan.sandelman.ca> <7E75452A-79A5-4B8B-9E6A-9CEF1C090D14@tzi.org> <12239.1722797673@obiwan.sandelman.ca> <2CC71993-140E-415F-89D9-2273F11FCC49@tzi.org>
X-Mailer: MH-E 8.6+git; nmh 1.8+dev; GNU Emacs 28.2
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: Tue, 06 Aug 2024 12:12:21 -0400
Message-ID: <21644.1722960741@obiwan.sandelman.ca>
Message-ID-Hash: MZWID723ICSW4UUXZCBEKGJ2NEMJJTLW
X-Message-ID-Hash: MZWID723ICSW4UUXZCBEKGJ2NEMJJTLW
X-MailFrom: mcr+ietf@sandelman.ca
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cbor.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Cbor] Re: [core] Re: CBOR-YANG/SID
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/fz8bpMhTRQnH29dCrOgrRyGn-v8>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Owner: <mailto:cbor-owner@ietf.org>
List-Post: <mailto:cbor@ietf.org>
List-Subscribe: <mailto:cbor-join@ietf.org>
List-Unsubscribe: <mailto:cbor-leave@ietf.org>

Carsten Bormann <cabo@tzi.org> wrote:
    cb> https://www.ietf.org/archive/id/draft-bormann-cbor-yang-standin-00.html
    >>
    cb> It’s mostly done.  A comment Vancouver was that we should also do
    cb> hex-string.
    >>
    >> So, CBOR ought to adopt it then?

    > I think so.
    > I tried to sneak it on the CBOR agenda in Vancouver, but we ran out of time.

    > We might want to do an individual -01 in the coming week to get rid of
    > a few of the rough edges of the text.

sure.

    > Any opinions on how best to include hex-string, phys-address, and
    > mac-address from 6991 welcome (preferably with a single tag, because
    > the syntax is the same: (preferred lowercase) two-digit hex bytes
    > separated by colons).

I'm not sure I understand the question.
I think that mac-address and hex-string should be binary on the wire, not hex.
and no colons.  Effectively a bstr.  But, I think you might be asking what
CBOR tag we put in front of it?



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