On Thu, Apr 23, 2026 at 3:16 PM Michael Richardson
<[email protected]> wrote:
>
>
> Carsten Bormann <[email protected]> wrote:
>     >> (in general, I find the relationship between IANA Registries and YANG
>     >> to be problematic.  Yes, IANA knows how to revise YANG modules when
>     >> registries are updated, but this seems far too heavyweight to me)
>
>     > It seems to me we want to have a well-defined way to generate a YANG
>     > module that mirrors a registry directly from the registry without
>     > manual intervention.  Repeatably doing that may add some requirements
>     > to IANA’s registry management and to the stability of registry
>     > representation.
>
> Are you envisioning a XSLT or Python/Ruby/Perl/GO/ that
> injests the CSV/XML of the registry and produces a YANG module?
> That would just automate what IANA does, which is not silly.

I have used and contributed to this Lada's iana-yang [0]
which uses XSLT to generate YANG modules from  IANA
registries.

It has been used by others as well AFAIK and have read
in drafts.

For instance the initial IANA YANG modules for
quic-client-server is generated with iana-yang.


[0] https://github.com/llhotka/iana-yang


--
Per

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

Reply via email to