mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Add VMInterface list view
This commit is contained in:
@@ -290,11 +290,11 @@ class VirtualMachineBulkDeleteView(BulkDeleteView):
|
||||
#
|
||||
|
||||
class InterfaceListView(ObjectListView):
|
||||
queryset = VMInterface.objects.prefetch_related('virtual_machine', 'virtual_machine__tenant', 'cable')
|
||||
queryset = VMInterface.objects.prefetch_related('virtual_machine')
|
||||
filterset = filters.VMInterfaceFilterSet
|
||||
filterset_form = forms.VMInterfaceFilterForm
|
||||
table = tables.VMInterfaceTable
|
||||
action_buttons = ('import', 'export')
|
||||
action_buttons = ('export',)
|
||||
|
||||
|
||||
class InterfaceView(ObjectView):
|
||||
|
||||
Reference in New Issue
Block a user