Re: [Cbor] [core] draft-ietf-core-sid-05 and draft-ietf-core-yang-cbor-07

Carsten Bormann <cabo@tzi.org> Fri, 15 March 2019 15:42 UTC

Return-Path: <cabo@tzi.org>
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 AAFFC13126B; Fri, 15 Mar 2019 08:42:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 uum3ZGLBHoyV; Fri, 15 Mar 2019 08:42:40 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 03AD913126E; Fri, 15 Mar 2019 08:42:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost2.informatik.uni-bremen.de [IPv6:2001:638:708:30c8:406a:91ff:fe74:f2b7]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id x2FFgNCc015386; Fri, 15 Mar 2019 16:42:28 +0100 (CET)
Received: from [IPv6:2001:638:708:30da:350e:7c7:5611:1727] (unknown [IPv6:2001:638:708:30da:350e:7c7:5611:1727]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 44LVFW09Txz1Bp8; Fri, 15 Mar 2019 16:42:22 +0100 (CET)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <92df97c1457947f09a2de92d740de925@XCH-RCD-007.cisco.com>
Date: Fri, 15 Mar 2019 16:42:22 +0100
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, "cbor@ietf.org" <cbor@ietf.org>, "core@ietf.org" <core@ietf.org>
X-Mao-Original-Outgoing-Id: 574357340.568283-b6ec990e683caf938bd49d9f38306dc1
Content-Transfer-Encoding: quoted-printable
Message-Id: <F90E782A-94C3-450A-8CD3-ADE9605174D7@tzi.org>
References: <21467.1551662213@localhost> <92df97c1457947f09a2de92d740de925@XCH-RCD-007.cisco.com>
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/JvnlE4HxdY1ulCVKSguCi0J-Hvw>
Subject: Re: [Cbor] [core] draft-ietf-core-sid-05 and draft-ietf-core-yang-cbor-07
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Mar 2019 15:42:46 -0000

On Mar 15, 2019, at 14:24, Rob Wilton (rwilton) <rwilton@cisco.com>; wrote:
> 
> In short, I think that it would be more pragmatic if SIDs are restricted to the non-negative range of the signed 64 bit integer type.  I.e. disallow values from (2^63 through 2^64 - 1).

SIDs are unsigned integers.  However, there are still languages that have a hard time with those.  And it helps if all SID deltas fit into a signed 64-bit integer.
So maybe limiting SIDs to the (non-negative) range of signed 64-bit integers is a restriction that makes sense.

https://github.com/core-wg/yang-cbor has three pull requests, but no issues.
(This apparently also happens to be the repo for the SID specification.)

Should we put up the issues there?

Grüße, Carsten