On Fri, Aug 23, 2019 at 4:59 PM Juergen Schoenwaelder <
[email protected]> wrote:

> On Fri, Aug 23, 2019 at 04:20:44PM -0400, David Reid wrote:
> > > > 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.
> >
>
> Yes, I stand corrected, you can probably even map everything somehow.
> Whether such mappings result in _usable_ MIB module is going to be a
> question for which answers will be subjective.
>
> /js
>
>

Perhaps there would be value in defining a subset that could be reasonably
mapped.

I found a project that has a pyang module for yang to mib conversion:
http://help.openclovis.com/index.php/Convert_YANG_to_MIB_model
I was not able to get it to work, so I don't know how complete it is.
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to