Martin Bjorklund je 10/8/2018 ob 2:53 PM napisal:
Hi,
Balazs Lengyel <[email protected]> wrote:
Hello,
What is the best way to download standard Yang Modules? I know the
official answer is to download all the standards then extract the
modules, however this is a "bit" cumbersome. Is there any better way?
We had a git earlier. How up to date is that?
You can download them from IANA:
https://www.iana.org/assignments/yang-parameters/yang-parameters.xhtml
But there are two problems:
1) you have to download one at the time
2) some of them have lost all indentation
(e.g.
https://www.iana.org/assignments/yang-parameters/[email protected])
[on 2), I have it on my list to talk to them]
If you do talk to them, also mention that
"[email protected]" in their list is actually
just "[email protected]" renamed, and that
"[email protected]" does not have the same revision as the
module that is part of RFC8366 (2018-05-09). Also, in at least two
instances, I managed to somehow download a blank module file, which then
magically downloaded properly after a retry.
Benoit went through the trouble of gathering modules from different
sources and his blog entry includes standard modules [1]. I dare say
that this blog entry is a much more reliable source compared to the IANA
site.
[1] - https://www.claise.be/2018/06/ietf-yang-modules-statistiques/
Or you can get them from some 3rd party place like yang-catalog, or
pyang.
Pyang git repo has the files without revisions in their name, which is
somewhat awkward.
Jernej
/martin
It would be wonderful if this could be described in the Netmod WG
wiki.
(And sorry, no but I am not volunteering :-( )
regards Balazs
--
Balazs Lengyel Ericsson Hungary Ltd.
Senior Specialist
Mobile: +36-70-330-7909 email: [email protected]
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod