Page MenuHomeVyOS Platform

Instructions to build libvyosconfig multiplatform
Open, WishlistPublicFEATURE REQUEST


The README of libvyosconfig should contain instructions to build libvyosconfig for other platforms. Then the Python library can be used on Windows, to serve applications that generates VyOS-configuration.

It would be great if the Docker-environment (from vyos-build) also builds libvyosconfig cross platform. Maybe using opam-cross-windows. The current build script only targets Debian.

I don't now if this is even possible, as I don't have any experience with OCaml.

My question at the forum "Build libvyosconfig for Windows?":


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close

Event Timeline

syncer triaged this task as Wishlist priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.

This hasn't been possible because it links to vyconf, which makes a UNIX cultural assumption. However, I'm moving the tree handling modules and the parsers into a reusable library that can be used by both vyconf and libvyosconfig, and custom applications as well. Then it should be possible.

I've also tested creating executables for Windows through opam-cross-windows and it works well, haven't tried shared libraries yet though.