Re: [core] SID files and IANA

ivaylo petrov <ivaylo@ackl.io> Thu, 25 July 2019 13:56 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 E45AB120043 for <core@ietfa.amsl.com>; Thu, 25 Jul 2019 06:56:30 -0700 (PDT)
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 nxy-LZl82F00 for <core@ietfa.amsl.com>; Thu, 25 Jul 2019 06:56:27 -0700 (PDT)
Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (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 2D35F12001A for <core@ietf.org>; Thu, 25 Jul 2019 06:56:27 -0700 (PDT)
Received: by mail-wr1-x436.google.com with SMTP id p17so50875776wrf.11 for <core@ietf.org>; Thu, 25 Jul 2019 06:56:27 -0700 (PDT)
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=D91qiI3i2Nz5T5TPxdpc9pF+bS97WeogPpgdsDFg4rA=; b=U1EOq5hpJTRvf534wf/IRHL/LHgZc1dh/rIk3wHkjWOzEyElifaN6I4frZjgQJajzX xUOc8VuMg4xP8+orgwy575k4od/3j9GownicwD8HeiM0epCxq/ak2quTElUDdMsbn3Bt c2B/RnFXfxHOj4xehl0zZRehRFnZx0UUrSs/65tHSJ73O5Tzw7moXuhgZFVTGb9xx5oq gljvlW2q4FqiCgOIyQi4M37+1UJRGG21X9ty8OKFHGG6LxmUhk7PHpChdHURGl2XMdzt Ut8/Hyl2NQ2xqnTn01tyFfY1PNO9D3+QxBYFfyjGJ54T9AIXIL+9FHt0K/Ix+D7f2p1b AK/w==
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=D91qiI3i2Nz5T5TPxdpc9pF+bS97WeogPpgdsDFg4rA=; b=E/MWb9pbh1AQv7W5/S4JNaInZcqavF4eY1A/gp0ysX86f03jGS5tU9K4cZ5/NWzxTs IKhW+/DOfKsYT2zL3SoTUOarFwYh6oNJJELmfoDxcGsSlhRqx/+giFDr9Xinq5EKESld QCF/jw7c+FvDfLSRHyPbng0jEy3A/e4XoUSVQ+aIPaxhzveXXUBq5d3jHgF4+p9cWSg9 NQreTjUur5Sg7uzMbdAoRvY1+5kA3O988ccw+S31tEBgoKY3O/V9TXdLf6YU6Zemu30j /WhOBFUp6ogB/ncim+OQRKqGn/kp5VIDgWUz6ud/2Zw6wbDBPov8C9ta/OHq8GdyjgFI 5p7Q==
X-Gm-Message-State: APjAAAV3awVJ6sBvGa20QIn5S5jpqrOgPmZopN9VERh50siHIzBsrnIc wFnYagAK/jZhk6DCyumQ/ZLK8jrpDAqgFgd0B1fhKhow
X-Google-Smtp-Source: APXvYqzfG0EtoWQU616H0knIGbyU9jRiY2zl4uyACbfaBXSAXEx/+kKtM5cFiqgEHI4bx+uyU39w462kRTZsfJcwJ6s=
X-Received: by 2002:adf:80e1:: with SMTP id 88mr8922931wrl.127.1564062985618; Thu, 25 Jul 2019 06:56:25 -0700 (PDT)
MIME-Version: 1.0
References: <16149.1564022542@dooku.sandelman.ca>
In-Reply-To: <16149.1564022542@dooku.sandelman.ca>
From: ivaylo petrov <ivaylo@ackl.io>
Date: Thu, 25 Jul 2019 09:56:15 -0400
Message-ID: <CAJFkdRxpNL_cVJ2pX8f=4uqo-mbUirSBuxgzb60Z18QC3s2uDw@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: core <core@ietf.org>, michelle.cotton@icann.org
Content-Type: multipart/alternative; boundary="000000000000aa1905058e81caf6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/vaF3eJZlxoHxtqvuJMUUrXIAWP8>
Subject: Re: [core] SID files and IANA
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: Thu, 25 Jul 2019 13:56:31 -0000

Hello Michael,

I am sure Michelle will let us know if that is their understanding as well,
but here are my answers.

I believe that we had agreed with IANA that it is possible to use RFC7120
early allocation process for SID allocation. This means that when there is
enough interest and the document is stable enough etc, you can request SID
range allocation as described in 6.3. Alternatively, your range can be
allocated during IANA consideration review.

Now about how your SID file gets to IANA (point 1), my understanding is
that you can include your SID file in your document so that it can be added
automatically to the IANA registry after the process is followed (expert
review, etc). Alternatively, if you want to add your SID file after the RFC
is published (your point 3), you should contact IANA with all the necessary
information. After an expert review, your allocation could be handled.

About your point 2), there is no way to change existing SIDs that has
already been published. Now for the file, as it points to a yang module, if
there is a new version of the yang file, which is already guarded, I don't
see any problem for anyone to request updating of the SID file. This will
not change any existing SIDs, just possibly add new ones. For that reason I
am not sure locking is needed. Please let me know if you know of a specific
case where that might be.

