Add MAC address field to interfaces

This commit is contained in:
Nick Peelman
2016-07-01 10:30:49 -04:00
parent 35f3355cfe
commit 5034b836ea
6 changed files with 35 additions and 5 deletions

View File

@@ -1339,6 +1339,7 @@ class InterfaceBulkAddView(PermissionRequiredMixin, BulkEditView):
iface_form = forms.InterfaceForm({
'device': device.pk,
'name': name,
'mac_address': mac_address,
'form_factor': form.cleaned_data['form_factor'],
'mgmt_only': form.cleaned_data['mgmt_only'],
'description': form.cleaned_data['description'],