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

feat(ipam) Add field to link VLANs to a subnet

issue #6040
parent 6c982eef
......@@ -77,6 +77,11 @@ class ipamSubnet extends simplePlugin
'fdIpamReleaseDate', FALSE,
''
),
new ObjectsAttribute(
_('VLANs'), _('VLANs linked to this subnet'),
'fdIpamVlanDN', FALSE,
['ipamVlan']
),
]
],
'ip' => [
......
......@@ -54,6 +54,11 @@ attributetype ( 1.3.6.1.4.1.38414.78.10.8 NAME 'fdIpamBroadcast'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128}
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.38414.78.10.9 NAME 'fdIpamVlanDN'
DESC 'FusionDirectory - IPAM VLAN DN'
EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
attributetype ( 1.3.6.1.4.1.38414.78.11.1 NAME 'fdIpamVlanInnerId'
DESC 'FusionDirectory - IPAM VLAN Inner Id'
EQUALITY integerMatch
......@@ -75,7 +80,8 @@ objectclass ( 1.3.6.1.4.1.38414.78.2.1 NAME 'fdIpamSubnet'
description $ o $
fdIpamActive $
fdIpamType $ fdIpamApplicant $ fdIpamAllocationDate $ fdIpamReleaseDate $
ipHostNumber $ fdIpamNetmask $ fdIpamGateway $ fdIpamBroadcast
ipHostNumber $ fdIpamNetmask $ fdIpamGateway $ fdIpamBroadcast $
fdIpamVlanDN
) )
objectclass ( 1.3.6.1.4.1.38414.78.2.2 NAME 'fdIpamVlan'
......
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