Re: [core] progressing ietf-core-yang-cbor and ietf-core-sid

Ivaylo Petrov <ivaylo@ackl.io> Wed, 08 January 2020 23:00 UTC

Return-Path: <ivaylo@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 936F212012A for <core@ietfa.amsl.com>; Wed, 8 Jan 2020 15:00:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 a_kIIArNJHzK for <core@ietfa.amsl.com>; Wed, 8 Jan 2020 15:00:30 -0800 (PST)
Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 30A2E120072 for <core@ietf.org>; Wed, 8 Jan 2020 15:00:30 -0800 (PST)
Received: by mail-wr1-x435.google.com with SMTP id d16so5225304wre.10 for <core@ietf.org>; Wed, 08 Jan 2020 15:00:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ackl-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bWYlNj6pmXWNv9YK1JhPixxGrwqXfpuaTpWWrzDf3oY=; b=LqRvcK7pH5EUIjXKMVgJG6Cs7Xf7mUepzj3ZSy4hoF4HYIYmbDY1PYJ7LcMUAlyTcT yC1e1yfzp40Sxyvhe/EmuhUBcbPXvV9Fl3eoea40EOAP/Xun8pQS+n9tcjl6X9qrPujX oH7vdrS5vX4rrXe1uRjpJ4bSJCgzw+OGluQoJh6h5hHFDx4BZBhgdIrF18IpvPNgqkfk jNPj9mL/uB0taPcq2/RX3524Ny5QaBHAnCcH9oDQpwtUkc72NZg+sYcl8RNda/tYpI5o dSvQ/T2PS6gAWvor2bCUDLEEzgcwFzutIYQrJt5uQtMz4lRSUT9rQNSMltMEnadfsHZH frhA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bWYlNj6pmXWNv9YK1JhPixxGrwqXfpuaTpWWrzDf3oY=; b=WjKbbDDuKlTmeQUW0VsCYYGU/I/9k20j85X3iiynAgOiTLOnAwCil/aKLcnkdy0PsM RdKSlHYdcMnO4RHmQwAG5SpbQF+RlPerPsJDO/UUuf9Zucs4iCFMgyT0idCXmE0xokwh W3EiqHoCxTO9JwsKvvArGVxkMNdyCSFJrH3rbiw0zTI1sH9XUVgjiNtM/pqi5fugdsi0 PCqRO7SVK1sJu7LY5ceVnX+TB+h+lDYCRsgFg5q1VWPIbcKGIM5HmrforxKA8nswALk8 74Tb+1OK55u6Whl9V2Urycoz5mEuC7jQJJ5SfrfpsdFuX+rBlCLQCMEDnQWeTLUyc3ZT WGiA==
X-Gm-Message-State: APjAAAVrNtj9Yh8IvqFbXofWeoa84D9UAFAtbM0UcZ5BSwBcD+j/mStH s4W9IFLkEPfIVjpt5iJ8hNfWZrpQzfiBxVvd3O6OSw==
X-Google-Smtp-Source: APXvYqyTLtqArrnga5lgXqbFbiq237E9Jnly3/o1/9r6flqU6jBxnEloukU3BwJRVoCT1v59qRBtEmXwCZPvKzB49xQ=
X-Received: by 2002:adf:f850:: with SMTP id d16mr7298932wrq.161.1578524428532; Wed, 08 Jan 2020 15:00:28 -0800 (PST)
MIME-Version: 1.0
References: <29380.1565102380@localhost> <BL0PR06MB50428065032ECC2AB3345F619AD70@BL0PR06MB5042.namprd06.prod.outlook.com> <7505.1565633977@localhost> <BL0PR06MB50424C618A704460E4A8F8D99AA90@BL0PR06MB5042.namprd06.prod.outlook.com> <18990.1577231446@localhost>
In-Reply-To: <18990.1577231446@localhost>
From: Ivaylo Petrov <ivaylo@ackl.io>
Date: Thu, 09 Jan 2020 00:00:02 +0100
Message-ID: <CAJFkdRyWOfCb4U09rEJ-ZMR3GUuk-rmQ+f3Fs164Mxs8qkeVuw@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: core <core@ietf.org>, Michel Veillette <Michel.Veillette@trilliant.com>, "a@ackl.io" <a@ackl.io>, consultancy <consultancy@vanderstok.org>
Content-Type: multipart/alternative; boundary="000000000000d51181059ba8dbc8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/8Fb-DIQQuHvVjP_pTwzxHR5VWYg>
Subject: Re: [core] progressing ietf-core-yang-cbor and ietf-core-sid
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 08 Jan 2020 23:00:36 -0000

