3.1.1.1.1.2.9 GetUtilizationForLogicalGroupNode

This procedure can be used to retrieve the address range utilization for the logical group node specified. The following are the input parameters to this procedure:

Param_logicalGroupNode: The LogicalGroupNode for which the address range utilization is being requested.

Param_addressfamily: The AddressFamily of the address range for which the utilization information for the logical group node is being requested.

The following is the output parameter of this procedure.

Result_utilization: This will be of type IPv4Utilization if the Param_addressfamily is Internet and IPv6Utilization if the Param_addressfamily is InternetV6.

The following are the processing steps involved.

  1. Call the procedure GetObjectIdsForLogicalGroupNode passing the following parameters:

    • Param_logicalGroupNode

    • Param_objectType is assigned the value of EnumerationObjectType.IPRange.

    • Param_addressfamily.

  2. If Param_addressfamily is Internet, initialize Result_utilization to IPv4Utilization, otherwise initialize Result_utilization to IPv6Utilization.

  3. For each id in Result_ObjectIds:

    1. Call the procedure GetIPRangeFromTable passing id as Param_Id and Param_addressfamily.

    2. Add result.UtilizationStatistics to Result_utilization.

  4. Return Result_utilization as the output parameter of this procedure.