3.19.4.4.1.24 UpdateDhcpFailoverDelegate

The UpdateDhcpFailoverDelegate processing is done when the IpamOperationWithProgressParameter.OperationId is AdminOperationId.EditDhcpFailover. The IpamOperationWithProgressParameter instance in this case MUST be of type DhcpFailoverParameters.

This operation is used to modify the properties of a DHCP failover relationship. The following are the steps involved. In these 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 DhcpFailoverParameters, generate an appropriate SOAP fault (as specified in section 2.2.2.1). Project IpamOperationWithProgressParameter in a local variable as DhcpFailoverParameters.

  2. If DhcpFailoverParameters.Failover is NULL, generate an appropriate SOAP fault (as specified in section 2.2.2.1).

  3. Retrieve the failover relationship row from ADM_DhcpFailoverTable by looking for the row in which the value of RecordId is equal to DhcpFailoverParameters.Failover.RecordId.

  4. Identify the list of modified properties in the DhcpFailoverParameters.Failover by examining the number of properties modified in DhcpFailoverParameters.Failover.ModifiedProperties. If there are none, no further processing is required, and the procedure can return successfully.

  5. For all the properties indicated in DhcpFailoverParameters.Failover.ModifiedProperties, update the property in the retrieved row of ADM_DhcpFailoverTable from the corresponding properties from DhcpFailoverParameters.Failover.

  6. Call SetOverallStatus with Success and 100% completion.