On 10/8/2018 9:23 AM, Balázs Lengyel wrote:
Hello Martin,
Thanks for the info.
Yang-Catalog does not allow the download of modules. AFAIK it only gives
you metadata about the modules.
You mentioned download from pyang. How does that work?
I used https://github.com/YangModels/yang for some time, but I don't
know how up to date that is.
It's not too bad. just checked an it's just missing one RFC'ed model
(standard/ietf/RFC/ietf-i2rs-...@2018-09-13.yang) and I just put in a PR
for it.
(I have a cron job that auto generates branches to be merged, but do the
PRs manually, see https://github.com/louberger/yang if interested.)
Lou
regards
On 2018. 10. 08. 14:53, Martin Bjorklund wrote:
Hi,
Balazs Lengyel <balazs.leng...@ericsson.com> 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/ietf-vouc...@2018-04-06.yang)
[on 2), I have it on my list to talk to them]
Or you can get them from some 3rd party place like yang-catalog, or
pyang.
/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: balazs.leng...@ericsson.com
_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod
_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod