NetBox integration

Netpicker supports pynetbox, the Python API client library for NetBox.

To set it up, you need to provide the API endpoint and your token as two extra environment variables in the docker-compose.yml file for the x-api:

x-api: &api_common
  environment:
    NETBOX_API: "https://endpoint_here/"
    NETBOX_TOKEN: enter_token_here

After setting this up, you can use the netbox parameter in the Python tests: