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

Alexander Pelov <a@ackl.io> Mon, 16 July 2018 01:28 UTC

Return-Path: <a@ackl.io>
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 40342130EF7 for <core@ietfa.amsl.com>; Sun, 15 Jul 2018 18:28:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ackl-io.20150623.gappssmtp.com
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 tRax2OrXKZzE for <core@ietfa.amsl.com>; Sun, 15 Jul 2018 18:28:02 -0700 (PDT)
Received: from mail-qt0-x22c.google.com (mail-qt0-x22c.google.com [IPv6:2607:f8b0:400d:c0d::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E51C7130E9B for <core@ietf.org>; Sun, 15 Jul 2018 18:28:01 -0700 (PDT)
Received: by mail-qt0-x22c.google.com with SMTP id b15-v6so31655069qtp.11 for <core@ietf.org>; Sun, 15 Jul 2018 18:28:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ackl-io.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qVk5vlUpQWa8wHp1zM/Zi8wwFxsbpLwfCS5fGYiUc2I=; b=beeDhDkiW+3V5Vsv00wJlFpq5NdGoQjeHWEqIfBJGeEofQ61LrsSwwv3fKjX2z5sLc Uz64MaCTwcnwHP0lOrNqpsFX3uB4TgQX3OWUnkcp9lLWpeMCLSfiuLlUbFytzOXfE9yU STVJVKFzSotzSWrjb/0aFtkM53mPAHEZ2x4krgV0tmU5aWh6r/53KYTIO5c4qbzYoz3l G2wXS2RkVDDpzco+DGhyevDQd415Y+QoIWYZTgKYN3fJ8uV3ZVRVFpSN2G3X1v6ijVvg Al/vQxKGEAmky9L1bHJjgDhpDreqFHKcE8IlkyzxFAgKe3fV5kyLsQxdiPQTLYrCiz+n N/Eg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qVk5vlUpQWa8wHp1zM/Zi8wwFxsbpLwfCS5fGYiUc2I=; b=HoTZkCzNOi68t7qXYXAJzaD27ht9zkON2wg1cGttmL8e9r4vcxv9VqZhmPgkiPrq+U RUo1GkBM3zxT0PRdY0xmGWlC8A4vacJLQD3un3RqmW2UEAfZYCgf+PHIETalYLoAMtRC ZLgigtT8A+EjJAx55rML3G4m2WmTTEfVozAkQX6P1nUF8LOxXPewiG/LYwFjuhtqZVYh gGCirQYKD1zuSPB41l33765Hi9dCzjOQ/qlze3p5uBSZZEQNBYoYvrTd18vVTG6Ehily JkOM/GTCwGpKrGYC3zSr3DlhWxm9Bz8j6Dzhy2Pokr2hf4nH0GYVK3t4w9aC6M0Dsyw7 tsIw==
X-Gm-Message-State: AOUpUlFz7Ty5PEQZXQ6qaXl5xSQpYE7BaZxy4ofkXAmvpVQ7HL+V+4tG 7/GW1vB0Bvotufc0Xhm8bMkt84DE8DI=
X-Google-Smtp-Source: AAOMgpcQu4oIIOs+U+y9HUdFMCAmPRqsEeFokFNh+laAvH4jE8PV7G30qIUgQBN/wYDscXv6uKzVOQ==
X-Received: by 2002:ac8:fd0:: with SMTP id f16-v6mr5069048qtk.13.1531704481088; Sun, 15 Jul 2018 18:28:01 -0700 (PDT)
Received: from evariste.lan (modemcable018.183-83-70.mc.videotron.ca. [70.83.183.18]) by smtp.gmail.com with ESMTPSA id a19-v6sm9032129qta.50.2018.07.15.18.28.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Jul 2018 18:28:00 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
From: Alexander Pelov <a@ackl.io>
In-Reply-To: <20180709153119.nqvakgcqckk4p63w@anna.jacobs.jacobs-university.de>
Date: Sun, 15 Jul 2018 21:27:59 -0400
Cc: core@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <33155478-C76F-4ED4-A5CA-98BA2D0AEBE9@ackl.io>
References: <20180709153119.nqvakgcqckk4p63w@anna.jacobs.jacobs-university.de>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3445.8.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/kdCBOsz29-SOuOEpzReUqhOrqNg>
Subject: Re: [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, 16 Jul 2018 01:28:05 -0000

Hi Juergen,

Good catch on that!

Also agree with you that it would be best to define SID in  draft-ietf-core-sid-04.txt and import it from CoMI.

Cheers,
Alexander


> On 9 Jul 2018, at 11:31, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> 
> 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/>
> 
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core