Re: [netmod] Place to download Standard YANG Modules ?

Martin Bjorklund <mbj@tail-f.com> Mon, 08 October 2018 12:53 UTC

Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE77C130EA8 for <netmod@ietfa.amsl.com>; Mon, 8 Oct 2018 05:53:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VXN2v2lHfW0G for <netmod@ietfa.amsl.com>; Mon, 8 Oct 2018 05:53:16 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 1E717130EA6 for <netmod@ietf.org>; Mon, 8 Oct 2018 05:53:16 -0700 (PDT)
Received: from localhost (unknown [173.38.220.61]) by mail.tail-f.com (Postfix) with ESMTPSA id 190141AE0332; Mon, 8 Oct 2018 14:53:14 +0200 (CEST)
Date: Mon, 08 Oct 2018 14:53:13 +0200
Message-Id: <20181008.145313.1979034555219874418.mbj@tail-f.com>
To: balazs.lengyel@ericsson.com
Cc: netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <e150939f-913b-d51d-d349-8e362ff55e2e@ericsson.com>
References: <e150939f-913b-d51d-d349-8e362ff55e2e@ericsson.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/I32l5bDJPqCmGHw6t1EL73ud-Kw>
Subject: Re: [netmod] Place to download Standard YANG Modules ?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Oct 2018 12:53:19 -0000

Hi,


Balazs Lengyel <balazs.lengyel@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-voucher@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.Lengyel@ericsson.com
> 
>