[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
YANG daemeon for Linux
- Subject: YANG daemeon for Linux
- From: marcusleskex at gmail.com (Marcus Leske)
- Date: Wed, 8 Aug 2018 18:56:49 -0700
- In-reply-to: <CAHxMReafSQxa6ibHksnxNcU7R7vsPcffkQQ7PxRtzH9kdEZjKQ@mail.gmail.com>
- References: <CAM5V9pWQ08wttTxeiAWmhM0okkDQDUUxAeCjMPjV2p2hct4ePA@mail.gmail.com> <[email protected]> <CAM5V9pWzdBPy-hgUW2bzNtK796-Xb+ygx9iRW46YWybu7nezYA@mail.gmail.com> <[email protected]> <CAHxMReafSQxa6ibHksnxNcU7R7vsPcffkQQ7PxRtzH9kdEZjKQ@mail.gmail.com>
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 at 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 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)
> >
>