Ladislav Lhotka <[email protected]> wrote: > Martin Bjorklund píše v St 10. 04. 2019 v 15:15 +0200: > > Ladislav Lhotka <[email protected]> wrote: > > > Martin Bjorklund píše v St 10. 04. 2019 v 14:26 +0200: > > > > Ladislav Lhotka <[email protected]> wrote: > > > > > Hi, > > > > > > > > > > in a discussion in the yang-doctors mailing list, Acee noted that > > > > > IANA probably hasn't yet implemented a procedure for updating YANG > > > > > modules corresponding to IANA registries > > > > > > > > I think that this is a false alarm. IANA updates the modules > > > > according to the process. > > > > > > > > > (such a procedure is > > > > > specified, e.g., in the IANA Considerations section of RFC 7224). It > > > > > indeed seems to be the case - for example, a few new interface types > > > > > have been added recently to > > > > > > > > > > https://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib > > > > > > > > > > but the module iana-if-type only exists in revision 2014-05-08. > > > > > > > > See > > > > https://www.iana.org/assignments/yang-parameters/yang-parameters.xhtml > > > > > > > > The latest version is [email protected] > > > > > > https://www.iana.org/assignments/yang-parameters/[email protected] > > > > > > > > > > > > > A part of the problem may be that there is AFAIK no authoritative > > > > > repository for > > > > > YANG modules where IANA could put the new revisions. > > > > > > > > See > > > > https://www.iana.org/assignments/yang-parameters/yang-parameters.xhtml > > > > > > > > This is the authoritative repo. IANA gets new YANG modules directly > > > > from the RFC editor before they are formatted into the ascii RFC. > > > > > > Hmm, but then it is kept pretty secret: > > > > > > - RFC 6020 only specifies the new registry "YANG Module Names" and media > > types > > > in IANA Considerations, not this authoritative module repository. > > > > RFC 6020 defines the registry. IANA maintains the registry. The link > > above is the link to this registry. If you go to iana.org and search > > for "YANG Module Names" this link is the first to be shown. > > According to RFC 6020, it is "a registry for YANG module and submodule names". > Maybe I am ignorant, but I really didn't know that complete modules can also > be > retrieved. Also, it seems that only the most recent revision of the iana-* > modules is kept there.
Right. So the relevant RFC is really RFC 7224, which defines the initial version of iana-if-type, and the rules for when to update it. Technically, there's a new IANA registry called "iana-if-type YANG Module", which is found here: https://www.iana.org/assignments/iana-if-type/iana-if-type.xhtml The fact that you can download the other YANG modules is a bonus ;-) /martin > > > > > > > > - YANG Catalog doesn't know about the recent revisions of iana-if-type. > > > > That's a completely different issue! > > Of course, but it shows that learning about existing modules & revisions (even > the standard ones) isn't particularly easy. > > Lada > > > > > > > /martin > -- > Ladislav Lhotka > Head, CZ.NIC Labs > PGP Key ID: 0xB8F92B08A9F76C67 > _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
