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 IPRangeForBlockEnumerationParameters processing is done when the EnumInputParameters contains data of type IPRangeForBlockEnumerationParameters. The ObjectType MUST be EnumerationObjectType.IPRange. This returns IPRange data for the address ranges that are mapped to a specified address block. IPRangeForBlockEnumerationParameters.AddressFamily specifies the address family used to identify the simple table against which the query processing is done. If the address family specified is InterNetwork, the EnumOutputData is a collection of IPv4Range. Otherwise, it consists of a collection of IPv6Range.
The following processing steps are performed:
Get the IPBlock for which the ranges are requested by calling the procedure GetIPBlockFromTable in ADM_IPBlocksTable by passing IPRangeForBlockEnumerationParameters.ParentBlockRecordId as the Param_id input parameter and IPRangeForBlockEnumerationParameters.AddressFamily as the Param_addressfamily input parameter.
If the result is NULL, that is, the specified ParentBlockRecordId value is not found in the table, an appropriate SOAP fault MUST be returned.
Enumerate the rows in the ADM_IPRangeTable that have the IPBlockRecordId to be the ParentBlockRecordId passed as input parameter. If the IPRangeForBlockEnumerationParameters.AddressAssignment is also specified, enumerate rows that have the specific AddressAssignment type as well as follows:
For each row retrieved, get IPRange data by calling the procedure GetIPRangeFromTable by passing the RecordId as the Param_id input parameter and IPRangeForBlockEnumerationParameters.AddressFamily as the Param_addressfamily input parameter. Add the data in result to EnumOutputData.