Then about your point 4), IANA is not going to do the generation. This is
something the authors will have to do I am afraid. The experts will have to
verify that this generation is acceptable.

Given that draft-ietf-anima-constrained-voucher is past WGLC, I personally
don't see any problem to add it to the initial SID range allocations (sec
6.3.3) with a new range (as IANA is not responsible for the mega range that
you have mentioned). That being said, I want to be sure that the SID draft
will not be delayed in case that draft is delayed for any reason, so maybe
we will need to discuss.

Best regards,
Ivaylo



On Wed, Jul 24, 2019 at 10:42 PM Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
> {Michelle told me to CC her, but I'm not sure if this is the email she
> wanted
> me to use}
>
> As https://datatracker.ietf.org/doc/draft-ietf-core-yang-cbor/
> and https://datatracker.ietf.org/doc/draft-ietf-core-sid/
>
> approach WGLC, Panos, Peter and I have been wondering in our editing of
> https://datatracker.ietf.org/doc/draft-ietf-anima-constrained-voucher/
>
> we have struggled a bit with the SID generation process.
>
> draft-ietf-core-sid says:
> 6.4.1.  Structure
>
>    Each entry in this registry must include:
>
>    o  The YANG module name.  This module name must be present in the
>       "Name" column of the "YANG Module Names" registry.
>
>    o  A link to the associated ".yang" file.  This file link must be
>       present in the "File" column of the "YANG Module Names" registry.
>
>    o  The link to the ".sid" file which defines the allocation.
>
>    o  The number of actually allocated SIDs in the ".sid" file.
>
>    The ".sid" file is stored by IANA.
>
>
> It is this the last part that I think is not well enough defined.
> 1) How does the file get to IANA?  Is it published in the RFC
>    along with the initial YANG module?    This clearly only
>    works for YANG modules that come to IANA via RFC, and the SID
>    IANA Considerations makes it clear that SIDs will be allocated
>    via a hierarchial process of mega-ranges.
>
> 2) Does the sid file need some kind of advisory locking process,
>    such that only a single internet-draft effort can update things
>    to make bis versions of YANG modules.
>
> 3) What is the process going to be to generate SID allocations for
>    existing YANG modules that IANA already has?
>
> 4) Clearly we need to get sid.py upstreamed to pyang, and I expect to
>    take another stab at doing this, but we need to take this process
>    into account into when IANA is ready to take allocations.
>
> 5) https://datatracker.ietf.org/doc/draft-ietf-anima-constrained-voucher/
>    got two 50 SID ranges from comi.space, in the 1,000,000->2,000,000
> space.
>    We'd ask for an early registration, but we can't until the registry
>       is created
>    a) I'd like to know if we are going to allowed to keep this allocation,
>       and if not, I'd like to know now please.
>
>    b) can we go into the 6.3.3 initial registry?  Either with the
>       current allocation, or with a new allocation.
>
>    c) time is pretty important here...
>
>
> --
> Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
>  -= IPv6 IoT consulting =-
>
>
>
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core
>