YANG daemeon for Linux

Eric Lindsjö eric at emj.se
Sun Aug 26 05:46:05 UTC 2018


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 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)
>>>




More information about the NANOG mailing list