mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Add VMInterface CSV import view
This commit is contained in:
@ -349,6 +349,13 @@ class InterfaceDeleteView(ObjectDeleteView):
|
||||
queryset = VMInterface.objects.all()
|
||||
|
||||
|
||||
class InterfaceBulkImportView(BulkImportView):
|
||||
queryset = VMInterface.objects.all()
|
||||
model_form = forms.VMInterfaceCSVForm
|
||||
table = tables.VMInterfaceTable
|
||||
default_return_url = 'virtualization:vminterface_list'
|
||||
|
||||
|
||||
class InterfaceBulkEditView(BulkEditView):
|
||||
queryset = VMInterface.objects.all()
|
||||
table = tables.VMInterfaceTable
|
||||
|
Reference in New Issue
Block a user