1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #6106: Allow assigning a virtual interface as the parent of an existing interface

This commit is contained in:
jeremystretch
2021-04-07 16:36:09 -04:00
parent 38b09dc610
commit 81193eb550
2 changed files with 2 additions and 4 deletions

View File

@@ -3072,10 +3072,7 @@ class InterfaceForm(BootstrapMixin, InterfaceCommonForm, CustomFieldModelForm):
parent = DynamicModelChoiceField(
queryset=Interface.objects.all(),
required=False,
label='Parent interface',
query_params={
'kind': 'physical',
}
label='Parent interface'
)
lag = DynamicModelChoiceField(
queryset=Interface.objects.all(),