Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IPRangeForSubnetEnumerationParameter processing is done when the EnumInputParameters contains data of type IPRangeForSubnetEnumerationParameter. The ObjectType MUST be EnumerationObjectType.IPRange. This is used to enumerate all IP ranges in the IPAM data store belonging to the specified address family and subnet ID.
The following are the steps involved in identifying the rows to be returned as a part of the enumeration:
Call GetChildRangesForBlock from ADM_IPRangeTable with Param_blockId as IPRangeForSubnetEnumerationParameter.SubnetId (since the RecordId for ADM_SubnetTable is defined as the same as the RecordId of the corresponding IPBlock object in ADM_IPBlocksTable) and Param_addressfamily as IPRangeForSubnetEnumerationParameter.AddressFamily.
Store the returned collection of IPRanges to EnumOutputData.