3.5.4.7.1.27 IPBlockChildBlockEnumerationParameters

This is the processing done when the EnumInputParameters contains data of type IPBlockChildBlockEnumerationParameters. The ObjectType MUST be EnumerationObjectType.IPBlock. This is used to enumerate all the address blocks specific to the address family and are child blocks of a specific IP address block. The IPBlockChildBlockEnumerationParameters.AddressFamily is used to determine the simple table within the ADM_IPBlocksTable on which the processing has to be done. If the AddressFamily is Internet, the EnumOutputData will be a collection of IPv4Block and if it is InternetV6, the EnumOutputData will be a collection of IPv6Block.

The following are the steps involved in identifying the rows to be returned as a part of the enumeration:

  1. Enumerate the rows in ADM_IPBlocksTable wherein ParentBlockRecordId is equal to IPBlockChildBlockEnumerationParameters.ParentBlockRecordId.

  2. For each of the rows enumerated above, call the procedure GetIPBlockFromTable passing RecordId of the row as Param_blockId and IPBlockChildBlockEnumerationParameters.AddressFamily as Param_addressfamily. Add the result to EnumOutputData.