Return-Path: <esko.dijk@iotconsultancy.nl>
X-Original-To: anima@mail2.ietf.org
Delivered-To: anima@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1])
	by mail2.ietf.org (Postfix) with ESMTP id A78207A63F98
	for <anima@mail2.ietf.org>; Wed, 22 Oct 2025 08:24:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level: 
X-Spam-Status: No, score=-2.095 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, HTML_MESSAGE=0.001,
	RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,
	RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
	RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key)
	header.d=iotconsultancy.nl
Received: from mail2.ietf.org ([166.84.6.31])
	by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id z_3Nk-CtD7B5 for <anima@mail2.ietf.org>;
	Wed, 22 Oct 2025 08:24:26 -0700 (PDT)
Received: from dane.soverin.net (dane.soverin.net [185.233.34.11])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256)
	(No client certificate requested)
	by mail2.ietf.org (Postfix) with ESMTPS id 8042C7A63F8E
	for <anima@ietf.org>; Wed, 22 Oct 2025 08:24:26 -0700 (PDT)
Received: from smtp.soverin.net (unknown [10.10.4.74])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange x25519)
	(No client certificate requested)
	by dane.soverin.net (Postfix) with ESMTPS id 4csCcz2Hpfz1WWk;
	Wed, 22 Oct 2025 15:24:19 +0000 (UTC)
Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by
 soverin.net (Postfix) with ESMTPSA id 4csCcy5t9kz1d;
	Wed, 22 Oct 2025 15:24:18 +0000 (UTC)
Authentication-Results: smtp.soverin.net;
	dkim=pass (2048-bit key;
 unprotected) header.d=iotconsultancy.nl header.i=@iotconsultancy.nl
 header.a=rsa-sha256 header.s=soverin1 header.b=A3IHBOcD;
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iotconsultancy.nl;
	s=soverin1; t=1761146659;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references;
	bh=9QU26P6sfwbnQUVEimvfIy8+alw/2Pu3ZW6g5sjiVeU=;
	b=A3IHBOcD9BTtRAozvrW+ZIWxWc1j4JrHRXrtTv5pJzVx/dRaZHNDET8VYvG8UUQDY4luG2
	lNVVg5qZzxThF4eIObbSWffuyhD3Byc1Fp7UEesQDlENCf0DvVOSkKXwB5i1ieqPmb9J4V
	Ih+Y8xvAhO541MRhp8jP7cv7lrSIWHisVw9WslUoPzB7meVEXvSyzYQnVqM0RuP4Q9GpHb
	yx6iw1Z2NecDkx13cRM54bN99BPnf7FaorwtWU9E960I171HsRb8euYvtgTXDM8SUZ2ogz
	QH7tUOzQU2WsRfFl08OBtPtbeb0XHlpRVJi0jIhI8EF6f1C1cyWaF2d0z2BDzw==
X-CM-Envelope: 
 MS4xfNl0ugGCKDsyZHX9/ayPa+58py0eG6qy+zT0XQOuRfftuU0hB88blhsOk/pLI9M5pKnCF4Z2lF7OCLpfChTvZQOYmQwhcK0GmnxOly3EboQC8XZToq9g
 XgAo3cIhHAlbTK3jkJoGdGVIfJTgLGuDyFbyrIJwJ0jzYs5/lrISzPWTYZbvChNvgo6l1ngTxNLrz2DPCRCII8bCS4OaZ5RS004ia0HiVG34FYFN7rbivpNP
Content-Type: multipart/alternative;
 boundary="------------H8u9ypJHZ2lO5t0tt0Ov8Oy0"
Message-ID: <3b3929bb-32ec-4855-bf8d-eadca96dc796@iotconsultancy.nl>
Date: Wed, 22 Oct 2025 17:24:18 +0200
MIME-Version: 1.0
To: Michael Richardson <mcr+ietf@sandelman.ca>
References: <5124478f-eb4e-485c-aa15-501a9ba99e98@iotconsultancy.nl>
 <27008.1760999205@obiwan.sandelman.ca>
