Hi Per, Per Andersson <[email protected]> writes:
> 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. I added your QUIC modules to the project's README list. > > > [0] https://github.com/llhotka/iana-yang If there is interest, I can help with deploying these tools in a neutral location, and perhaps also improving the documentation. Lada > > > -- > Per > > _______________________________________________ > yang-doctors mailing list -- [email protected] > To unsubscribe send an email to [email protected] -- Ladislav Lhotka <[email protected]> PGP Key ID: 0xB8F92B08A9F76C67 _______________________________________________ netmod mailing list -- [email protected] To unsubscribe send an email to [email protected]
