On Tue, Apr 28, 2026 at 1:51 PM Per Andersson <[email protected]> wrote:

> On Tue, Apr 28, 2026 at 7:53 PM Andy Bierman <[email protected]> wrote:
> >
> >
> >
> > On Mon, Apr 27, 2026 at 3:41 PM Lou Berger <[email protected]> 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.

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.

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 <https://www.rfc-editor.org/rfc/rfc9195.html#RFC5234>
]):

   instance-data-set-name ["@" ( revision-date / timestamp ) ]
                  ( ".xml" / ".json" )

Examples include:

      acme-router-modules.xml
      [email protected]
      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.



> --
> Per
>


Andy
_______________________________________________
netmod mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to