Remove mac_address from Interface and VMInterface bulk-edit forms

This commit is contained in:
Brian Tiemann 2024-11-14 18:25:00 -05:00
parent 4655372585
commit eddf0e4823
2 changed files with 1 additions and 11 deletions

View File

@ -1529,16 +1529,11 @@ class InterfaceBulkEditForm(
'group_id': '$wireless_lan_group',
}
)
mac_address = forms.CharField(
empty_value=None,
required=False,
label=_('MAC Address')
)
model = Interface
fieldsets = (
FieldSet('module', 'type', 'label', 'speed', 'duplex', 'description'),
FieldSet('vrf', 'mac_address', 'wwn', name=_('Addressing')),
FieldSet('vrf', 'wwn', name=_('Addressing')),
FieldSet('vdcs', 'mtu', 'tx_power', 'enabled', 'mgmt_only', 'mark_connected', name=_('Operation')),
FieldSet('poe_mode', 'poe_type', name=_('PoE')),
FieldSet('parent', 'bridge', 'lag', name=_('Related Interfaces')),

View File

@ -242,11 +242,6 @@ class VMInterfaceBulkEditForm(NetBoxModelBulkEditForm):
required=False,
label=_('VRF')
)
mac_address = forms.CharField(
empty_value=None,
required=False,
label=_('MAC Address')
)
model = VMInterface
fieldsets = (