Skip to content

Commit

Permalink
Fixes #6106: Allow assigning a virtual interface as the parent of an …
Browse files Browse the repository at this point in the history
…existing interface
  • Loading branch information
jeremystretch committed Apr 7, 2021
1 parent 38b09dc commit 81193eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/release-notes/version-2.11.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* [#6100](https://github.com/netbox-community/netbox/issues/6100) - Fix VM interfaces table "add interfaces" link
* [#6104](https://github.com/netbox-community/netbox/issues/6104) - Fix location column on racks table
* [#6105](https://github.com/netbox-community/netbox/issues/6105) - Hide checkboxes for VMs under cluster VMs view
* [#6106](https://github.com/netbox-community/netbox/issues/6106) - Allow assigning a virtual interface as the parent of an existing interface

---

Expand Down
5 changes: 1 addition & 4 deletions netbox/dcim/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 81193eb

Please sign in to comment.