3.19.4.4.1.8 RemoveScopesFromSuperscopeDelegate

The RemoveScopesFromSuperscopeDelegate processing is done when the IpamOperationWithProgressParameter.OperationId is AdminOperationId.RemoveScopesFromSuperscope. The IpamOperationWithProgressParameter instance in this case MUST be of type RemoveScopesFromSuperscopeParameters.

This operation removes a collection of scopes from an existing super scope. In the following processing steps, any time a fault is generated, the SetOverallStatus SHOULD be called with the fault details:

  1. If IpamOperationWithProgressParameter is NULL or not of type RemoveScopesFromSuperscopeParameters, generate an appropriate SOAP fault (as specified in section 2.2.2.1). Project IpamOperationWithProgressParameter in a local variable as RemoveScopesFromSuperscopeParameters.

  2. If RemoveScopesFromSuperscopeParameters.ScopeIds is NULL, generate an appropriate SOAP fault.

  3. Call the procedure RemoveScopesFromSuperScope of the ADM_DHCPScopesTable, passing RemoveScopesFromSuperscopeParameters.ScopeIds as Param_scopes.

  4. For each scope removed from the superscope, if it is in a failover relationship, this function is called for the partner scope. This removes the partner scope from the superscope with the same configuration as RemoveScopesFromSuperscopeParameters.SuperScope on the partner server.

  5. If the procedure returns any error, generate an appropriate SOAP fault.

  6. Call SetOverallStatus with Success and 100 percent completion.