Content-Language: en-US
From: Esko Dijk <esko.dijk@iotconsultancy.nl>
Organization: IoTconsultancy.nl
In-Reply-To: <27008.1760999205@obiwan.sandelman.ca>
X-Spampanel-Class: ham
Message-ID-Hash: R7W3S5KAM3HI6OEHRX3ZTUMSDRCP5DLH
X-Message-ID-Hash: R7W3S5KAM3HI6OEHRX3ZTUMSDRCP5DLH
X-MailFrom: esko.dijk@iotconsultancy.nl
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency;
 loop; banned-address; member-moderation; header-match-anima.ietf.org-0;
 nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size;
 news-moderation; no-subject; digests; suspicious-header
CC: "anima@ietf.org" <anima@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: =?utf-8?q?=5BAnima=5D_Re=3A_WGLC_review_of_draft-ietf-anima-rfc8366bis-14_/_?=
 =?utf-8?q?Invite_for_a_SID_party?=
List-Id:  Autonomic Networking Integrated Model and Approach <anima.ietf.org>
Archived-At: 
 <https://mailarchive.ietf.org/arch/msg/anima/RxVFhp5I3T63Ezlet8Fig6kvdFs>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Owner: <mailto:anima-owner@ietf.org>
List-Post: <mailto:anima@ietf.org>
List-Subscribe: <mailto:anima-join@ietf.org>
List-Unsubscribe: <mailto:anima-leave@ietf.org>

This is a multi-part message in MIME format.
--------------H8u9ypJHZ2lO5t0tt0Ov8Oy0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

During the hackathon we might take a closer look into the YANG and 
8366bis details?

For me the "make" didn't work immediately due to a missing semicolon - 
created https://github.com/anima-wg/voucher/pull/87 for this.
Also my (latest) pyang 2.7.1 doesn't support the "--generate-sid-file" 
option, but it needs to be "--sid-generate-file".

Doing custom PRs/patches for pyang is also an option at the hackathon. 
But in this case the build process would only work for those people 
who've installed these patches.

When I try SID generation on my machine, the file and the paths look 
really different: for example the "choice nonceless" and "choice 
pinning" elements also gets a name assigned in the overall 
path/identifier. And a SID value also.
Overall it looks completely different from our draft - maybe I've used 
the wrong parameters?

   pyang --verbose --sid-generate-file 2450:50 ietf-voucher-test.yang

This doesn't preserve the previously defined SID values in our draft, 
however.

One way to possibly get rid of some issues would be removing all 
"choice" elements from the YANG. This avoids SID values being allocated 
for the choice elements themselves.

(To be continued...)

Esko


On the PYANG tool related issues:

