NetBox RIR Manager¶
Manage Regional Internet Registry (RIR) resources -- organizations, contacts, networks, customers, addresses, and tickets -- directly from NetBox.
netbox-rir-manager bridges your NetBox IPAM data and the RIR's own database. Synced resources land in dedicated plugin models (RIROrganization, RIRContact, RIRNetwork, etc.) and are auto-linked to their NetBox counterparts (ipam.Aggregate, ipam.Prefix). Write actions such as reassignment, reallocation, and deletion are submitted to the RIR through a pluggable backend, with every operation persisted in a sync log and (where applicable) a tracked ticket.
Highlights¶
- Sync RIR resources into NetBox: organizations, points of contact, network allocations, customers.
- Auto-link to IPAM: synced networks are matched to existing NetBox
AggregateandPrefixobjects viaauto_link_networks. - Write operations: reassign, reallocate, remove, and delete networks directly from the plugin or the parent Prefix detail page.
- Auto-reassign on prefix changes: when a NetBox
Prefixgains a Site and Tenant, a background reassignment can be queued automatically. - Ticket tracking: reassignments, reallocations, and deletions that need RIR-side approval create an
RIRTicketrecording the ticket number, type and the status the RIR returned; writes the RIR processes immediately are recorded as asuccesssync log, with no ticket. - Per-user API keys: encrypted at rest with HKDF-derived Fernet, scoped to a single
RIRConfig. - Scheduled sync: a recurring system job (
ScheduledRIRSyncJob, daily by default) keeps RIR data current. - Backend interface: ARIN supported today via
pyregrws, behind an abstractRIRBackendclass; PRs welcome for RIPE, APNIC, LACNIC, AFRINIC. - Address geocoding: Site addresses are normalised into structured
RIRAddressrecords using OpenStreetMap Nominatim. - Full REST API under
/api/plugins/rir-manager/with custom action endpoints for write operations. - Sync logging: full audit trail of every read and write operation under
RIRSyncLog.
How it fits together¶
+-------------------+ +---------------------+
| ipam.RIR | <---- | RIRConfig | org-level binding
+-------------------+ +---------------------+
|
| scopes
v
+-------------------+ +---------------------+
| User | ----> | RIRUserKey | per-user encrypted credential
+-------------------+ +---------------------+
|
| drives
v
+--------------+ +-----------------+ +---------------+
| Backend | | Sync jobs | -> | RIRSyncLog |
| (pyregrws) | <- | (RQ) | -> | RIRTicket |
+--------------+ +-----------------+ +---------------+
|
| populates
v
+--------------------------------------------------------+
| RIROrganization, RIRContact, RIRNetwork, RIRCustomer, |
| RIRAddress -- linked to ipam.Aggregate / ipam.Prefix |
+--------------------------------------------------------+
Quick links¶
- Installation
- Configuration
- First Sync
- REST API reference
- Settings reference
- Permissions reference
- GitHub repository
- Issue tracker
Compatibility¶
| Plugin version | NetBox version | Python |
|---|---|---|
| 0.4.x | 4.5-4.7 | 3.12-3.14 |
| 0.3.x | 4.5 | 3.12-3.14 |
License¶
Apache License 2.0. See LICENSE.