3.5.4.7.1.22 IpamIPAddressByRangeIdEnumerationParameters
This is the processing done when the EnumInputParameters contains data of type IpamIPAddressByRangeIdEnumerationParameters. The ObjectType MUST be EnumerationObjectType.IPAddress. This is used to enumerate addresses mapped to the specified address range given by IpamIPAddressByRangeIdEnumerationParameters.RangeId. The IpamIPAddressByRangeIdEnumerationParameters.AddressFamily is used to determine the simple table within the ADM_IPAddressTable on which the processing has to be done. If the AddressFamily is Internet, the EnumOutputData will be a collection of IpamIPv4Address and if it is InternetV6, the EnumOutputData will be a collection of IpamIPv6Address.
The following are the steps involved in identifying the rows to be returned as a part of the enumeration:
If IpamIPAddressByRangeIdEnumerationParameters.RangeId is not specified or null or 0, an appropriate SOAP fault MUST be generated.
Enumerate the rows in ADM_IPAddressTable which have RangeRecordId equal to IpamIPAddressByRangeIdEnumerationParameters.RangeId.
For each of the rows that meets the above condition, call the procedure GetIPAddressFromTable passing the RecordId as Param_Id and IpamIPAddressByRangeIdEnumerationParameters.AddressFamily as Param_addressfamily. Add result to EnumOutputData.