[core] CORE-SID and SX:structure and draft-ietf-anima-rfc8366bis-01.txt

Michael Richardson <mcr+ietf@sandelman.ca> Wed, 11 January 2023 18:18 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 27E34C15C524; Wed, 11 Jan 2023 10:18:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.397
X-Spam-Level:
X-Spam-Status: No, score=-4.397 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
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 hU0W8oE56m7t; Wed, 11 Jan 2023 10:18:09 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1A608C1782A4; Wed, 11 Jan 2023 10:18:08 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id D637638995; Wed, 11 Jan 2023 13:46:49 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8FyYfnaJp3Wa; Wed, 11 Jan 2023 13:46:45 -0500 (EST)
Received: from sandelman.ca (unknown [IPv6:2607:f0b0:f:2:56b2:3ff:fe0b:d84]) by tuna.sandelman.ca (Postfix) with ESMTP id C73AD38994; Wed, 11 Jan 2023 13:46:45 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1673462805; bh=kjmQsqJON60Y2jchSAIS/ndGVYEF/ZFtld4vU1iVBds=; h=From:To:cc:Subject:In-Reply-To:References:Date:From; b=seDAZ0/YSVpZzNx6u6s6E1zAXtBvTMTGgpGiRni82vzSBg7xCB+PqD6/Rh5xFX5w+ 0Q7hC70HAXRjVMc0ne6yP9vzwcMrGhyXvGL+XTlcrFWFc8UALOpx1J/8XUCZCPmOSc LxXgGAlJdyNoqjz2FAmyXrN7C10XZEf8KucetzKh1WCf0y0TI3yZYgxYUNZ5NP1co4 5ZIsLzW1wvqilqVB7hXl82z9cZfM8pnAmOoKqm+W/8Kl7LWFL8t+Np6lfsA6W6tawB TLJTbRnISoBUhSAXsN2j0Ox27ZZKRA5HvMmGTrghoTXKa9wRSE7y7FDXKvjt9677Gs cZhfSoWWNhRJg==
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 4D01B121; Wed, 11 Jan 2023 13:18:02 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: anima@ietf.org, netmod@ietf.org
cc: core@ietf.org
In-Reply-To: <167345911024.15670.5822349028239537605@ietfa.amsl.com>
References: <167345911024.15670.5822349028239537605@ietfa.amsl.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 27.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Wed, 11 Jan 2023 13:18:02 -0500
Message-ID: <18071.1673461082@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/NCOVvxLtEze9TXDsbfjInYXKXi0>
Subject: [core] CORE-SID and SX:structure and draft-ietf-anima-rfc8366bis-01.txt
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: Wed, 11 Jan 2023 18:18:13 -0000

TL;DR> we can not use augment to get the behaviour that we want of being to
       extend existing YANG modules with new attributes.  We have to revise
       8366 each time we want extend things.  This email details the work to
       make that occur.

internet-drafts@ietf.org wrote:
    > Title           : A Voucher Artifact for Bootstrapping Protocols
    > Authors         : Kent Watsen

    > A diff from the previous version is available at:
    > https://author-tools.ietf.org/iddiff?url2=draft-ietf-anima-rfc8366bis-01

* I have revised the ietf-voucher YANG module to use sx:structure (RFC8971)
  rather than YANG-DATA (RFC8040).  I seem to have missed doing this for
  voucher-request, which I'll fix in the next revision.

* I have worked on pyang so that it will produce SID values for the
  sx:structure extension. The pull request is at:
  https://github.com/mbj4668/pyang/pull/839
  As I suspected, it was about five lines of changes.
  I have some test cases for pyang for this, but I'm struggling to get
  pyang's "make test" to finish period.

* It seems that the assignment of SID values between YANG-DATA and
  sx:structure is consistent, which is really good.

* As discussed at some of the design team meetings, and I think at IETF115, I
  have merged into the rfc8366bis the ietf-voucher-request content from RFC8995.

* yes, there seem to be duplicate SID values for ietf-voucher-request, and
  I'll sort that out, now that I notice I didn't update it to sx:structure.
  That will be -02.

* I will merge in the changes to ietf-voucher and ietf-voucher-request from
  draft-ietf-anima-constrained-voucher.  At which point, the document title
  will *really really* be wrong, since it won't even contain the voucher,
  just constrained-BRSKI.  But, we fixed the title awhile ago.
  I propose to do this in -03, so one can see a clear progression of changes.

* I will merge in the changes from PRM in -04.

* Since we have to revise rfc8366bis whenever we want to extend or amend the
  YANG module, there seems to be no point in having the
  iana-voucher-assertion-type submodule.  I propose to remove that, and just
  leave it all as a flat enumeration.

* I don't think we can attempt to get to Internet Standard with this
  document.  There will be, I think, too many changes which have not gone through
  interoperability tests.  Perhaps in two years, this could occur via IESG Action.

* The document will need a significant re-edit, and I would ask everyone to
  please read it with the view to: what should we omit, or just reference
  RFC8366, and what do we need to revise given the additional pieces that are
  being merged in.

One thought is that we change our mind about making this a Obsoletes, and
go back to making this document an Updates:, but I am still stting on the
fence for this.






--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide