From 3dbc7bdd2c78583902733e6a9a7d59d7ce07d649 Mon Sep 17 00:00:00 2001 From: kkthxbye-code Date: Thu, 8 Sep 2022 11:38:39 +0200 Subject: [PATCH] Add wwn CharField to InterfaceForm --- netbox/dcim/forms/models.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/netbox/dcim/forms/models.py b/netbox/dcim/forms/models.py index d1d5b1683..a21265db4 100644 --- a/netbox/dcim/forms/models.py +++ b/netbox/dcim/forms/models.py @@ -1331,6 +1331,12 @@ class InterfaceForm(InterfaceCommonForm, NetBoxModelForm): label='VRF' ) + wwn = forms.CharField( + empty_value=None, + required=False, + label='WWN' + ) + fieldsets = ( ('Interface', ('device', 'module', 'name', 'type', 'speed', 'duplex', 'label', 'description', 'tags')), ('Addressing', ('vrf', 'mac_address', 'wwn')),