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:
1 parent
133cb1d9fc
commit
adfcc802c2
12 files changed
+85
-17
No files matched your search
@@ -1,3 +1,5 @@
|
||||
include LICENSE
|
||||
include NOTICE
|
||||
recursive-include netbox_topology_views/static *
|
||||
recursive-include netbox_topology_views/templates *
|
||||
recursive-include netbox_topology_views/api *
|
||||
|
||||
@@ -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.
|
||||
@@ -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
|
||||
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` |
|
||||
@@ -222,19 +228,29 @@ Rack view: `dcim.view_rack`, `dcim.view_device`, `dcim.view_cable`.
|
||||
Saving classic topology coordinates additionally requires the corresponding
|
||||
permissions on `netbox_topology_views.coordinate`.
|
||||
|
||||
## Origin and credits
|
||||
## Origin, credits and licenses
|
||||
|
||||
This project is a fork of the open-source plugin
|
||||
[NetBox Topology Views](https://github.com/mattieserver/netbox-topology-views).
|
||||
The original plugin was created by **Mattijs Vanhaverbeke**. Most of the classic
|
||||
topology view, data models, filters and export functions are based on his work
|
||||
and the contributions to the original project.
|
||||
**Original project:** [NetBox Topology Views](https://github.com/mattieserver/netbox-topology-views),
|
||||
created by **Mattijs Vanhaverbeke** and developed with its contributors. Most of the classic
|
||||
topology view, data models, filters and export functions are based on their work. This fork
|
||||
is based on release v4.5.1, and the complete original commit history is retained in this
|
||||
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
|
||||
original author or the NetBox project.
|
||||
**This fork:** maintained by MrBlake at
|
||||
[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
|
||||
[Apache License 2.0](LICENSE). Existing copyright, license and attribution
|
||||
notices of the original project are retained.
|
||||
| Part | License |
|
||||
|---|---|
|
||||
| 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.
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -6,8 +8,7 @@ class TopologyViewsConfig(PluginConfig):
|
||||
verbose_name = "Topology views"
|
||||
description = "A plugin to render topology maps"
|
||||
version = "4.5.2"
|
||||
author = "Mattijs Vanhaverbeke, Codex & Claude"
|
||||
author_email = "[email protected]"
|
||||
author = "Mattijs Vanhaverbeke (original), MrBlake (fork)"
|
||||
base_url = "netbox_topology_views"
|
||||
min_version = "4.7.0"
|
||||
max_version = "4.7.99"
|
||||
|
||||
@@ -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 django import forms
|
||||
from django.conf import settings
|
||||
|
||||
@@ -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
|
||||
|
||||
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}}
|
||||
@@ -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 {
|
||||
height: 64vh;
|
||||
border: 1px solid #ced4da
|
||||
|
||||
@@ -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.views.generic.base import RedirectView
|
||||
from netbox.views.generic import ObjectChangeLogView
|
||||
|
||||
@@ -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 functools import lru_cache
|
||||
from pathlib import Path
|
||||
|
||||
@@ -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
|
||||
from functools import reduce
|
||||
from typing import DefaultDict, Dict, Optional, Union
|
||||
|
||||
@@ -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 setuptools import find_packages, setup
|
||||
@@ -11,9 +13,10 @@ setup(
|
||||
description="A NetBox plugin to create Topology maps",
|
||||
long_description=long_description,
|
||||
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",
|
||||
license="Apache 2.0",
|
||||
maintainer="MrBlake",
|
||||
license="Apache-2.0",
|
||||
install_requires=[],
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
@@ -24,6 +27,7 @@ setup(
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
],
|
||||
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",
|
||||
},
|
||||
)
|
||||
Reference in new issue
Block a user