3.5.4.8.1.70 IPRangeRootEnumerationParameters

The IPRangeRootEnumerationParameters processing is done when the EnumInputParameters contains data of type IPRangeRootEnumerationParameters. The ObjectType MUST be EnumerationObjectType.IPRange. This will return IPRange data for the address ranges that are mapped to a specified address block. IPRangeRootEnumerationParameters.AddressFamily specifies the address family used to identify the simple table against which the query processing is to be done. If the address family specified is InterNetwork, the EnumOutputData is a collection of IPv4Range. Otherwise it will consist of a collection of IPv6Range.

The following are the processing steps involved:

  1. If IPRangeRootEnumerationParameters.AddressCategory is not NULL, enumerate the rows in the ADM_IPRangeTable having the specified AddressCategory. If AddressCategory is NULL, enumerate all the rows in the ADM_IPRangeTable.

  2. For each row retrieved, get IPRange data by calling the procedure GetIPRangeFromTable by passing the RecordId as Param_id input parameter and IPRangeForBlockEnumerationParameters.AddressFamily as the Param_addressfamily input parameter. Add the data in result to EnumOutputData.