Share via


3.5.4.8.1.52 IpamIPSubnetsByAddressSpaceAndVirtualizationTypeEnumerationParameters

The IpamIPSubnetsByAddressSpaceAndVirtualizationTypeEnumerationParameters processing is done when EnumInputParameters contains data of type IpamIPSubnetsByAddressSpaceAndVirtualizationTypeEnumerationParameters. The ObjectType MUST be EnumerationObjectType.IPSubnet. This is used to enumerate all IP subnets in the IPAM data store belonging to the specified address family, address space, and virtualization type.

  1. The following steps identify the rows to be returned as a part of the enumeration:

  2. Call GetAllSubnetsForAddressSpace of ADM_SubnetTable with the following parameters:

  3. Param_AddressSpaceRecordId as IpamIPSubnetsByAddressSpaceAndVirtualizationTypeEnumerationParameters.AddressSpaceRecordId.

  4. Param_AddressFamily as IpamIPSubnetsByAddressSpaceAndVirtualizationTypeEnumerationParameters.AddressFamily

  5. For each object returned, add those whose VirtualizationType matches IpamIPSubnetsByAddressSpaceAndVirtualizationTypeEnumerationParameters.VirtualizationType into EnumOutputData.