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

Andy Bierman <andy@yumaworks.com> Fri, 02 August 2024 20:47 UTC

Return-Path: <andy@yumaworks.com>
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 5A823C1DFD53 for <cbor@ietfa.amsl.com>; Fri, 2 Aug 2024 13:47:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=yumaworks.com
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 KgLwn5OIN4oT for <cbor@ietfa.amsl.com>; Fri, 2 Aug 2024 13:47:51 -0700 (PDT)
Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 45ECDC1CAE60 for <cbor@ietf.org>; Fri, 2 Aug 2024 13:47:51 -0700 (PDT)
Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-70eaf5874ddso6718204b3a.3 for <cbor@ietf.org>; Fri, 02 Aug 2024 13:47:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1722631671; x=1723236471; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=75UHxQ7w4sna/xRGluthJjIMGgSga2h4iv6kWg7jyGw=; b=EZKpd3IUu5TLcGEhe/3ohpyWR4hXBJYYTSsTx+OID1m3jomjXAW1VuM1Hw8k6Ms6gz xVZuZz4aPmSm90bjxhVsGdPI7TfZMSMzHgI0mbD82RTOMredOGx7TJR7FQfLBH8ijWYV ZsR8cdZdxMHiYF02y6vtiLnvZAF6pWaEQ+6hNSjljTdZJo/A4bTaJoMrkKejzrEJnWmY wyvVfwB2nSo+ifhicmf6AQG1x/Y7T7UomagiKd4wvEvb6YQUWajP40JVMkF2aRQ0kx4k oCKFC73McJHcuLideRdOgYFzZgZkag4OL3jr1QDTYw1etg+k40SIUSQaFC/iRO4EqdIR Wnng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722631671; x=1723236471; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=75UHxQ7w4sna/xRGluthJjIMGgSga2h4iv6kWg7jyGw=; b=j45pHiKE+h40JkxMDVbl2S2nWElg4IIAKe6V1vOY+EYouh08tIFm7TPtZzEGZvQe/q yCdvvESS+PAmIiyAdF2qoVHMKHJid10ob2vAfP00SgYU3WWbY6IEurtP0dSFqJMigYUY uoHX45a55ATX/yXLVr/8iR1LbLHpia3xEjFK7018TY+73XmvQsB5LlhkWnftLvNVNAZX skV4cSkckqFaqwR/KqcRKoPf+ubla1LW63RunvgDZAl3DhpVPE41tSXzdFWuwIZUlJtR 3ap6G1t4UQJqQNJb6/UIOMU022dzbrc6mozxiZwPIHxZo1SHen5Fzmzk1OISg1S0PgCj OoZw==
X-Forwarded-Encrypted: i=1; AJvYcCXlQBwpz8unEQBWzKHFr76vuCQXuxWJeAr3dyKDcYHrlevHTCJWi4eG+L6qwohDBt0QXSJrvTDT5VDr5sVm
X-Gm-Message-State: AOJu0YxbbeSHLmNTW0+BJrSFhTJ8ozbj+R2lHmbCbvzkT/UmX/wmDlNB e9PbSz3QG9We+d4r9Wi33gtFcICXxGByYbk/ytgMXCDn/4nfrXfKqZbj/7wICaBVqQO2wISESlO HgCbsFSiO21LO0SJ7Y3nNLTphup3ZTDiGvveypw==
X-Google-Smtp-Source: AGHT+IFJGPgn1THcjZ9ONihr2ciFfwFItpJ5ZjSyHYMwjmtRrtgB6kICg4f6YlRNq9OwMacaq8s2ghcSX3jIKMMWv2M=
X-Received: by 2002:a05:6a00:17a2:b0:70e:8f89:7e2e with SMTP id d2e1a72fcca58-7106cfd783dmr5169864b3a.18.1722631670679; Fri, 02 Aug 2024 13:47:50 -0700 (PDT)
MIME-Version: 1.0
References: <24615.1722628087@obiwan.sandelman.ca>
In-Reply-To: <24615.1722628087@obiwan.sandelman.ca>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 02 Aug 2024 13:47:39 -0700
Message-ID: <CABCOCHQyioyptLbXebojLV4K1gcVWziV66fDySprzT2A0jQwjA@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Content-Type: multipart/alternative; boundary="000000000000cf6a0a061eb97067"
Message-ID-Hash: RVIRLKTV2V3ZUJX6BS64BVWYEM4EFYS7
X-Message-ID-Hash: RVIRLKTV2V3ZUJX6BS64BVWYEM4EFYS7
X-MailFrom: andy@yumaworks.com
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
CC: core@ietf.org, cbor@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Cbor] Re: [core] CBOR-YANG/SID
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/btff0JY_MI9iJUDjmosJkldz_pA>
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>

On Fri, Aug 2, 2024 at 12:48 PM Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
> RFC9595 came out on Wednesday. HUZZAH!
> It feels like forever.
>
> Many people have asked why RFC9254 did not say that a YANG date would be
> stored as a CBOR TAG 0 or 1.  I actually just assumed, and I think my
> (ruby)
> library did as well that it would be that way, and there was an
> interoperation issue discovered.  Oops.
>

Actually, YANG has no built-in type for a date. Just a string (with a
pattern).
RFC 7951 and now RFC 9254 provide encodings for the built-in types.

Andy

There are other examples.
>
> My understanding is that people would like to write an RFC9254bis that
> application protocols could update to.  I'm all for this.
>
> I believe that we should do this in *CBOR* WG, rather than CORE WG.
> Comments, views of chairs?
>
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
>
>
>
>
> _______________________________________________
> core mailing list -- core@ietf.org
> To unsubscribe send an email to core-leave@ietf.org
>