[netmod] Re: limited WGLC: draft-ietf-netmod-yang-module-filename-10

Andy Bierman <andy@yumaworks.com> Mon, 04 May 2026 19:49 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netmod@mail2.ietf.org
Delivered-To: netmod@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 6635FE8EF5F9 for <netmod@mail2.ietf.org>; Mon, 4 May 2026 12:49:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1777924197; bh=0xyhps53fUWT+BGo181CirzYdZ7Rv90R61Q+b7JrUW8=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=rVukDnTmSvCp87ygR4oVKxEytAWMXDXw6iqerNjC3iaEjch7FQ89fxdO8jtAqZPW7 PQhXfFwTAoKfUHmf5VcwbgTTRTgkikpZRmVQMAcmm1WkHDrxaCf87i6B+i3AkCBJY+ 38pCTFYBoGRvp9grqZknLSrYEpwLOFKkQNRPZQFI=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.com
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 Hw1ViGFa61so for <netmod@mail2.ietf.org>; Mon, 4 May 2026 12:49:52 -0700 (PDT)
Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 56493E8EF5E1 for <netmod@ietf.org>; Mon, 4 May 2026 12:49:52 -0700 (PDT)
Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-5a4002b1183so617957e87.3 for <netmod@ietf.org>; Mon, 04 May 2026 12:49:52 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1777924191; cv=none; d=google.com; s=arc-20240605; b=SQ5BPwqJ/jY/hBOKuR0y/c+eqTGBw5vodiyGa6V9q/DLSvM5B34pvAS1qQVS/ZpN6h QLimr//p3LzGhIyj9UbbiofVrC6t8SSfCbVkWpFWlTjx3CBPUjI9FvNyrljhng/6MNIf y8WPyq4rLh5xviVsrlGJid60HVcOHp8qnfTyRzFb8l12CcskGQPwV1UkjFtSTGXOKvTb BDVDqqXQHy7Rg6mTFnmsz1MCZ4y3gqyBv02wa+4ELxDPUegHZEclVJN0tsTJVhQq0trA 602xgiV0SzF6siLmgKWELxUHXY6qQGRc5JlKi5XfMjO4JHlHYPwui/nKe1VmtiSsHfxo 62Mw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=rTaoz+zU8jTwUulRhfblgBNwhdvpsas6jJbBPhT9tjM=; fh=ObvxLwLBm5XCY8xouC9mAN4cK3bWCa9kiha+53mWArI=; b=Bs/5+0ZMW83E4e+f5afa+SnkV9h9iLTYMMlSm5qLPmDp+TCGC8Z0MBiv82axrqImg5 ElnpPBmFQNAi2gWamWmbPvVtLsC85CniICiN58mXBJIrNcN90GbdSBcEYe6MHC75dx88 pOjYIur4/hupwPkYzsqC2kjdnyka19cmnaVoejtlEM4oU3oXcIuXadnJa9ok4d1FPja5 4EnFZaaMl30k5vydk07F+vSNBBZ6BEAZOu7z4TO+26TpZJs2X1/7UuejTRORsT9pbGcL efbgnMmwibNspIiN/xSL9J72+rTf0wkZRhIIsOdyL5+LasOSbd6WFIZEGfK1iAGdddUS 4AjA==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1777924191; x=1778528991; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rTaoz+zU8jTwUulRhfblgBNwhdvpsas6jJbBPhT9tjM=; b=uUXXYpLi7iJaYLR+MGoWAvN/WIYpFkcZVjF3pOCvHCCc8V5pp0ESvEOHHkWiHblTS2 7yCDRAsxB5OIteo3QrwtC+ND2RoAo0MuT1h89+0/h717T8O0E3pWySNz2dRTTm6SLYW3 UbUL9d9S2HZsLF5VyfO+MJ0eadWN4El8r6UoxWNbovv2nqTjyPd+qOAyI0vE5wmv5akO YRex0rYEetYvvumnvJHovRdYVViswVQqMSjmAPdzvWY+uyxBFfhYZ/JnFrkL7dAyqyAb 5634a1F4uz0d/PGuatk4nZJ2QqES2PE4E3NozHNDTSzTP76dAj7xlVbptN+sFCpw5HBa g56A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777924191; x=1778528991; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=rTaoz+zU8jTwUulRhfblgBNwhdvpsas6jJbBPhT9tjM=; b=gtqhtwohJmUps6akDbEWY/n129sy5Bl1f+IFx2sdmSS9BCX/7QBmZjauqd9wLpXdbN mHoDg79KdZWsxNjT1CoOKHu3KCpLXvqXf8Z5KOOmuYNAeR5njlHNI7BLU/GtHXuNhcJk Xr3efbT5nfXk8c0bcMvD9dwjdbY00u1xxlXFhlTFXK4yKc9NNvEQtwwa5ewD8VqAHYZb o/yatHhrNfrGkaxrAdiqhZiMRXsNndC86n/7x8e6ZIPFT7nhOVtR+jhe5ObXGpIkZLoX G1q4knTtcl4Eqa4yYDIAT3VP+MeWeuVytKGE7lTiMWEv1lc7AJj9EQfa5vWs+mL9ZBh+ rKtQ==
X-Forwarded-Encrypted: i=1; AFNElJ9fKmtelaCvKNGetT/yBEUAziTG/W7i/AOntKrxTWRGC/xQAlzVCnU43ALPda1dS1z6xIOZqSI=@ietf.org
X-Gm-Message-State: AOJu0YxLu9IsRZJbKDZ/rRn3mhetDt9AVavcZ1TQdeHGpL3aabPYpcv0 bisHa/2Crp3AjNgQ/XIzOsIQ7K918yqhsWUB8r6OwAIiS3c+E9Ar3x42LllA8xee3Imb+StH8tO KfqSQwnjDDUY2ko/+1+gN2R3ijxta2KiiAIJeHBbqGpW5XcTsIILF
X-Gm-Gg: AeBDiespXJzB42shbiRbY+mDPMC92hiAbRsCOSRc7wT7Fo1klXWEEIAu/yzNco/LKLy LwJ7q/1lX0tl3rZ9wzwpeKoeSgdaBByrhwLhmHnK/DgJeLRG+ByT/C5ic/PHUF4kX+uvx/vbzUx 4e8sPmNdeja3g8xITuJWhCINCc5A0hVcZmKGw9cumSDa2ijEn/MQWqapItEcFT2AlYTzNfcyMWV BcPYoS3N7+9IILoKrE1XEAJfYlHVDCVRYknbC+PvsQidUn2fVYiNoCplWQnf8VBzTLbqlBMsYvf H00sM/cnR71gATvd
X-Received: by 2002:a05:6512:3e05:b0:5a8:6f8c:24b1 with SMTP id 2adb3069b0e04-5a86f8c2732mr823993e87.1.1777924191000; Mon, 04 May 2026 12:49:51 -0700 (PDT)
MIME-Version: 1.0
References: <177730401914.2011092.54634109784192944@dt-datatracker-b45949c58-5szpr> <78a2b198-c3ba-464e-8a70-f098797098b9@labn.net> <CABCOCHSM8ypDeD=pimVO2brn_2Okr+F8p7jvxSn__Y3bgnsh5A@mail.gmail.com> <CACvbXWHEDkmvPD+SEO4x8F-uVJO7tnPDTkL+ZqeFaC6dYS4uJw@mail.gmail.com> <CABCOCHSJOp3OK0p_KR=pNXu+5cvJii85hzvUjG2Hi42wVxRXZg@mail.gmail.com> <CACvbXWGkbbwkWXRXeXLR+7A4u2u9QT2koj40oJibLJjAc3zYxA@mail.gmail.com>
In-Reply-To: <CACvbXWGkbbwkWXRXeXLR+7A4u2u9QT2koj40oJibLJjAc3zYxA@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 04 May 2026 12:49:39 -0700
X-Gm-Features: AVHnY4L201M0Ql1JVIOxWG_jhS_ucoiXmXK7MMWbWMfE2B4Z-ERVstWZcT1MPo4
Message-ID: <CABCOCHSJU=Xv33cnWEsQfD5Z=Q9OJpj4=bBH7mvcf4k9=+7kzQ@mail.gmail.com>
To: Per Andersson <per.ietf@ionio.se>
Content-Type: multipart/alternative; boundary="000000000000d7ae300651033be9"
Message-ID-Hash: MH6AAGYTEF5AOXCN2CPDHMFZSNTOTPCR
X-Message-ID-Hash: MH6AAGYTEF5AOXCN2CPDHMFZSNTOTPCR
X-MailFrom: andy@yumaworks.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netmod.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: NETMOD Group <netmod@ietf.org>, NetMod WG Chairs <netmod-chairs@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [netmod] Re: limited WGLC: draft-ietf-netmod-yang-module-filename-10
List-Id: NETMOD WG list <netmod.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/hurtVvyVXeVP6hopPGP3iQ47gYo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Owner: <mailto:netmod-owner@ietf.org>
List-Post: <mailto:netmod@ietf.org>
List-Subscribe: <mailto:netmod-join@ietf.org>
List-Unsubscribe: <mailto:netmod-leave@ietf.org>

