mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #10177: Correct display of custom fields when editing VM interfaces
This commit is contained in:
@@ -323,6 +323,14 @@ class VMInterfaceForm(InterfaceCommonForm, NetBoxModelForm):
|
||||
label='VRF'
|
||||
)
|
||||
|
||||
fieldsets = (
|
||||
('Interface', ('virtual_machine', 'name', 'description', 'tags')),
|
||||
('Addressing', ('vrf', 'mac_address')),
|
||||
('Operation', ('mtu', 'enabled')),
|
||||
('Related Interfaces', ('parent', 'bridge')),
|
||||
('802.1Q Switching', ('mode', 'vlan_group', 'untagged_vlan', 'tagged_vlans')),
|
||||
)
|
||||
|
||||
class Meta:
|
||||
model = VMInterface
|
||||
fields = [
|
||||
|
||||
Reference in New Issue
Block a user