Hello Michael,

See my comment below.

Best regards,
Ivaylo

On Wed, Dec 25, 2019 at 12:50 AM Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
> {trying to clear out my inbox}
>
> Michel Veillette <Michel.Veillette@trilliant.com> laments:
>     > The file "ietf-constrained-voucher@2019-08-01.yang" is constructed
> with
>     > an "import ietf-voucher" and a "uses v:voucher-artifact-grouping".
> For
>     > this reason, part of the "yang-data voucher-constrained-artifact" is
>     > defined in "ietf-voucher" with SIDs assigned within the scope of this
>     > module.
>
>     > This example raises an interesting point. "ietf-voucher" have been
>     > defined without considering a possible constrained implementation and
>     > have no SID list or .sid file included in RFC 8366. SIDs has been
>     > assigned after the fact, as allowed by
>     > https://tools.ietf.org/html/draft-ietf-core-sid-07#section-3. If we
>     > include a SID list or .sid file for
>     > "ietf-constrained-voucher@2019-08-01.yang", part of the SIDs will
> be in
>     > a RFC, the rest won't. To avoid such situation, we should rely
> entirely
>     > on an IANA registry for all .sid files defined by RFCs.
>
> I am still uncertain how this is going to work.
>

IP: Let me try to summarize how the sid range obtaining and allowaction
process is currently defined and please let me know if it is still not
clear enough or if you have any concerns. After that I share some thoughts
for module updates.

* In order for a draft author to obtain a SID range from IANA prior to
publication, the person needs to convince the chairs or AD that this early
allocation is needed as described in RFC7120. After that this request can
be forwarded to the designated experts that will approve it and it will be
reflected on the IANA registry.
If the author does not want to go through the trouble of early allocation
there are two cases:
  - the RFC is already published - then as it is specified in sec 6.3.2 ,
the experts will check that there is an RFC and the registration will be
done upon request.
  - the RFC is being processed by IANA right before publication - then the
same procedure is triggered by IANA as if the RFC is already published and
another party requests the range.
* Once the author has the range, he can generate the .sid file. Once there
is a published RFC or IANA is processing a document that is ready for
publication, the experts will be contacted and after that the .sid file
will be added to "IETF SID Registry”. I can see how it could be difficult
to generate the .sid file if you don't have the range, but for me this can
be achieved with appropriate instructions to the RFC editor.

I am not sure to correctly understand the citation in your email, so please
forgive me if I have completely missing the point, but for me it should
either be covered by what I have written so far or it should be related to
updating a YANG module. For me it is simpler if a module is updated to have
its .sid file updated as well (provided it has one).

If this is done, the situation where a module M1 is updated and it is used
by another module M2 would not cause issues as it is should match the case
where the SIDs are generated for the first time. On the other hand, if
someone else generates a .sid file that includes the extra values that come
from the new version of module M1, this is not going to cause real issues
as there could be two SID values that represent the same YANG item, which
means that the .sid file for M1 can still be updated.

>
> I have not seen any progress on:
>   1) https://datatracker.ietf.org/doc/draft-ietf-core-yang-cbor/
>   2) https://datatracker.ietf.org/doc/draft-ietf-core-sid/
>
> At IETF105, it seemed that the documents were unstuck, and would progress
> to WGLC soon.  Is there something holding this up other than author time?
>
> IP: I believe that this is resolved now.


> I think that allocations were made for ietf-anima-constrained-voucher, but
> I
> guess that was in the github version only.
>
> --
> Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
>  -= IPv6 IoT consulting =-
>
>
>
>