YANG daemeon for Linux

Rob Shakir rjs at rob.sh
Sun Jul 29 16:27:40 UTC 2018


Could you define "render"?  If you're looking to take a YANG model (which
one?) and configure Linux kernel networking features with it, I can't
recall having seen something that does this. I have been working on a side
project (which I'm hoping to bring to a hackathon) to take Linux networking
and map it to OpenConfig - but this is maexceptionally embryonic.

If you're looking for ways to manipulate data instances for YANG-modelled
schemas on Linux, here are some options (full disclosure: I lead the
development of two of them):

   - ygot - produces Go structs, or Protobufs that correspond to a YANG
   model - github.com/openconfig/ygot
   - pyangbind - produces Python classes that correspond to a YANG model -
   github.com/robshakir/pyangbind
   - ydk (Cisco) - produces Python and C++ APIs, more centred around device
   interaction (https://developer.cisco.com/site/ydk/)

Cheers,
r.

On Sat, 28 Jul 2018 at 03:54 Vincent Bernat <bernat at luffy.cx> wrote:

>  ❦ 27 juillet 2018 12:23 -0700, Karl Jørn <karljorn787 at gmail.com> :
>
> > Looking for an agent on Linux that will render YANG models, so I can
> > provision networking on Linux.
>
> Maybe looking at this one:
>  http://yuma123.org/wiki/index.php/Yuma_netconfd_Manual
> --
> Make sure your code "does nothing" gracefully.
>             - The Elements of Programming Style (Kernighan & Plauger)
>



More information about the NANOG mailing list