Skip to main content

NetBox FMS -- Fiber Management System

Under active development -- alpha. netbox-fms is pre-1.0 and changing fast. Models, migrations, REST endpoints, and configuration keys may break between releases without deprecation cycles. Pin an exact version in production, expect to read the CHANGELOG before every upgrade, and back up your database before running migrations. Issue reports and PRs are very welcome.

A NetBox plugin for fiber cable management, splice planning, and circuit provisioning.

PyPI Python NetBox CI codecov Documentation License: AGPL-3.0

Define fiber cable construction as reusable blueprints, auto-instantiate components on cable creation, plan splices with diff computation and draw.io export, and assign analyzed fiber paths to end-to-end fiber circuits -- all within NetBox's native UI and API.

Features

  • Cable type blueprints with auto-instantiation -- Define fiber cable construction once as a FiberCableType, then create instances that automatically populate buffer tubes, ribbons, strands, and cable elements following NetBox's Device/DeviceType pattern.
  • Four construction cases -- Loose tube, ribbon-in-tube, central-core ribbon, and tight buffer cable designs with full template-driven instantiation.
  • EIA/TIA-598, ABNT NBR 14771, and DIN IEC 60304 color schemes -- Each FiberCableType selects the strand color standard applied when instances are created; tube and ribbon template color pickers follow the selected standard.
  • Fiber path analysis -- Every fiber path is derived from the plant by a background analysis (networkx loader and walker), stored once with its end classification, completeness and route key, and kept current by a change queue and a nightly reconcile. Odd shapes are quarantined as anomalies, not guessed at.
  • Circuit assignment -- Circuits assign analyzed paths through one picker (wizard, "Assign fibers" action, assign API) that groups paths by route and ranks them by tube contiguity. A path that changes under a circuit marks it broken until the route is acknowledged or an approved change authorized it; every object on an assigned path is deletion-protected.
  • Per-wavelength loss budgeting -- Attach manufacturer max-attenuation specs (dB/km) to each FiberCableType at any wavelength. FiberCircuitPath.calculated_loss_db sums per-wavelength losses over the strands of the assigned path from spec values and each cable's glass_length.
  • Splice planning -- Map strand-to-strand connections in splice closures, compute diffs against live state, and export diagrams to draw.io for field crews.
  • Provider span awareness -- The analysis crosses core Circuits cabled inline (leased dark fiber through a provider meet-me room) as opaque hops; each fiber circuit tracks the provider circuits its assigned paths ride, with provider/circuit impact filters and deletion protection.
  • Device fiber overview -- Per-device fiber connection view, splice closure management with tray and group organization.
  • Slack loop tracking -- Record slack loop locations and storage methods at splice closures, with insert-into-closure workflows.
  • Fiber faults -- Report faults on whole cables or specific strands; open faults flag affected paths as defective and break the circuits riding them until the fault is resolved. Faults can be located at a closure or at a distance along the cable (picked, or estimated from a jacket mark or OTDR shot), shown on the pathways map, and cables with open faults rank last in the circuit picker.
  • Port label templates -- FMS-provisioned FrontPorts and RearPorts carry human-readable labels (cable, tube, ribbon, strand color, absolute fiber number) rendered from sandboxed Jinja2 templates, customizable plugin-wide through PLUGINS_CONFIG and refreshed automatically when the cable is relabeled.
  • Port name templates -- Optional front_port_name_template / rear_port_name_template settings render write-once port names with the same token set; a rendered set that would not fit the dcim column or would not be unique on the device falls back to the pk-based grammar with a warning, so a cable end is never half-named.
  • Full REST API and GraphQL -- All models exposed via NetBox's standard API framework; every GraphQL list field takes NetBox-style filters.

Compatibility

Plugin version NetBox version Python
0.3.x-0.7.x 4.5-4.7 3.12-3.14

Installation

pip install netbox-fms

In your NetBox configuration.py:

PLUGINS = [
    "netbox_fms",
]

Run migrations and restart NetBox:

cd /opt/netbox/netbox
python manage.py migrate
sudo systemctl restart netbox netbox-rq

Configuration

netbox-fms has no required PLUGINS_CONFIG entries. See Configuration for optional settings.

Documentation

Full documentation: jsenecal.github.io/netbox-fms

netbox-fms is part of a three-plugin set that models the full optical transport stack:

  • netbox-pathways -- physical cable plant documentation with PostGIS. Models conduits, aerial spans, structures (poles, manholes, cabinets), and the geographic routes NetBox cables traverse. FMS describes what is inside a fiber cable and how strands are spliced; Pathways describes where the cable physically runs.
  • netbox-wdm -- WDM (Wavelength Division Multiplexing) device management. Models ITU channel plans, ROADM mappings, and wavelength services that ride on top of the fiber circuits FMS provisions.

Contributing

PRs welcome. Use conventional-commits PR titles (feat:, fix:, chore:, docs:, ...) -- release-drafter assembles release notes from them. Run make setup after cloning to install dev dependencies and the pre-commit hooks (including the AI-attribution-rejecting commit-msg hook).

For questions and discussion, join the #netbox channel on the NetDev Community Slack.

License

GNU Affero General Public License v3.0.

Metadata

Release files for netbox-fms 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netbox-fms 0.7.0
File Size Uploaded Provenance Actions
netbox_fms-0.7.0.tar.gz 466.7 kB With provenance Details for netbox_fms-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for netbox-fms 0.7.0
File Interpreter ABI Platform Actions
netbox_fms-0.7.0-py3-none-any.whl Python 3 none any Details for netbox_fms-0.7.0-py3-none-any.whl

Total release size: 861.5 kB

Release files / netbox_fms-0.7.0.tar.gz

Download URL netbox_fms-0.7.0.tar.gz
Size 466.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9c8945f5a8a0fab3e4fbd9582f33980adfce2d9ea403dc52850e5d9cbf95458b
BLAKE2b-256 checksum
How to use checksums
97cf313ce5dc07d8c792723539a7a9f05b6caff8d33a9a329458f3c8770e195c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / netbox_fms-0.7.0-py3-none-any.whl

Download URL netbox_fms-0.7.0-py3-none-any.whl
Size 394.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
542be8134ecfb5697c3e9b7cc7fd5d817e7000d9053644bb74eb613f8bad0343
BLAKE2b-256 checksum
How to use checksums
b9124db954bcaf9157ea72f0e03c5a80dcbf80f8b5529ae0b292309ef305adee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for netbox-fms 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for netbox_fms-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page