feat: IPv4/IPv6 selection and wrapped device names in topology
- New export option "IP-Versionen" (IPv4, IPv6 or both, default both). Applies to management/OOB IP columns, VMs, topology labels and filters the prefix and IP address sections by family. - Topology device names longer than 15 characters are wrapped onto several lines, preferably after "-", "_", "." or spaces; row heights adapt to the number of lines. Bump version to 0.7.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -77,6 +77,14 @@ class ExportForm(forms.Form):
|
||||
)
|
||||
topo_isolated = forms.BooleanField(required=False, initial=False, label="Unverkabelte Geräte anzeigen")
|
||||
|
||||
ip_versions = forms.MultipleChoiceField(
|
||||
choices=(("4", "IPv4"), ("6", "IPv6")),
|
||||
initial=["4", "6"],
|
||||
required=False,
|
||||
widget=forms.CheckboxSelectMultiple,
|
||||
label="IP-Versionen",
|
||||
)
|
||||
|
||||
include_empty = forms.BooleanField(required=False, label="Leere Abschnitte trotzdem aufführen")
|
||||
include_secrets = forms.BooleanField(required=False, label="Geheimnisse (z.B. WLAN-PSK) mit exportieren")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user