Re: [core] [Ext] RE: Robert Wilton's Discuss on draft-ietf-core-sid-21: (with DISCUSS and COMMENT)

Amanda Baber <amanda.baber@iana.org> Thu, 19 October 2023 19:27 UTC

Return-Path: <amanda.baber@iana.org>
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 9EA60C17C523; Thu, 19 Oct 2023 12:27:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.904
X-Spam-Level:
X-Spam-Status: No, score=-1.904 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LZmqGrZSaCLz; Thu, 19 Oct 2023 12:27:25 -0700 (PDT)
Received: from ppa4.dc.icann.org (ppa4.dc.icann.org [192.0.46.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F03CC17C520; Thu, 19 Oct 2023 12:27:25 -0700 (PDT)
Received: from MBX112-W2-CO-2.pexch112.icann.org (out.mail.icann.org [64.78.33.6]) by ppa4.dc.icann.org (8.17.1.24/8.17.1.24) with ESMTPS id 39JJRIix014795 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Oct 2023 12:27:18 -0700
Received: from MBX112-W2-CO-2.pexch112.icann.org (10.226.41.130) by MBX112-W2-CO-1.pexch112.icann.org (10.226.41.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.25; Thu, 19 Oct 2023 12:27:16 -0700
Received: from MBX112-W2-CO-2.pexch112.icann.org ([10.226.41.130]) by MBX112-W2-CO-2.pexch112.icann.org ([10.226.41.130]) with mapi id 15.02.1258.025; Thu, 19 Oct 2023 12:27:16 -0700
From: Amanda Baber <amanda.baber@iana.org>
To: "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>, Carsten Bormann <cabo@tzi.org>
CC: The IESG <iesg@ietf.org>, "draft-ietf-core-sid@ietf.org" <draft-ietf-core-sid@ietf.org>, "core-chairs@ietf.org" <core-chairs@ietf.org>, core <core@ietf.org>, Jaime Jiménez <jaime@iki.fi>, "francesca.palombini@ericsson.com" <francesca.palombini@ericsson.com>, Sabrina Tanamal <sabrina.tanamal@iana.org>
Thread-Topic: [Ext] RE: Robert Wilton's Discuss on draft-ietf-core-sid-21: (with DISCUSS and COMMENT)
Thread-Index: AQHaArRdCSTDP7CECEK3sa+7knAE7bBRfw6A
Date: Thu, 19 Oct 2023 19:27:16 +0000
Message-ID: <73E5B534-FA79-4B64-8867-E93EE1117FB0@iana.org>
References: <16ED38BB-4D4E-49B4-803C-40FAB45617CB@iana.org>
In-Reply-To: <16ED38BB-4D4E-49B4-803C-40FAB45617CB@iana.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.63.22070801
x-originating-ip: [192.0.32.234]
x-source-routing-agent: True
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha256"; boundary="B_3780563221_2636809516"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-19_19,2023-10-19_01,2023-05-22_02
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/EXvyB97IAopFzGS2KaS5YmD751g>
Subject: Re: [core] [Ext] RE: Robert Wilton's Discuss on draft-ietf-core-sid-21: (with DISCUSS and COMMENT)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
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, 19 Oct 2023 19:27:29 -0000

Sorry, two more questions: would the experts need to check the SID files after IANA extracts them? If so, would it make more sense to just have the experts supply the files to IANA? That was the plan a few years ago, I believe.

Amanda

On 10/19/23, 10:47 AM, "Amanda Baber" <amanda.baber@iana.org> wrote:

    Hi Rob,

    If the tool can be used by anyone, with no knowledge of SID/YANG required, IANA can extract them just as we extract YANG files. Otherwise, we'd ask that experts provide them.

    To avoid discrepancies, we'd expect to extract the SID (if desired) and YANG files at the same time. The practice for YANG files has been to extract them immediately after RFC publication.

    Do we need to talk about generating SIDs for existing YANG files in the IANA registry at this time, or is that a separate discussion? 

    Thanks,
    Amanda

    On 10/19/23, 9:15 AM, "iesg on behalf of Rob Wilton (rwilton)" <iesg-bounces@ietf.org on behalf of rwilton=40cisco.com@dmarc.ietf.org> wrote:

        [Explicitly cc'ing Francesca and Sabrina to keep me honest and make sure I've not forgotten anything]

        Hi Carsten,

        We did spend 10 min discussing this on the telechat today.

        In summary, but I think that Subrina still needs to check, it sounds like IANA should be able to run some tooling (which we will need to provide) to generate an updated final SID file during the RFC publication cycle, i.e., this would be done at the same time the YANG module is being extracted.  Once generated/updated, the SID file should be checked with the authors and a designated expert on SID allocations for IETF YANG modules.

        In terms of how SID files are managed during the IETF process, what I suggested today (and didn't get any verbal push back from other ADs) was:

        1) Authors should have the option of not including/maintaining a SID file, if the protocol isn't obviously going to be needed/used by constrained devices.  Instead, IANA will create (or update the existing) SID file during the RFC publication process.
        2) Authors may include a SID file during YANG module development.  The authors can decide whether they prefer to keep the SID file in the internet draft, or to just store a stable reference to it.  In either case, the authors have responsibility for updating the SID file as the ID and YANG modules evolve and IANA only gets involved during the RFC publication phase.

        Does a process like the above sound reasonable to the authors/WG, and if, would you be able to suggest text?

        Regards,
        Rob


        > -----Original Message-----
        > From: Rob Wilton (rwilton)
        > Sent: Thursday, October 19, 2023 2:48 PM
        > To: Carsten Bormann <cabo@tzi.org>
        > Cc: The IESG <iesg@ietf.org>; draft-ietf-core-sid@ietf.org; core-chairs@ietf.org;
        > core <core@ietf.org>; Jaime Jiménez <jaime@iki.fi>
        > Subject: RE: Robert Wilton's Discuss on draft-ietf-core-sid-21: (with DISCUSS and
        > COMMENT)
        > 
        > Hi Carsten,
        > 
        > For context, this doc is on the telechat next Thursday, but I'm hoping that we
        > can have some level of discussion on this today to try and help this move
        > forward expediently.
        > 
        > Please see inline ...
        > 
        > > -----Original Message-----
        > > From: Carsten Bormann <cabo@tzi.org>
        > > Sent: Thursday, October 19, 2023 2:30 PM
        > > To: Rob Wilton (rwilton) <rwilton@cisco.com>
        > > Cc: The IESG <iesg@ietf.org>; draft-ietf-core-sid@ietf.org; core-
        > chairs@ietf.org;
        > > core <core@ietf.org>; Jaime Jiménez <jaime@iki.fi>
        > > Subject: Re: Robert Wilton's Discuss on draft-ietf-core-sid-21: (with DISCUSS
        > and
        > > COMMENT)
        > >
        > > Hi Rob,
        > >
        > > let me quickly comment on your DISCUSS content; a full response will come
        > > later.
        > >
        > > > On 19. Oct 2023, at 13:15, Robert Wilton via Datatracker
        > <noreply@ietf.org>
        > > wrote:
        > > >
        > > > Robert Wilton has entered the following ballot position for
        > > > draft-ietf-core-sid-21: Discuss
        > > >
        > > > The document, along with other ballot positions, can be found here:
        > > > https://urldefense.com/v3/__https://datatracker.ietf.org/doc/draft-ietf-core-sid/__;!!PtGJab4!6XkG71BBFuldXYNsZtfKWF7qQAWzES5klPGzICnjC2VCWcikCaZkDLAItunjugdqyLxEBECAxj5Ywtz_zLCcWocVorPVh0YY44A-jSo$ [datatracker[.]ietf[.]org]
        > > >
        > > >
        > > >
        > > > ----------------------------------------------------------------------
        > > > DISCUSS:
        > > > ----------------------------------------------------------------------
        > > >
        > > > Hi authors,
        > > >
        > > > Apologies for putting yet another discuss on this document - I promise that I
        > > > support it and want to see it published - but there are a couple of process
        > > > related aspects for creating/managing SID files in drafts that I want to
        > ensure
        > > > that the IESG is at very least aware of and happy with.
        > > >
        > > > (1) p 23, sec 6.4.3.  Publication of the ".sid" file
        > > >
        > > >   For a YANG module approved for publication as an RFC, a ".sid" file
        > > >   SHOULD be included in the Internet-Draft as a source code block.
        > > >
        > > > I'm wondering if this is really the best approach.
        > >
        > > I personally think that in the long run, in the course of embracing formal
        > > methods more, we want to have “attachments” to Internet-Drafts.  But we
        > don’t
        > > have (or need) this now:
        > [Rob Wilton (rwilton)]
        > Agreed, to both points.  I think that we need to find a way to stop
        > publishing/managing code within RFCs.
        > 
        > 
        > >
        > > > I.e., I think to guarantee
        > > > that the SID file is correct at the point of pulication (e.g., if names of YANG
        > > > data nodes are changed using IESG review or later) will probably require the
        > > > RFC-Editor (or IANA) to run some tooling to regenerate it and ensure that it
        > is
        > > > correct.
        > >
        > > Indeed.  We do have (and daily use) tooling to extract the content of
        > > <sourcecode elements from XML files.
        > > These typically run through a CI pipeline to do automated checks (well, some
        > of
        > > the pipelines are still manually triggered, but the checks are automatic).
        > > The extracted content can also be fed into other tools.
        > [Rob Wilton (rwilton)]
        > 
        > Yes, I think that this is what we need to get to or assume that we will have to.
        > I.e., some tooling that can generate this, and an agreement from (probably
        > IANA, or possibly the RFC editor) that they will be happy to run this tooling at
        > the appropriate stage in the pipeline and evoke the authors + designated
        > experts to check the output.
        > 
        > 
        > >
        > > > Hence for YANG modules that are not being directly used in
        > > > constrained environments then would it be better to ask IANA (if they are
        > > > willing, and if the tooling is easy) to generate it during AUTH-48?  Note, this
        > > > discussion will presumably require IANA's input.
        > >
        > > We can ask IANA to do the routine part.  I still think a designated expert
        > should
        > > look at the result.
        > [Rob Wilton (rwilton)]
        > Also agree.
        > 
        > 
        > >
        > > > (2) p 27, sec 6.5.3.  Recursive Allocation of YANG SID Range at Document
        > > > Adoption
        > > >
        > > >   *  If the document is a published RFC, then the allocation of SIDs
        > > >      for its referenced YANG modules is permanent.  The Expert Reviewer
        > > >      provides the generated ".sid" file to IANA for registration.  This
        > > >      process may be time-consuming during a bootstrap period (there are
        > > >      over 100 YANG modules to date, none of which have SID
        > > >      allocations), but should quiet down once needed entries are
        > > >      allocated.
        > > >
        > > > Would it not be easier just to go through all the published RFCs containing
        > > > YANG modules and allocate SID files for them?
        > >
        > > Yes!
        > > (The DE can do that and check the results, or IANA can do it after agreeing
        > with
        > > the DE on some tooling parameters.)
        > >
        > > Unfortunately, we first have to declare victory on fixing PYANG (or generating
        > > another tool) do to this generation in a reliable way.
        > > We are so close...
        > > On the list for IETF 118 hackathon…
        > [Rob Wilton (rwilton)]
        > 
        > Okay, Per Anderrson (perander@cisco.com) was planning on doing some
        > different pyang related hacking at this hackathon, so perhaps see if he is
        > interested in helping.  If you want you can also cc me on your plans and then I
        > may be able to help on Saturday, if I can find the time.  Joe Clarke might be
        > someone else to also reach out to.
        > 
        > For this document, the answer may be to just cut the text regarding the
        > bootstrap period, and just document want happens if a SID file doesn't already
        > exist.  The bootstrapping process, if it happens, probably doesn't need to
        > documented in an RFC.
        > 
        > Regards,
        > Rob
        > 
        > 
        > >
        > > Grüße, Carsten