[core] ietf-comi:sid and draft-ietf-core-sid-04.txt

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Mon, 09 July 2018 15:31 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 69C52130E63 for <core@ietfa.amsl.com>; Mon, 9 Jul 2018 08:31:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level:
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-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 B_tGzkvN9UMZ for <core@ietfa.amsl.com>; Mon, 9 Jul 2018 08:31:21 -0700 (PDT)
Received: from anna.localdomain (firewallix.jacobs-university.de [212.201.44.247]) by ietfa.amsl.com (Postfix) with ESMTP id 767AD130DC1 for <core@ietf.org>; Mon, 9 Jul 2018 08:31:21 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id 1AC7922FCEF4; Mon, 9 Jul 2018 17:31:19 +0200 (CEST)
Date: Mon, 09 Jul 2018 17:31:19 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: core@ietf.org
Message-ID: <20180709153119.nqvakgcqckk4p63w@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: core@ietf.org
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
User-Agent: NeoMutt/20180622
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/xqo5N2s_BNkDmCGIxkZowfupIZk>
Subject: [core] ietf-comi:sid and draft-ietf-core-sid-04.txt
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 15:31:23 -0000

Hi,

I see that ietf-sid-file (defined in draft-ietf-core-sid-04.txt) imports
ietf-comi in order to use ietf-comi:sid, which is defined as:

     typedef sid {
       type uint64;
       description
         "YANG Schema Item iDentifier";
       reference
         "[I-D.ietf-core-sid] YANG Schema Item iDentifier (SID)";
     }

I think it would be better if the sid type would be defined as part of
I-D.ietf-core-sid instead of being defined in ietf-comi. (I assume I
could use YANG/CBOR/SID with RESTCONF without having a dependency on
COMI.)

[It seems this is another case where people use YANG to define data
 that is not implemented in a datastore. Too bad we still have no
 proper way to do this.]

/js

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