Re: [netmod] yang to mib

David Reid <reid@snmp.com> Fri, 23 August 2019 20:20 UTC

Return-Path: <reid@snmp.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 5F59312085F for <netmod@ietfa.amsl.com>; Fri, 23 Aug 2019 13:20:54 -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 B2ZRR8G1aV-E for <netmod@ietfa.amsl.com>; Fri, 23 Aug 2019 13:20:52 -0700 (PDT)
Received: from mailbox.SNMP.COM (mailbox.snmp.com [192.147.142.80]) by ietfa.amsl.com (Postfix) with ESMTP id 83F1D12082F for <netmod@ietf.org>; Fri, 23 Aug 2019 13:20:52 -0700 (PDT)
Received: from rh7.snmp.com (rh7.snmp.com [192.147.142.222]) by mailbox.SNMP.COM (8.9.3p2-20030922/m.0080228) with ESMTP id QAA06127; Fri, 23 Aug 2019 16:20:45 -0400 (EDT)
Received: from snmp.com (rh7 [IPv6:::1]) by rh7.snmp.com (Postfix) with ESMTP id 15FF63E83B; Fri, 23 Aug 2019 16:20:45 -0400 (EDT)
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
cc: Alan Dawn <alandawn91@gmail.com>, netmod@ietf.org
Reply-To: David Reid <reid@snmp.com>
From: David Reid <reid@snmp.com>
In-reply-to: Your message of Fri, 23 Aug 2019 20:17:37 +0200. <20190823181736.ee562zme3udbj53u@anna.jacobs.jacobs-university.de>
Date: Fri, 23 Aug 2019 16:20:44 -0400
Sender: reid@snmp.com
Message-Id: <20190823202045.15FF63E83B@rh7.snmp.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/b96-GYyusKYkSHIaSRs_7QtZ4ro>
Subject: Re: [netmod] yang to mib
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: Fri, 23 Aug 2019 20:20:54 -0000

> > Has there been any work done on defining a method of converting yang
> > modules to mib modules?
> 
> Since YANG is way more flexible than SMIv2, this will only work if the
> YANG language is heavily restricted to a subset that is mappable. My
> recommendation is to not spent time on this.
> 
> /js

Some of the yang constructs that can't easily be mapped could be mapped with some creativity. I think the subset that can't be mapped would be relatively small.

-David Reid