Repository navigation
Releases
Road Trip 0.3.0
Road Trip is a NetBox plugin just for fun: drive a little car through a city built from your NetBox data. This release adds bars, and the police.
New in 0.3.0
- Bars: 3 or 4 small bars turn up at random places in the city every time you start. There are four designs: a Tudor pub (The Packet Loss Pub), a neon cocktail bar (Bar Ping), a tiki bar (The Tiki TTL) and an Irish pub (O'Router's Irish Pub).
- A drink: park outside a bar and a pixel-art scene plays. A guy walks in and orders a Singapore Ping, Mai Ping, Ping and Tonic, Penguin Sunrise, Ping-a Colada, Blue Screen Lagoon... The bartender answers ("Shaken, not routed.") and pours, he drinks (glug glug glug, hic!), and the window closes.
- The police: when he gets back into the car, a police car arrives with siren and flashing lights. No driving like that: you wait 10 seconds to sober up, the world sways a bit, and then you drive on.
- New sounds: door bell, chatter, pouring, glugging, hic, siren, whistle. The corner counts your drinks. Esc skips the bar scene, but not the wait.
Everything from 0.2.0 is still there: tenant districts and device buildings, parking spots that open the NetBox page, penguins to brake for, the jump ramp with prefixes flying like birds, sound, and smooth performance with thousands of devices.
Upgrade notes
No models and no migrations. Install the new version and restart NetBox.
Installation
pip install "git+https://github.com/vinceneil666/netbox-plugins.git@roadtrip-v0.3.0#subdirectory=roadtrip"
# or the wheel attached below:
pip install https://github.com/vinceneil666/netbox-plugins/releases/download/roadtrip-v0.3.0/netbox_roadtrip-0.3.0-py3-none-any.whlPLUGINS = ["netbox_roadtrip"]
PLUGINS_CONFIG = {"netbox_roadtrip": {}} # optional: {"max_devices": 500, "max_prefixes": 150}Requires NetBox 4.7 or later. Open Road Trip → Drive (/plugins/roadtrip/).
Version history
- 0.3.0: bars with a pixel-art drink scene, police and a 10-second sobering-up wait.
- 0.2.0: districts sized for their own devices, only on-screen objects drawn, penguins, jump ramp with prefix birds. First release.
- 0.1.0: first version, not released on its own.
See the README for details.
Road Trip 0.2.0
Road Trip is a NetBox plugin just for fun: drive a little car through a city built from your NetBox data. This is its first release.
Highlights
- A city from your NetBox: every tenant is a district with a town hall, and every device is a building. The roof has the device role's colour, the light shows the status, and the sign shows name, type, role, site and IP. The sites get their own district.
- Stop on the P in front of a building and its NetBox page opens on top of the game. Esc gets you back on the road. Visited buildings get a 🚩.
- Penguins 🐧 waddle across the road. Brake for them, or spin out of control. The penguin is fine, just dizzy.
- Jump park in the middle of the city: go full speed up the ramp and soar over the map, into a sky full of your prefixes flying like birds.
- Sound, all generated in the browser: engine, skids, bumps, horn (H), penguins, wind and tweeting prefixes. M mutes it.
- Scales: each district is sized for its own devices, and only what's on screen is drawn. Tested at about 60 fps with 2000 devices.
- Read-only: it only shows what the user may view, and changes nothing.
Requirements
NetBox 4.7 or later. No models, no migrations.
Installation
pip install "git+https://github.com/vinceneil666/netbox-plugins.git@roadtrip-v0.2.0#subdirectory=roadtrip"
# or the wheel attached below:
pip install https://github.com/vinceneil666/netbox-plugins/releases/download/roadtrip-v0.2.0/netbox_roadtrip-0.2.0-py3-none-any.whlPLUGINS = ["netbox_roadtrip"]
PLUGINS_CONFIG = {"netbox_roadtrip": {}} # optional: {"max_devices": 500, "max_prefixes": 150}Restart NetBox and open Road Trip → Drive (/plugins/roadtrip/).
Controls: arrow keys or WASD to drive, Space to brake, J to go to the jump ramp, H for the horn, M to mute, R to go back to the start, Esc to leave a building.
Version history
- 0.2.0: districts sized for their own devices, only on-screen objects drawn, penguins, jump ramp with prefix birds, more sounds,
max_prefixessetting. First release. - 0.1.0: first version (districts, buildings, parking spots that open object pages, visited flags, minimap, sound effects). Not released on its own.
See the README for details.
Prefix Planner 0.5.0
First release of Prefix Planner, a NetBox plugin for onboarding a tenant's address space in one step: pick an existing tenant or add a new one, enter the block assigned to it, size the prefixes with sliders, and save. A background job creates the tenant (if new), the tenant's container prefix and one container per planned prefix.
Highlights
- Interactive planner: one slider per prefix in power-of-two steps, a coloured address map, the CIDR, host range, address count and share of the block for every row. When a prefix grows and the plan no longer fits, the others are rebalanced automatically.
- Locks and manual networks: pin a prefix to its current network, or type a network (
10.20.64.0/19, or just the address) to place it exactly there; it is locked automatically. - Your own names, in/out of scope per prefix, and optional prefixes for the unused space.
- Existing or new tenants: choose a tenant from the list, or keep Add new tenant and type a name. A tenant can have several plans (e.g. IPv4 and IPv6).
- VRF only when needed: tenants may overlap. With NetBox's Enforce global unique setting off, the prefixes go in the global table; with it on, the job puts them in a VRF named after the tenant and the plan notes why.
- What you see is what you get: the browser and the server run the same allocation algorithm, and the server re-validates every plan.
- Safe to re-run provisioning, with the job log on the plan's Jobs tab.
- REST API at
/api/plugins/prefix-planner/tenants/: CRUD, a dry-runpreviewendpoint andrunto re-provision. - IPv4 and IPv6.
Requirements
NetBox 4.7 or later, Python 3.12 or later.
Installation
source /opt/netbox/venv/bin/activate
pip install "git+https://github.com/vinceneil666/netbox-plugins.git@prefix-planner-v0.5.0#subdirectory=prefix-planner"
# or the wheel attached below:
pip install https://github.com/vinceneil666/netbox-plugins/releases/download/prefix-planner-v0.5.0/netbox_prefix_planner-0.5.0-py3-none-any.whlAdd "netbox_prefix_planner" to PLUGINS, run python manage.py migrate, and restart NetBox and the background worker (rqworker), which runs the provisioning job. See the README for netbox-docker, usage and the API reference.
Changes since the first code on main
If you installed the plugin from main before this release, migrate takes care of your data. Note these changes:
- "Customers" are now "tenants": the menu, the URLs (
/plugins/prefix-planner/tenants/) and the API (/api/plugins/prefix-planner/tenants/;customer_namebecametenant_name, andtenantis writable). - The
vrf_per_customersetting is gone; whether a VRF is used now follows NetBox's Enforce global unique setting. Plans that already have a VRF keep using it.
Version history
- 0.5.0: tenants may overlap; a VRF per tenant only while Enforce global unique is on, with a note on the plan.
- 0.4.0: choose an existing tenant or add a new one; "customers" became "tenants"; a tenant can have several plans.
- 0.3.0: type a network in the planner to place and lock a prefix.
- 0.2.0: REST API, including
previewandrun. - 0.1.0: slider planner, locks, names, unused space, provisioning job.




