mirror of
https://github.com/Telecominfraproject/olg-installer.git
synced 2026-03-20 03:39:11 +00:00
minimal-vyos-api-support
This adds support for VyOS operational mode commands to the HTTPS API,
enabling state collection capabilities in olg-ucentral-schema.
Changes:
- Add /show endpoint for operational mode commands (show system uptime,
show interfaces, show dhcp server leases, etc.)
- Fix form data encoding: change --form-string to --form for proper
multipart/form-data submission to VyOS API
API now supports:
- load/merge (config-file endpoint) - for applying configurations
- showConfig (retrieve endpoint) - for reading configurations
- show (show endpoint) - NEW for operational commands
The /show endpoint will be used by state.uc in olg-ucentral-schema to
query VyOS operational state for cloud reporting.
Tested on VyOS 2025.12.13-0020-rolling with OLG hardware.
Signed-off-by: Mike Hansen <mike.hansen@netexperience.com>
OLG Ucentral Client SDK
This is a sdk to build ucentral client image to support olg schema and configure VYOS. It can be used to validate OLG's end-to-end working, from accepting configuration from the Cloud controller to configuring VyOS.
- vyos/config_prepare.uc: Conversion from templates to VyOS text style configuration.
- vyos/https_server_api.uc: This will call VyOS retrieve and load APIs.
Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-03-20T04:38:52.947Z
Releases
3
Languages
Shell
100%