On Mon, May 4, 2026 at 12:29 PM Per Andersson <per.ietf@ionio.se> wrote:

> On Sun, May 3, 2026 at 6:04 PM Andy Bierman <andy@yumaworks.com> wrote:
> >
> >
> >
> > On Tue, Apr 28, 2026 at 1:51 PM Per Andersson <per.ietf@ionio.se> wrote:
> >>
> >> On Tue, Apr 28, 2026 at 7:53 PM Andy Bierman <andy@yumaworks.com>
> wrote:
> >> >
> >> >
> >> >
> >> > On Mon, Apr 27, 2026 at 3:41 PM Lou Berger <lberger@labn.net> wrote:
> >> >>
> >> >> All,
> >> >>
> >> >> We'd like to run a limited WG LC on
> https://datatracker.ietf.org/doc/draft-ietf-netmod-yang-module-filename/
> >> >>
> >> >> This LC has been requested by our AD (and we agree!) due to the
> significant technical changes in the document.  While the actual diff is
> small, see [1], the changes have notable implementation implications.
> Please limit your comments to the changes since the previous LC (version
> -05).
> >> >>
> >> >> This last call ends May 5.
> >> >
> >> >
> >> >
> >> > It looks like the syntax was changed beyond the '#' character:
> >> >
> >> > was:
> >> >
> >> >        module-or-submodule-name [['@' revision-date]['#' ysv:version]]
> >> >
> >> > now:
> >> >
> >> >        module-or-submodule-name ['@' (ysv:version) / (revision-date)]
> >> >
> >> >
> >> > Before there could be a revision-date and a semver string.
> >> > Now it looks like there can be one or the other.
> >>
> >> This was an error, it has never been the intention to be able
> >> to have both a revision date and a version simultaneously.
> >>
> >
> > This is a significant difference.
> > I think it makes the filename less deployable.
>
> That is not the experience I have. It is less disruptive,
> hence more deployable, than using another delimiter.
>
>


