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

Balázs Lengyel <balazs.lengyel@ericsson.com> Mon, 08 October 2018 13:24 UTC

Return-Path: <balazs.lengyel@ericsson.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 56C5E130E5A for <netmod@ietfa.amsl.com>; Mon, 8 Oct 2018 06:24:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.322
X-Spam-Level:
X-Spam-Status: No, score=-3.322 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_EXCESS_BASE64=0.979, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=YgbMTCff; dkim=pass (1024-bit key) header.d=ericsson.com header.b=c9GPVPED
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 0Cg7CfuSsMuY for <netmod@ietfa.amsl.com>; Mon, 8 Oct 2018 06:24:20 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 96FD4130E79 for <netmod@ietf.org>; Mon, 8 Oct 2018 06:24:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1539005057; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cnOshzxmn3F8DOF30i9n9p2yP4aGuYQ5S4MNpHso410=; b=YgbMTCffQlRreccNEOkLPW4STxXjaiS+nWQ03yxrd1Oxv1bLghCowCsPtYZrVkLb 6Oczg9+I2MihTGr4698U/9LROEh/dCyRNc9GhEeE4GGdBhHEvEGIQ3R4xjYJj0Bj a6UqxD88/wC7Sb+5bwZuJiKIatcxyPkC3rKT+mPw+LQ=;
X-AuditID: c1b4fb30-3cd869c0000055da-ab-5bbb5a810735
Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id F5.0E.21978.18A5BBB5; Mon, 8 Oct 2018 15:24:17 +0200 (CEST)
Received: from ESESSMB502.ericsson.se (153.88.183.163) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 8 Oct 2018 15:23:47 +0200
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (153.88.183.157) by ESESSMB502.ericsson.se (153.88.183.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Mon, 8 Oct 2018 15:23:47 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wTVMRlfKhcV1qyyLue1DybjQESuiuqXlrs6WZy4td84=; b=c9GPVPEDK1UpntjzOMtV+ufpkGxd38oUyip4nFAQ/rnsmdauqli7mf2a/FbzpNTiGnF40q9sNQGgmTYuyUDrncE21MJGavoogUIdpcIjBmyeOONZOB4GfeE4LeNZ71s/Jx8XigIGsv3OZrwS7Sv87qUkRRCyM1NJ+6kIJ0tApUk=
Received: from HE1PR0701MB2731.eurprd07.prod.outlook.com (10.168.188.137) by HE1PR0701MB2716.eurprd07.prod.outlook.com (10.168.188.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.19; Mon, 8 Oct 2018 13:23:45 +0000
Received: from HE1PR0701MB2731.eurprd07.prod.outlook.com ([fe80::c8e8:a9a8:81c6:f9cf]) by HE1PR0701MB2731.eurprd07.prod.outlook.com ([fe80::c8e8:a9a8:81c6:f9cf%9]) with mapi id 15.20.1228.011; Mon, 8 Oct 2018 13:23:45 +0000
From: =?utf-8?B?QmFsw6F6cyBMZW5neWVs?= <balazs.lengyel@ericsson.com>
To: Martin Bjorklund <mbj@tail-f.com>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] Place to download Standard YANG Modules ?
Thread-Index: AQHUXwPNxSBNWMXsz06OGatC9N6OC6UVTbeAgAAIg4A=
Date: Mon, 8 Oct 2018 13:23:45 +0000
Message-ID: <4bcdc8d6-f776-3ae3-b452-29c64e92b131@ericsson.com>
References: <e150939f-913b-d51d-d349-8e362ff55e2e@ericsson.com> <20181008.145313.1979034555219874418.mbj@tail-f.com>
In-Reply-To: <20181008.145313.1979034555219874418.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [89.135.192.225]
user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
x-clientproxiedby: AM3PR07CA0120.eurprd07.prod.outlook.com (2603:10a6:207:7::30) To HE1PR0701MB2731.eurprd07.prod.outlook.com (2603:10a6:3:99::9)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.lengyel@ericsson.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR0701MB2716; 6:E/3NTY0oBNQPeJWtS0Et0X6SuCeUILbiu3y7BIhMzU0FxMXQpBGRSbWvSrjlZ8nab9844K5UPgBc7l7J4DbS5vMz4OESM2mHV4ugfujFHaTvy5A1bTVmlpZbwhTNj4Dh6iGqy4rtyIFH0SJz6B/mIeDN1lrBJhVKn076ECraw9w1TEelqkNT/nwbqgvUyE4zHJNt8zLrswaa1ylLHGX5721W4rqmC8wXmhagOUn8dV6n02oztjc4jYOTnN71dkxJciO262dy2/kFNBukrvhr+gwxoGWJBLWz3VQO92pJYKCzvOlwZK7a7SsEbhLcW9NfZ+DYEgFRdz5jHqtGVl4jlyhro5jNQB0o4n75ooFRI002FXIy5S8MmMLnmznFKe49SwAz7JAmV27vyKGqU3c+am1Z36kz+bwJ9epGcD17hOYPHfAkWuozVvIJYajCqN4QTR+UNUSybMRGZ2fKwnRx9g==; 5:FXSiL5BQ/gWRHhTJPvyiluYAXL40RrNeX8GBMBlz/llGtvB0y+af0pK3vCZmp+JwhoCcD2lQmlX+AiG8oUpwV9uIrwgOkJ+g16cBMbGhz/LiQyf2sFQT4kvZAMAFcjSbkvRYibdiSXe9HqOyoOSvf2ofzkI10fz7zhKJt+Z5+SI=; 7:KyaQH3fz4DzO4Ozp5ES/fb21aeAZCqwvV40/AiHuLTOJEL0Pps3y86VeAUUbdYqsNGCo2uC+q8OQX3X5iJFM09qINebM9fyCD9TPrRmapa9UNVpIOMSmmWE4P272wctNQZ+ktgnrueRh2Ku2ja8L6rgDXUf6445ykm9gopNuMa6nstD8613mZsSLWmOASkEQ9zge/scuyaIdOyrZ9DFg9Ud8s6miIeVi/3TRwv1EZwlBXevp/wDaBlUWwe6SqiiG
x-ms-office365-filtering-correlation-id: 5767cc4b-8db4-4c89-2934-08d62d2144d7
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(49563074)(7193020); SRVR:HE1PR0701MB2716;
x-ms-traffictypediagnostic: HE1PR0701MB2716:
x-microsoft-antispam-prvs: <HE1PR0701MB271635DD585448C357507F3EF0E60@HE1PR0701MB2716.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(166708455590820)(1591387915157)(37575265505322)(248295561703944);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(102415395)(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(4983020)(52105095)(10201501046)(3002001)(93006095)(93001095)(149066)(150057)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123560045)(201708071742011)(7699051); SRVR:HE1PR0701MB2716; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0701MB2716;
x-forefront-prvs: 081904387B
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(376002)(136003)(39860400002)(366004)(252514010)(51914003)(189003)(199004)(71190400001)(71200400001)(316002)(186003)(81156014)(81166006)(8676002)(68736007)(86362001)(478600001)(6512007)(6306002)(102836004)(8936002)(256004)(99936001)(25786009)(3260700006)(229853002)(53936002)(26005)(31686004)(446003)(476003)(11346002)(486006)(85182001)(14454004)(2616005)(105586002)(6436002)(64126003)(6116002)(106356001)(31696002)(4326008)(85202003)(3846002)(58126008)(5660300001)(36756003)(52116002)(2900100001)(65826007)(6246003)(97736004)(305945005)(7736002)(966005)(5250100002)(99286004)(65956001)(65806001)(6486002)(66066001)(76176011)(6916009)(386003)(6506007)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0701MB2716; H:HE1PR0701MB2731.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: IU1xGux+oiMXg29bKWxZZ2go2/febwx9HP75W3Ua+KSfMutlDv+Q6Mc/K4p2mJ8DBeCXhATIYJBRjefdfqxFyKLEocRjAXbTsgj7xN9TNoETMieQEV8VkzLqtycnmgXxkdgSrho1FOE2g0sB9Dc+vpkVKnSNTRoZ8y5B03wfeHfEQLPxjeX34ncirpikWKhx0udjRrJsKHaKA3EXe4CGEQdxxdxlgbUe8lh8df1ryNK0h9npNNUnOAqQvNb9E74ZLianHUezao1w0EhnjTrK90MKXjdwp5thlx2/kX0LXgQI586xZtxgU9ocY3Hz6bqGRBlUxRzRrdxLATrRuJCz1hSEC8kjAD401cQfIjVgzBM=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms000007040608030700070204"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 5767cc4b-8db4-4c89-2934-08d62d2144d7
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2018 13:23:45.7177 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2716
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA1WSbUhTURjHOffezetqcVyaD2ZByyh6UdMMMyutCAmL+pKh+LL0ppJutatT +2BqljbLLLR0ZVouw3whp+R7qSGlZfgSWSnKciW6kPoQ4YaSd0ehvv2e5/n//+c5h8PSshGR CxuvTOLUSkWCXCxhSk43pezIDG0L88xa8PPNy/tu51s2mCkKoIL0+jkqqN5SwZygQiX+MVxC vIZTe+yPksRlW+PPz+xLbRm9zmSgm3u0yJ4FvAuKe6tEWiRhZbgHQbP5OkWK3wgMfUWIFBUU PB57a5swuICG6WwLTSZ3Kbja8NKOFN8QDN9/SQnJYnwYcmYJO+JNYGqpZQSm8WYY65sUaxHL rsYHwPDIg0gCoNRQg4S2I/aD+x/ThTaD3aC9dlgssHRRXXL7FSNIZFgDc81nhbY9DoQPXfki gRFeA3/6aihykDN8MZVR5JqOYBx8KybsBNOTCyLCciie+WJjJxwO2b0621MALkJgbrLSJDQC 2sdzl8zboX/EhAivg6GyvCXutINZfbiwG+Bj8GYqleQMI2ismhIte7V1hiVWQXWlkSpAXrp/ dtUtemh8DcGPab1YZ7uzA/SWmBgi2g0PGow04W1Q+dBM/28WeC8UW7rEhDdAYZ7RjrAPmHt+ IcLeUFk3Ly5HkqfIief4M4mxXl7unDo+mudVSncll2RAi1+sq9Hq2YympwK7EWaRfKU04WRb mEyk0PBpid3IbTHn67PqAeTCKFVKTu4odWpqDZNJYxRpFzm1KlKdnMDx3Wgty8idpb7HG0Jl OFaRxJ3juPOcenlKsfYuGeiS5nNdRc1m7xeXO9r63QP9099V5zq8Lr9xxdfsGjtunS89ujMu 49bA0IX6yi0tJit/aNM5i09j0Z33lhsavZ/HQOtE/puUiYPBo2lZ/uGF9T+PpKaUPlHdy0mO UkzQj4ZXhRg+jUR0PmuNOVsVWXRqhT5k2/rWwCCVNLqjwbUz+PlGOcPHKXZupdW84i/jDxRP agMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/g1RJBOgKilN-Zx1fE_aXiQyXkPQ>
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 13:24:24 -0000

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.

regards

On 2018. 10. 08. 14:53, Martin Bjorklund wrote:
> 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
>>
>>
-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
Senior Specialist
Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com