Sync Oxidized data to Netbox.
The device has to exists within netbox with the same name.
This is because we need to get the tenant and the site from netbox. (oxidized does not have that info)
Currently supports FortiOS.
Within FortiOS, the following items are synced
| Type | Supported |
|---|---|
| Vlans | ✓ |
| Aggregate ports | ✓ |
| Virtual switches | ✓ |
| Redundant Ports | ✓ |
| Normal Ports | ✓ |
| Ip Adresses | ✗ |
Currently there is no published binary so you have to build it yourself.
Clone the repo and run go build cmd/netbox-oxidized-sync/netbox-oxidized-sync.go
Then you can run ./netbox-oxidized-sync to run the binary.
To configure the application copy the configs/example.settings.json to configs/settings.json and modify where needed.
The docker container runs a cron job every day at 01:00.
You will have to mount the config file at /opt/configs/settings.json
To build the container localy run:
docker buildx build -f build/Dockerfile .