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

Permit the assignment of virtual interfaces as parents

This commit is contained in:
jeremystretch
2021-04-05 14:48:11 -04:00
parent 3cfab25f8a
commit 19cb575b90
3 changed files with 9 additions and 15 deletions

View File

@ -3148,7 +3148,6 @@ class InterfaceCreateForm(ComponentCreateForm, InterfaceCommonForm):
required=False,
query_params={
'device_id': '$device',
'kind': 'physical',
}
)
lag = DynamicModelChoiceField(
@ -3235,10 +3234,7 @@ class InterfaceBulkEditForm(
)
parent = DynamicModelChoiceField(
queryset=Interface.objects.all(),
required=False,
query_params={
'kind': 'physical',
}
required=False
)
lag = DynamicModelChoiceField(
queryset=Interface.objects.all(),