Re: [core] Comments on draft-ietf-core-yang-cbor-06

Carsten Bormann <cabo@tzi.org> Mon, 09 July 2018 16:20 UTC

Return-Path: <cabo@tzi.org>
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 CE84A131028; Mon, 9 Jul 2018 09:20:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 rEMRStbZq0TO; Mon, 9 Jul 2018 09:20:30 -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 80DA3131025; Mon, 9 Jul 2018 09:20:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id w69GKNii000394; Mon, 9 Jul 2018 18:20:23 +0200 (CEST)
Received: from [192.168.217.114] (p5DC7F1FB.dip0.t-ipconnect.de [93.199.241.251]) (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 41PVtH34jszDXhN; Mon, 9 Jul 2018 18:20:23 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <46e3466e-4ac6-4108-6490-c81891560648@cisco.com>
Date: Mon, 09 Jul 2018 18:20:22 +0200
Cc: Michel Veillette <Michel.Veillette@trilliant.com>, "draft-ietf-core-yang-cbor@ietf.org" <draft-ietf-core-yang-cbor@ietf.org>, "core@ietf.org" <core@ietf.org>
X-Mao-Original-Outgoing-Id: 552846020.144585-cc6ccc5ad8852d8223b275b06b13f7b7
Content-Transfer-Encoding: quoted-printable
Message-Id: <A4981CB6-5D97-4069-BEDB-1E5EEB1A5EE9@tzi.org>
References: <6ff65b2e-ab4f-5d92-8fff-68c08584682e@cisco.com> <DM5PR06MB2777C2ABB330D1054D2E1D8D9A440@DM5PR06MB2777.namprd06.prod.outlook.com> <E765AC20-41BE-4235-B858-6904C9BA63EF@tzi.org> <DM5PR06MB27772BC8B389ED32841725A19A440@DM5PR06MB2777.namprd06.prod.outlook.com> <46e3466e-4ac6-4108-6490-c81891560648@cisco.com>
To: Robert Wilton <rwilton@cisco.com>
X-Mailer: Apple Mail (2.3445.8.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/XpwRk7kzBthvFCSj349x46tXQwA>
Subject: Re: [core] Comments on draft-ietf-core-yang-cbor-06
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.27
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: Mon, 09 Jul 2018 16:20:33 -0000

On Jul 9, 2018, at 18:09, Robert Wilton <rwilton@cisco.com> wrote:
> 
> ambiguity as to whether the top level nodes are using absolute or delta sids

We don’t need to be able to include “absolute SIDs”(1) into the delta positions in the encoding.
The deltas are always deltas.  They just happen to be relative to a context SID at the top of the tree; mostly, that is 0 (but that’s what we are also discussing here).

Grüße, Carsten

(1) there is no need for this term; SIDs are SIDs and SID deltas are SID deltas.  The map key positions in YANG-CBOR are always SID deltas.