Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automation: add Golang Vyos API Client #1569

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

ganawaj
Copy link
Contributor

@ganawaj ganawaj commented Nov 18, 2024

Change Summary

Wanting to share with the community, a Golang API client for Vyos I created. It has feature parity with the existing Python client.

On pkg.go.dev - https://pkg.go.dev/github.com/ganawaj/[email protected]/vyos
Source - https://github.com/ganawaj/go-vyos

Related Task(s)

Related PR(s)

Backport

Checklist:

@ganawaj ganawaj changed the title Add Go Vyos Client automation: add Golang Vyos API Client Nov 18, 2024
@ganawaj ganawaj marked this pull request as ready for review November 18, 2024 23:38
Copy link
Member

@dmbaturin dmbaturin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the effort!

I left one small suggestion. There's the legacy REST API, which the original Python client uses, and that your code uses as well. For interacting with older versions, that's essential, of course.

There's also newer GraphQL API and a plan to introduce a NETCONF-based API, so client documentation should mention which of the APIs they use.

docs/automation/vyos-govyos.rst Outdated Show resolved Hide resolved
@rebortg rebortg merged commit 16d743a into vyos:current Nov 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants