|
|
@@ -2839,7 +2839,7 @@ class InterfaceBulkCreateForm(
|
|
|
|
|
|
class InterfaceBulkEditForm(
|
|
|
form_from_model(Interface, [
|
|
|
- 'label', 'type', 'enabled', 'lag', 'mac_address', 'mtu', 'mgmt_only', 'description', 'mode'
|
|
|
+ 'label', 'type', 'enabled', 'lag', 'mac_address', 'mtu', 'description', 'mode'
|
|
|
]),
|
|
|
BootstrapMixin,
|
|
|
AddRemoveTagsForm,
|
|
|
@@ -2855,6 +2855,11 @@ class InterfaceBulkEditForm(
|
|
|
disabled=True,
|
|
|
widget=forms.HiddenInput()
|
|
|
)
|
|
|
+ mgmt_only = forms.NullBooleanField(
|
|
|
+ required=False,
|
|
|
+ widget=BulkEditNullBooleanSelect,
|
|
|
+ label='Management only'
|
|
|
+ )
|
|
|
untagged_vlan = DynamicModelChoiceField(
|
|
|
queryset=VLAN.objects.all(),
|
|
|
required=False,
|