py-netbox-dynamicmenu
Dieses Projekt ist als NetBox-Plugin vorbereitet und rendert ein konfigurierbares Menue ohne Anpassungen an NetBox-Templates direkt ueber eine PluginTemplateExtension in der Navbar.
Aktueller Stand
- Datenmodell fuer frei definierbare Menueeintraege vorhanden
- Darstellung ohne manuelle Template-Anpassung an NetBox umgesetzt
- Plugin-Menueeintrag unter
Pluginsfuer die native Verwaltung vorhanden - Batch fuer
fetchpluspushvorhanden:git_push_origin.bat
Installation
Das Plugin im NetBox-Venv installierbar machen:
pip install -e .
In configuration.py aktivieren:
PLUGINS = [
"netbox_dynamic_menu",
]
PLUGINS_CONFIG = {
"netbox_dynamic_menu": {
"menu_label": "Dynamic Menu",
}
}
Danach die Migrationen anwenden:
python manage.py migrate
Verwaltung
Die Eintraege koennen ueber Plugins > Dynamic Menu > Menu Items innerhalb von NetBox angelegt, bearbeitet und geloescht werden.
Legacy-Hinweis
Der fruehere Ansatz ueber {% load dynamic_menu %} und ein manuelles Einbinden in Base- oder Sidebar-Templates ist weiterhin als Hilfsfunktion vorhanden, wird fuer NetBox aber nicht mehr empfohlen.
Berechtigungen
required_permission muss als vollstaendiger Django-Permission-Name gepflegt werden, zum Beispiel:
dcim.view_site
extras.view_tag
netbox_dynamic_menu.view_menuitem
Metadata
Release files for netbox-dynamicmenu 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netbox_dynamicmenu-0.1.0.tar.gz | 5.4 kB | Without provenance | Details for netbox_dynamicmenu-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netbox_dynamicmenu-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for netbox_dynamicmenu-0.1.0-py3-none-any.whl |
Total release size: 13.4 kB
Security for netbox-dynamicmenu 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.