On 21-10-2025 00:26, Michael Richardson wrote:
> Esko Dijk<esko.dijk@iotconsultancy.nl> wrote:
>      > I've reviewed draft-ietf-anima-rfc8366bis-14 as part of the WGLC; with
>      > issues/questions listed below and some editorial updates proposed in a PR.
>      > (See:https://github.com/anima-wg/voucher/pull/85)
>
> Thank you.
> I've been fighting PYANG things for a few hours (DAYS?!), and I've run out of
> time now.  So I'm posting -16 with updates that I have.  More details later.
>
>      > *** Section 7.4
>
>      > Some items have 2 SIDs assigned: additional-configuration-url, est-domain,
>      > expires-on.
>
> Yes, this is the thing I'm fighting.
>
>      > *** Section 7.5
>
>      > "In JSON serialization, these extensions require a unique name, and this MUST
>      > be allocated by IANA. The name MUST be the same as the YANG module name. "
>      -> this is unclear to me. If every extension has the same name, it's not
>      > unique and not useful.
>
>      > *** Section 8.1
>      > Again like in 7.1, why are some items/leaves outside of the "voucher"
>      > element?
>
> Yes. ARGH.
>
>      > In the YANG, the name of RFC XXXX differs from the actual name - same thing
>      > as in 7.3.
>
> The RPC will s/XXXX/1234/ when they assign the number.
>
> I got as far as:
>
>      > The boilerplate BCP text is included twice in the same field:
>
> Sorry.
>
> --
> Michael Richardson<mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
>             Sandelman Software Works Inc, Ottawa and Worldwide
>
>
>
>

-- 
*IoTconsultancy.nl* | Email/Teams: esko.dijk@iotconsultancy.nl | +31 6 
2385 8339

--------------H8u9ypJHZ2lO5t0tt0Ov8Oy0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    During the hackathon we might take a closer look into the YANG and
    8366bis details?<br>
    <br>
    For me the "make" didn't work immediately due to a missing semicolon
    - created <a class="moz-txt-link-freetext" href="https://github.com/anima-wg/voucher/pull/87">https://github.com/anima-wg/voucher/pull/87</a> for this.<br>
    Also my (latest) pyang 2.7.1 doesn't support the
    "--generate-sid-file" option, but it needs to be
    "--sid-generate-file". <br>
    <br>
    Doing custom PRs/patches for pyang is also an option at the
    hackathon. But in this case the build process would only work for
    those people who've installed these patches.<br>
    <br>
    When I try SID generation on my machine, the file and the paths look
    really different: for example the "choice nonceless" and "choice
    pinning" elements also gets a name assigned in the overall
    path/identifier. And a SID value also.<br>
    Overall it looks completely different from our draft - maybe I've
    used the wrong parameters?<br>
    <br>
      pyang --verbose --sid-generate-file 2450:50 ietf-voucher-test.yang<br>
    <br>
    This doesn't preserve the previously defined SID values in our
    draft, however.<br>
    <br>
    One way to possibly get rid of some issues would be removing all
    "choice" elements from the YANG. This avoids SID values being
    allocated for the choice elements themselves.<br>
    <br>
    (To be continued...)<br>
    <br>
    Esko<br>
    <br>
    <br>
    On the PYANG tool related issues: <br>
    <br>
    <div class="moz-cite-prefix">On 21-10-2025 00:26, Michael Richardson
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:27008.1760999205@obiwan.sandelman.ca">
      <pre wrap="" class="moz-quote-pre">
Esko Dijk <a class="moz-txt-link-rfc2396E" href="mailto:esko.dijk@iotconsultancy.nl">&lt;esko.dijk@iotconsultancy.nl&gt;</a> wrote:
    &gt; I've reviewed draft-ietf-anima-rfc8366bis-14 as part of the WGLC; with
    &gt; issues/questions listed below and some editorial updates proposed in a PR.
    &gt; (See: <a class="moz-txt-link-freetext" href="https://github.com/anima-wg/voucher/pull/85">https://github.com/anima-wg/voucher/pull/85</a>)

Thank you.
I've been fighting PYANG things for a few hours (DAYS?!), and I've run out of
time now.  So I'm posting -16 with updates that I have.  More details later.

    &gt; *** Section 7.4

    &gt; Some items have 2 SIDs assigned: additional-configuration-url, est-domain,
    &gt; expires-on.

Yes, this is the thing I'm fighting.

    &gt; *** Section 7.5

    &gt; "In JSON serialization, these extensions require a unique name, and this MUST
    &gt; be allocated by IANA. The name MUST be the same as the YANG module name. "
    -&gt; this is unclear to me. If every extension has the same name, it's not
    &gt; unique and not useful.

    &gt; *** Section 8.1
    &gt; Again like in 7.1, why are some items/leaves outside of the "voucher"
    &gt; element?

Yes. ARGH.

    &gt; In the YANG, the name of RFC XXXX differs from the actual name - same thing
    &gt; as in 7.3.

The RPC will s/XXXX/1234/ when they assign the number.

I got as far as:

    &gt; The boilerplate BCP text is included twice in the same field:

Sorry.

--
Michael Richardson <a class="moz-txt-link-rfc2396E" href="mailto:mcr+IETF@sandelman.ca">&lt;mcr+IETF@sandelman.ca&gt;</a>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide




</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <b>IoTconsultancy.nl</b> | Email/Teams:
      <a class="moz-txt-link-abbreviated" href="mailto:esko.dijk@iotconsultancy.nl">esko.dijk@iotconsultancy.nl</a> | +31 6 2385 8339</div>
    <br>
  </body>
</html>

--------------H8u9ypJHZ2lO5t0tt0Ov8Oy0--

