docs: state fork, original authors and licenses

Follow the attribution requirements of the Apache License 2.0 and of
CC BY-SA 4.0 (device icons) for this fork of
mattieserver/netbox-topology-views:

- add a NOTICE file crediting Mattijs Vanhaverbeke and contributors, the icon
  license and the bundled third-party libraries (vis-network, vis-data,
  vis-util, Hammer.js)
- mark every file changed since upstream v4.5.1 as modified (section 4b)
- add a visible fork notice and a section on origin, credits and licenses to
  the README, including the CC BY-SA 4.0 license of the icons added here
- point the package URL to this fork (with an Upstream link), add MrBlake as
  maintainer and replace the placeholder author email
- ship LICENSE and NOTICE in the package

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-11-13 15:52:13 +01:00
1 parent 133cb1d9fc
commit adfcc802c2
12 files changed
+85 -17

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
include LICENSE
include NOTICE
recursive-include netbox_topology_views/static * recursive-include netbox_topology_views/static *
recursive-include netbox_topology_views/templates * recursive-include netbox_topology_views/templates *
recursive-include netbox_topology_views/api * recursive-include netbox_topology_views/api *
+31
View File
@@ -0,0 +1,31 @@
MRB NetBox Topology Views
Original work: NetBox Topology Views by Mattijs Vanhaverbeke and contributors
Modifications Copyright 2026 MrBlake
This product is a modified version of NetBox Topology Views
(https://github.com/mattieserver/netbox-topology-views), based on its release v4.5.1.
The original work is licensed under the Apache License, Version 2.0. The
modifications are distributed under the same license; see the LICENSE file.
Files that were changed in this fork carry a notice stating that they were
modified. The complete history, including all original commits, is available at
https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views
Device icons
------------
The SVG icons in netbox_topology_views/static/netbox_topology_views/img/ are
licensed under the Creative Commons Attribution-ShareAlike 4.0 International
license (CC BY-SA 4.0); see the LICENSE file in that directory. They were created
by the contributors of NetBox Topology Views. The icons network-switch.svg,
leaf-switch.svg, spine-switch.svg and aggregation-switch.svg were added in this
fork and are also licensed under CC BY-SA 4.0.
Third-party software
--------------------
netbox_topology_views/static/netbox_topology_views/js/app.js bundles:
- vis-network 9.1.10, vis-data 7.1.9, vis-util 5.0.7 (Apache-2.0 OR MIT)
- Hammer.js (MIT)
Their copyright and license notices are retained in the bundle.
This fork is maintained independently and is not affiliated with or endorsed
by Mattijs Vanhaverbeke, the original contributors or NetBox Labs.
+28 -12
View File
@@ -7,6 +7,12 @@ The plugin builds topologies from the devices, ports and cables maintained in
NetBox. In addition to the classic topology, this fork provides a complete view NetBox. In addition to the classic topology, this fork provides a complete view
of one or more racks including front, rear and cabling. of one or more racks including front, rear and cabling.
> **Fork notice:** This is a modified version of
> [NetBox Topology Views](https://github.com/mattieserver/netbox-topology-views) by
> **Mattijs Vanhaverbeke** and contributors, licensed under the [Apache License 2.0](LICENSE).
> It is maintained independently and is not affiliated with or endorsed by the original
> author. See [Origin, credits and licenses](#origin-credits-and-licenses).
| | | | | |
|---|---| |---|---|
| **Plugin name** | `netbox_topology_views` | | **Plugin name** | `netbox_topology_views` |
@@ -222,19 +228,29 @@ Rack view: `dcim.view_rack`, `dcim.view_device`, `dcim.view_cable`.
Saving classic topology coordinates additionally requires the corresponding Saving classic topology coordinates additionally requires the corresponding
permissions on `netbox_topology_views.coordinate`. permissions on `netbox_topology_views.coordinate`.
## Origin and credits ## Origin, credits and licenses
This project is a fork of the open-source plugin **Original project:** [NetBox Topology Views](https://github.com/mattieserver/netbox-topology-views),
[NetBox Topology Views](https://github.com/mattieserver/netbox-topology-views). created by **Mattijs Vanhaverbeke** and developed with its contributors. Most of the classic
The original plugin was created by **Mattijs Vanhaverbeke**. Most of the classic topology view, data models, filters and export functions are based on their work. This fork
topology view, data models, filters and export functions are based on his work is based on release v4.5.1, and the complete original commit history is retained in this
and the contributions to the original project. repository. The changes are listed in [Changes compared to the original](#changes-compared-to-the-original).
This fork is developed independently and is not officially affiliated with the **This fork:** maintained by MrBlake at
original author or the NetBox project. [git.mrblake.cc/MrBlake/mrb-netbox-topology-views](https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views).
It is not affiliated with or endorsed by the original author, the original contributors or
NetBox Labs. Please report problems with this fork
[here](https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views/issues), not to the original project.
## License **Licenses:**
Like the original, this project is licensed under the | Part | License |
[Apache License 2.0](LICENSE). Existing copyright, license and attribution |---|---|
notices of the original project are retained. | Source code (original and modifications) | [Apache License 2.0](LICENSE) |
| Device icons in `netbox_topology_views/static/netbox_topology_views/img/` | [CC BY-SA 4.0](netbox_topology_views/static/netbox_topology_views/img/LICENSE), by the contributors of NetBox Topology Views; the icons `network-switch`, `leaf-switch`, `spine-switch` and `aggregation-switch` were added in this fork under the same license |
| vis-network, vis-data, vis-util (bundled in `js/app.js`) | Apache-2.0 OR MIT |
| Hammer.js (bundled in `js/app.js`) | MIT |
The [NOTICE](NOTICE) file lists the copyright holders. The original copyright and license
notices are retained, and every file changed in this fork carries a notice stating that it
was modified.
+3 -2
View File
@@ -1,3 +1,5 @@
# Modified by MrBlake for the MRB NetBox Topology Views fork: https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views
# Based on mattieserver/netbox-topology-views (Apache License 2.0). See the LICENSE and NOTICE files.
from netbox.plugins import PluginConfig from netbox.plugins import PluginConfig
@@ -6,8 +8,7 @@ class TopologyViewsConfig(PluginConfig):
verbose_name = "Topology views" verbose_name = "Topology views"
description = "A plugin to render topology maps" description = "A plugin to render topology maps"
version = "4.5.2" version = "4.5.2"
author = "Mattijs Vanhaverbeke, Codex & Claude" author = "Mattijs Vanhaverbeke (original), MrBlake (fork)"
author_email = "[email protected]"
base_url = "netbox_topology_views" base_url = "netbox_topology_views"
min_version = "4.7.0" min_version = "4.7.0"
max_version = "4.7.99" max_version = "4.7.99"
+2
View File
@@ -1,3 +1,5 @@
# Modified by MrBlake for the MRB NetBox Topology Views fork: https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views
# Based on mattieserver/netbox-topology-views (Apache License 2.0). See the LICENSE and NOTICE files.
from cProfile import label from cProfile import label
from django import forms from django import forms
from django.conf import settings from django.conf import settings
+2
View File
@@ -1,3 +1,5 @@
# Modified by MrBlake for the MRB NetBox Topology Views fork: https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views
# Based on mattieserver/netbox-topology-views (Apache License 2.0). See the LICENSE and NOTICE files.
from netbox.plugins import PluginMenu, PluginMenuItem, PluginMenuButton from netbox.plugins import PluginMenu, PluginMenuItem, PluginMenuButton
coordinategroup_buttons = ( coordinategroup_buttons = (
@@ -1 +1,3 @@
/* Modified by MrBlake for the MRB NetBox Topology Views fork: https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views
Based on mattieserver/netbox-topology-views (Apache License 2.0). See the LICENSE and NOTICE files. */
#visgraph{height:64vh;border:1px solid #ced4da}html[data-netbox-color-mode=dark] #visgraph{background-color:#212529;border:1px solid #495057}.image-dropdown img{width:64px;height:64px}.image-dropdown-content{display:flex;flex-wrap:wrap;gap:.5rem;padding-inline:.5rem;width:50vw;max-width:32rem}.image-dropdown-content>img{cursor:pointer}.rack-elevation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(34rem,1fr));gap:1rem}.rack-card{border:1px solid var(--tblr-border-color,#ced4da);border-radius:.4rem;background:var(--tblr-bg-surface,#fff);padding:1rem}.rack-card>header{display:flex;justify-content:space-between;margin-bottom:.75rem}.rack-faces{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.rack-face-title{text-align:center;font-size:.75rem;text-transform:uppercase;margin-bottom:.25rem}.rack-frame{display:flex;height:calc(var(--rack-units)*14px);min-height:280px;max-height:70vh;border:4px solid #3b4654;background:repeating-linear-gradient(to top,rgba(127,127,127,.14) 0,rgba(127,127,127,.14) 1px,transparent 1px,transparent calc(100%/var(--rack-units)))}.rack-unit-labels{width:2rem;display:flex;flex-direction:column;justify-content:space-around;font-size:.55rem;text-align:center;color:var(--tblr-secondary,#667382)}.rack-device-area{position:relative;flex:1;border-left:1px solid #3b4654}.rack-device{position:absolute;left:3px;right:3px;min-height:2px;overflow:hidden;padding:1px 5px;border:2px solid #1685fc;border-radius:3px;background:#162e45;color:#fff;line-height:1.1;text-decoration:none}.rack-device:hover{filter:brightness(1.25);color:#fff;z-index:2}.rack-device span,.rack-device small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rack-device small{font-size:.6rem;opacity:.8}@media(max-width:700px){.rack-elevation-grid{grid-template-columns:1fr}.rack-faces{grid-template-columns:1fr}} #visgraph{height:64vh;border:1px solid #ced4da}html[data-netbox-color-mode=dark] #visgraph{background-color:#212529;border:1px solid #495057}.image-dropdown img{width:64px;height:64px}.image-dropdown-content{display:flex;flex-wrap:wrap;gap:.5rem;padding-inline:.5rem;width:50vw;max-width:32rem}.image-dropdown-content>img{cursor:pointer}.rack-elevation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(34rem,1fr));gap:1rem}.rack-card{border:1px solid var(--tblr-border-color,#ced4da);border-radius:.4rem;background:var(--tblr-bg-surface,#fff);padding:1rem}.rack-card>header{display:flex;justify-content:space-between;margin-bottom:.75rem}.rack-faces{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.rack-face-title{text-align:center;font-size:.75rem;text-transform:uppercase;margin-bottom:.25rem}.rack-frame{display:flex;height:calc(var(--rack-units)*14px);min-height:280px;max-height:70vh;border:4px solid #3b4654;background:repeating-linear-gradient(to top,rgba(127,127,127,.14) 0,rgba(127,127,127,.14) 1px,transparent 1px,transparent calc(100%/var(--rack-units)))}.rack-unit-labels{width:2rem;display:flex;flex-direction:column;justify-content:space-around;font-size:.55rem;text-align:center;color:var(--tblr-secondary,#667382)}.rack-device-area{position:relative;flex:1;border-left:1px solid #3b4654}.rack-device{position:absolute;left:3px;right:3px;min-height:2px;overflow:hidden;padding:1px 5px;border:2px solid #1685fc;border-radius:3px;background:#162e45;color:#fff;line-height:1.1;text-decoration:none}.rack-device:hover{filter:brightness(1.25);color:#fff;z-index:2}.rack-device span,.rack-device small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rack-device small{font-size:.6rem;opacity:.8}@media(max-width:700px){.rack-elevation-grid{grid-template-columns:1fr}.rack-faces{grid-template-columns:1fr}}
@@ -1,3 +1,5 @@
/* Modified by MrBlake for the MRB NetBox Topology Views fork: https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views
Based on mattieserver/netbox-topology-views (Apache License 2.0). See the LICENSE and NOTICE files. */
#visgraph { #visgraph {
height: 64vh; height: 64vh;
border: 1px solid #ced4da border: 1px solid #ced4da
+2
View File
@@ -1,3 +1,5 @@
# Modified by MrBlake for the MRB NetBox Topology Views fork: https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views
# Based on mattieserver/netbox-topology-views (Apache License 2.0). See the LICENSE and NOTICE files.
from django.urls import path from django.urls import path
from django.views.generic.base import RedirectView from django.views.generic.base import RedirectView
from netbox.views.generic import ObjectChangeLogView from netbox.views.generic import ObjectChangeLogView
+2
View File
@@ -1,3 +1,5 @@
# Modified by MrBlake for the MRB NetBox Topology Views fork: https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views
# Based on mattieserver/netbox-topology-views (Apache License 2.0). See the LICENSE and NOTICE files.
from dataclasses import dataclass from dataclasses import dataclass
from functools import lru_cache from functools import lru_cache
from pathlib import Path from pathlib import Path
+2
View File
@@ -1,3 +1,5 @@
# Modified by MrBlake for the MRB NetBox Topology Views fork: https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views
# Based on mattieserver/netbox-topology-views (Apache License 2.0). See the LICENSE and NOTICE files.
import json import json
from functools import reduce from functools import reduce
from typing import DefaultDict, Dict, Optional, Union from typing import DefaultDict, Dict, Optional, Union
+7 -3
View File
@@ -1,3 +1,5 @@
# Modified by MrBlake for the MRB NetBox Topology Views fork: https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views
# Based on mattieserver/netbox-topology-views (Apache License 2.0). See the LICENSE and NOTICE files.
from pathlib import Path from pathlib import Path
from setuptools import find_packages, setup from setuptools import find_packages, setup
@@ -11,9 +13,10 @@ setup(
description="A NetBox plugin to create Topology maps", description="A NetBox plugin to create Topology maps",
long_description=long_description, long_description=long_description,
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
url="https://github.com/mattieserver/netbox-topology-views", url="https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views",
author="Mattijs Vanhaverbeke", author="Mattijs Vanhaverbeke",
license="Apache 2.0", maintainer="MrBlake",
license="Apache-2.0",
install_requires=[], install_requires=[],
packages=find_packages(), packages=find_packages(),
include_package_data=True, include_package_data=True,
@@ -24,6 +27,7 @@ setup(
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3 :: Only",
], ],
project_urls={ project_urls={
"Source": "https://github.com/mattieserver/netbox-topology-views", "Source": "https://git.mrblake.cc/MrBlake/mrb-netbox-topology-views",
"Upstream": "https://github.com/mattieserver/netbox-topology-views",
}, },
) )