Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sapcc/go-netbox-go

Manual go-netbox client
https://github.com/sapcc/go-netbox-go

Last synced: 11 days ago
JSON representation

Manual go-netbox client

Awesome Lists containing this project

README

        

go-netbox-go
============

Package go-netbox-go implements a custom client for the netbox [API][1]

This is a minimal implementation due to the ever-changing api of netbox.
Please do not implement unnecessary details or unused api calls due to the added complexity if the API changes.

Development
-----------
Use `NETBOX_URL` (e.g. https://netbox.corp) and `NETBOX_TOKEN` to direct the tests against your instance of netbox.

To test against a new version:
- create the new branch with the netbox api version
- delete the govcr-fixtures
- rerun tests against the new api version and see what breaks
- fix tests

[1](https://netbox.readthedocs.io/en/stable/)