nanog mailing list archives

Re: YANG daemeon for Linux


From: Eric Lindsjö <eric () emj se>
Date: Sun, 26 Aug 2018 07:46:05 +0200

What you want is probably sysrepo https://github.com/sysrepo/sysrepo

/Eric

On 08/09/2018 03:56 AM, Marcus Leske wrote:
Yes Rob, i’d like to do what you described: use netconf and yang to
provision the quagga BGP implementation.

Can you describe work arounds? If any.

Can i convert a bgp yang model to json/yaml and have some other app consume
it?

Thanks

On Sunday, July 29, 2018, Rob Shakir <rjs () rob sh> wrote:

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 () luffy cx> wrote:

  ❦ 27 juillet 2018 12:23 -0700, Karl Jørn <karljorn787 () 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)



Current thread: