Verified Commit bb4955c7 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

🚑 fix(ipam) Reorganize attributes sections in network interface

issue #6039
parent 29ed6347
......@@ -54,15 +54,6 @@ class networkInterface extends simplePlugin
_('Mac address'), _('Mac address of this system'),
'macAddress', FALSE
),
new ObjectSelectAttribute(
_('VLAN'), _('VLAN'),
'fdNetworkInterfaceVlanId', FALSE,
['ipamVlan'], 'fdIpamVlanInnerId'
),
new StringAttribute(
_('VLAN tag'), _('VLAN tag'),
'fdNetworkInterfaceVlanTag', FALSE
),
new ObjectSelectAttribute(
_('Subnet'), _('Subnet'),
'fdNetworkInterfaceSubnetDN', FALSE,
......@@ -74,6 +65,20 @@ class networkInterface extends simplePlugin
'ipHostNumber', FALSE
)
),
],
],
'vlan' => [
'name' => _('VLAN information'),
'attrs' => [
new ObjectSelectAttribute(
_('VLAN'), _('VLAN'),
'fdNetworkInterfaceVlanId', FALSE,
['ipamVlan'], 'fdIpamVlanInnerId'
),
new StringAttribute(
_('VLAN tag'), _('VLAN tag'),
'fdNetworkInterfaceVlanTag', FALSE
),
]
],
];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment