Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Use VyOS python libraries more #1

Open
p3lim opened this issue Dec 17, 2023 · 1 comment
Open

Use VyOS python libraries more #1

p3lim opened this issue Dec 17, 2023 · 1 comment
Assignees
Milestone

Comments

@p3lim
Copy link
Owner

p3lim commented Dec 17, 2023

Currently we elevate vbash to run commands and check for container images, we could talk to the VyOS libraries directly instead, probably saving a bunch of time and makes it possible to accurately handle exceptions.

https://docs.vyos.io/en/latest/contributing/development.html#python

@p3lim p3lim added this to the 1.0 milestone Dec 17, 2023
@p3lim p3lim self-assigned this Dec 17, 2023
@p3lim
Copy link
Owner Author

p3lim commented Feb 22, 2024

After looking a bit more at it, it'd severely hamper #6 as vyaml would only be able to run on actual VyOS. From the quick research I did I found the VyOS python libraries are not complete from source, and depend on system-level data to run.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant