3.5.4.8.1.80 UnmappedIpamIPAddressForLogicalGroupEnumerationParameters
The UnmappedIpamIPAddressForLogicalGroupEnumerationParameters processing is done when the EnumInputParameters contains data of type UnmappedIpamIPAddressForLogicalGroupEnumerationParameters. The ObjectType MUST be EnumerationObjectType.IPAddress. This is used to enumerate the address instances belonging to address ranges that do not map to the specified logical group. The UnmappedIpamIPAddressForLogicalGroupEnumerationParameters.AddressFamily value is used to determine the simple table within the ADM_IPAddressTable on which the processing is done. If the AddressFamily is InterNetwork, the EnumOutputData is a collection of IpamIPv4Address. If it is InterNetworkV6, the EnumOutputData is a collection of IpamIPv6Address.
The following processing steps involved in identifying the rows to be returned as a part of the enumeration:
Call the procedure GetUnmappedObjectIdsForLogicalGroup in ADM_CustomFieldValuesAssociationTable passing the following parameters:
Param_logicalGroup is set to LogicalGroup instance corresponding to the UnmappedIpamIPAddressForLogicalGroupEnumerationParameters.LogicalGroupRecordId retrieved by calling the procedure GetLogicalGroupFromTable in ADM_LogicalGroupsTable. This is done by passing the Param_Id to UnmappedIpamIPAddressForLogicalGroupEnumerationParameters.LogicalGroupRecordId. Param_groupType is set to LogicalGroupType.Range and Param_addressFamily is set to UnmappedIpamIPAddressForLogicalGroupEnumerationParameters.AddressFamily.
Param_objectType is set to LogicalGroupType.Range.
Param_addressFamily is set to UnmappedIpamIPAddressForLogicalGroupEnumerationParameters.AddressFamily.
The previously returned Result_ObjectIds comprises a list of address range instances. Get the list of addresses mapping to these address ranges by enumerating the rows whose RangeRecordId is the value of the range record identifier that is returned in Result_ObjectIds. For each of the address instances, call the procedure GetIPAddressFromTable in ADM_IPAddressTable passing the address instance’s record identifier as Param_Id and UnmappedIpamIPAddressForLogicalGroupEnumerationParameters.AddressFamily as Param_addressFamily. Add the returned result to EnumOutputData.