Re: [core] [Cbor] map (5), ordering vs YANG SID in ietf-core-yang-cbor

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 17 August 2017 08:41 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 A0D00132418; Thu, 17 Aug 2017 01:41:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 bIVq05NQ1ZYs; Thu, 17 Aug 2017 01:41:48 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BAC8F132386; Thu, 17 Aug 2017 01:41:48 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 8BC80EC1; Thu, 17 Aug 2017 10:41:47 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.217]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id LKlMrE2uwim0; Thu, 17 Aug 2017 10:41:47 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Thu, 17 Aug 2017 10:41:47 +0200 (CEST)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 6C263200C5; Thu, 17 Aug 2017 10:41:47 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id mNFfvRYnEcVa; Thu, 17 Aug 2017 10:41:47 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 19D5A200C3; Thu, 17 Aug 2017 10:41:47 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id D4C4C404147F; Thu, 17 Aug 2017 10:41:45 +0200 (CEST)
Date: Thu, 17 Aug 2017 10:41:45 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Carsten Bormann <cabo@tzi.org>
Cc: cbor@ietf.org, core WG <core@ietf.org>
Message-ID: <20170817084145.crttu7egrha6oxoq@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Carsten Bormann <cabo@tzi.org>, cbor@ietf.org, core WG <core@ietf.org>
References: <13753.1502939016@obiwan.sandelman.ca> <7689DC42-6C05-462F-8466-C067B34232A9@tzi.org> <20170817065430.wp3gqiui37f26ki6@elstar.local> <BCE12092-9C93-4432-835A-EB87CB84977B@tzi.org> <20170817072903.sce5vxgckv3q3njt@elstar.local> <9449DAD7-723C-46DE-96BE-6D46DE6E7BBE@tzi.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: 8bit
In-Reply-To: <9449DAD7-723C-46DE-96BE-6D46DE6E7BBE@tzi.org>
User-Agent: NeoMutt/20170714 (1.8.3)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/USUa6e31EVB0Mfn8bGJTnEsvrJM>
Subject: Re: [core] [Cbor] map (5), ordering vs YANG SID in ietf-core-yang-cbor
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
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, 17 Aug 2017 08:41:50 -0000

On Thu, Aug 17, 2017 at 09:33:47AM +0200, Carsten Bormann wrote:
> 
> > On Aug 17, 2017, at 09:29, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> > 
> > Carsten,
> > 
> > I looked into core-sid to understand how sids work,
> 
> That document tells you how to get SIDs.
> 
> > I did not expect
> > that the definition how delta sids work is in core-cbor…
> 
> That document tells you how to encode the SIDs you have into deltas in the CBOR serialization of YANG models.
>

Ehem, you referred to core-cbor in order to explain how deltas work,
i.e. what the reference SID actually are that core-sid introduces.
It is not just encoding as far as I can tell.

> I think that is a quite reasonable division of work, but maybe again there is potential for explaining this better editorially.
> 
> One problem in the past has been that people have been referring to the deltas as SIDs — they aren’t, and we need to root any remnant of that usage out of the documents.
>

I would appreciate if delta SIDs are defined in core-sid and core-cbor
would only talk about how that delta number is encoded but not how
that delta number is determined.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>