3.19.4.4.1.11 SetSuperscopeActivationStatusDelegate
The SetSuperscopeActivationStatusDelegate processing is done when the IpamOperationWithProgressParameter.OperationId is AdminOperationId.SetSuperscopeActivationStatus. The IpamOperationWithProgressParameter instance in this case MUST be of type SetSuperscopeActivationStatusParameters.
This operation activates a list of superscopes. In the following processing steps, any time a fault is generated, the SetOverallStatus SHOULD be called with the fault details:
If IpamOperationWithProgressParameter is NULL or not of type SetSuperscopeActivationStatusParameters, generate an appropriate SOAP fault (as specified in section 2.2.2.1). Project IpamOperationWithProgressParameter in a local variable as SetSuperscopeActivationStatusParameters.
If SetSuperscopeActivationStatusParameters.Superscopes is NULL, generate an appropriate SOAP fault.
For each superscope in the list, extract the scope list from Superscope.ScopeList and add it to a local list of scopes names ScopesList.
For each scope in the ScopesList, retrieve the row from ADM_DHCPScopesTable corresponding to ADM_DHCPScopesTable.RecordId that equals the retrieved scope's RecordId, and assign to ADM_DHCPScopesTable.Status the SetSuperscopeActivationStatusParameters.ActivationStatus.
Call SetOverallStatus with Success and 100 percent completion.