# libvyosconfig **Repository Path**: sioy2000/libvyosconfig ## Basic Information - **Project Name**: libvyosconfig - **Description**: No description available - **Primary Language**: Unknown - **License**: LGPL-2.1 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-07 - **Last Updated**: 2021-03-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README libvyosconfig ============= This library mixes the multiway tree manipulation libraries from [vyconf](https://github.com/vyos/vyconf) with a parser and a formatter for VyOS 1.x config format, and is meant to be used in config migration scripts and analysis/conversion tools. The main purpose is to provide bindings for Python, so using this library directly from C is strongly discouraged: not just the interface is not guaranteed to be stable, it's written to be a bridge between two high level languages so it would be very inconvenient to use from C. ## Building You need to install OPAM and then use it to install OCaml (latest 4.08 works fine). ``` # Clone and install the vyos1x-config library git clone https://github.com/vyos/vyos1x-config opam pin add vyos1x-config . # Install build deps opam install ctypes ctypes-foreign ctypes-build # Build the Debian package dpkg-buildpackage -b -us -uc -tc ```