nanog mailing list archives
Re: YANG daemeon for Linux
From: Brandon Ewing <nicotine () warningg com>
Date: Tue, 31 Jul 2018 12:19:49 -0500
On Fri, Jul 27, 2018 at 01:18:47PM -1000, David Cornejo wrote:
I am unaware of any open source software that implements a complete solution for parsing the YANG into a model, allowing the manipulation of that models data, and configuring the system to match that model.
pyangbind (https://github.com/robshakir/pyangbind) can be used to generate Python classes that you can bind data to. This isn't Linux-specific, but it is possible to input a YANG model, and some external data, and produce a usable Python data structure. napalm-yang (https://github.com/napalm-automation/napalm-yang) is an example of doing this via NAPALM output via profiles that handle the parsing to/from device native data structures, with differing levels of support: https://napalm-yang.readthedocs.io/en/latest/root/supported_models/index.html#profiles -- Brandon Ewing (nicotine () warningg com)
Attachment:
_bin
Description:
Current thread:
- YANG daemeon for Linux Karl Jørn (Jul 20)
- Re: YANG daemeon for Linux Wes Felter (Jul 27)
- Re: YANG daemeon for Linux Karl Jørn (Jul 27)
- Re: YANG daemeon for Linux Vincent Bernat (Jul 28)
- Re: YANG daemeon for Linux Rob Shakir (Jul 29)
- Re: YANG daemeon for Linux David Cornejo (Jul 31)
- Re: YANG daemeon for Linux Brandon Ewing (Jul 31)
- Re: YANG daemeon for Linux Karl Jørn (Jul 27)
- Re: YANG daemeon for Linux Wes Felter (Jul 27)