Interfaces with a WirelessLink are now traced like cables; wireless-only connections are drawn blue and dotted with a "Funk" label, also in the location overviews (counted as "1× Funk"). The plugin gets its own "Kunden-Export" menu with icon in the main navigation instead of the Plugins dropdown. Co-Authored-By: Claude Opus 5.5 <[email protected]>
29 lines
1.1 KiB
Python
29 lines
1.1 KiB
Python
from django.utils.translation import gettext_lazy as _
|
|
from netbox.plugins import PluginConfig
|
|
|
|
|
|
class CustomerExportConfig(PluginConfig):
|
|
name = "netbox_customer_export"
|
|
verbose_name = _("Customer Export")
|
|
description = _("Export customer documentation as PDF or Word")
|
|
version = "0.19.0"
|
|
author = "Claude"
|
|
base_url = "customer-export"
|
|
min_version = "4.6.8"
|
|
max_version = "4.7.99"
|
|
default_settings = {
|
|
# Branding: Einzelschlüssel (company_name, logo_path, primary_color, docx_template, …)
|
|
# gelten global; "brandings" definiert mehrere Profile. Defaults siehe branding.py.
|
|
"brandings": None,
|
|
# Dotted path zu einer Funktion fn(rack, face, user) -> SVG-String,
|
|
# z.B. der Offline-Renderer aus Netbox-Utilities. None = NetBox-eigener Renderer.
|
|
"rack_svg_renderer": None,
|
|
# Lizenzquellen (Plugin-Modelle), None = Auto-Erkennung (netbox_lifecycle)
|
|
"license_sources": None,
|
|
# Darf der Techniker WLAN-PSKs o.ä. mit exportieren?
|
|
"allow_secrets": False,
|
|
}
|
|
|
|
|
|
config = CustomerExportConfig
|