I meant that the syntax did allow both versions

   foo@2026-01-01#1.0.3.yang

I understand that existing tools will not work with these changes, but
they will not work with any changes. Changing the char to '@' does not
really matter.

   foo@1.0.3.yang

It is not a big deal for someone to change the filename to whatever they
want (e.g. foo.yang),
after the file is extracted or downloaded.

I do not have any objections to the updated draft.


Andy




>
> > Obviously the semver pattern does not conform to RFC 7950  sec 5.2, so
> by using it,
> > a choice is being made to intentionally break YANG 1.1 tools.
>
> There is no intention to break tools.
>
> However, a quick survey shows:
>
> * yanglint breaks with both,
>
> * yanger warns with both @ and # but continues processing.
>
> * confdc warns with @ but creates the corresponding output,
>   but fails with error with #.
>
> See also my previous mail where the # delimiter broke pyang,
> but the semver pattern with the @ delimiter just worked.
>
>
>
> > RFC 9595 does not specify any filename requirements for SID files except
> the extension is .sid.
> > All examples and tools seem to use the revision date format in RFC 7950.
> >
> > RFC 9195 does specify a pattern:
> >
> > The name of the instance data file SHOULD be of the following form
> (using ABNF notation [RFC5234]):
> >
> >    instance-data-set-name ["@" ( revision-date / timestamp ) ]
> >                   ( ".xml" / ".json" )
> >
> > Examples include:
> >
> >       acme-router-modules.xml
> >       acme-router-modules@2018-01-25.xml
> >       acme-router-modules@2018-01-25T15_06_34_3+01_00.json
> >
> >
> >
> > If the YANG module filename contains only a Semver, then it is not
> possible
> > to align this file with related files that use the revision date.
>
> I assume that the timestamp pattern is equally difficult for tools
> to correlate as a semver pattern would be, especially for all use
> cases listed in RFC 9195.
>
> I don't know if it is relevant to put a semantic version on instance
> data though. Because it is not necessarily correlated to the YANG
> module, right? It could be a temporal instance of data. See for
> instance Section 2.2.2 which have the file
> read-only-acm-rules@2022-01-20.xml but the revision date is
> 2018-07-04, and the module used is ietf-netconf-acm@2018-02-14.
>
> I note also that in Section 2.2.3 it states
>
>     As a new set is produced periodically many times a day, a
>     revision-date would be useless; instead, a timestamp is included.
>
> Furthermore Section 1.2 Principles states
>
>     P4  A YANG instance data set shall be allowed to contain data for
>        multiple YANG modules.
>
> Which obviously decouples the instance data file name from the
> YANG module filenames, since these can have different revision
> dates.
>
> What parts of RFC 9195 are violated by yang-module-filename?
>
> Perhaps the authors of RFC 9195, Balazs and Benoit, can elaborate
> on the intent of the document?
>
>
> --
> Per
>
>
> >
> >>
> >> --
> >> Per
> >
> >
> >
> > Andy
> >
>