3.19.4.4.1.33 UpdateDhcpFilterDelegate
The UpdateDhcpFilterDelegate processing is done when the IpamOperationWithProgressParameter.OperationId is AdminOperationId.UpdateDhcpFilter. The IpamOperationWithProgressParameter instance in this case MUST be of type UpdateDhcpFilterParameters.
This operation is used to update DHCP filter properties. The following are the steps involved. In these steps, any time a fault is generated, the SetOverallStatus SHOULD be called with the fault details:
If IpamOperationWithProgressParameter is NULL or not of type UpdateDhcpFilterParameters, generate an appropriate SOAP fault (as specified in section 2.2.2.1). Project IpamOperationWithProgressParameter in a local variable as UpdateDhcpFilterParameters.
If UpdateDhcpFilterParameters.Filter is NULL, generate an appropriate SOAP fault (as specified in section 2.2.2.1).
Check if a row exists in ADM_DhcpFiltersTable that has ADM_DhcpFiltersTable.FilterId equal to UpdateDhcpFilterParameters.Filter.FilterId and ADM_DhcpFiltersTable.ServerId equal to UpdateDhcpFilterParameters.Filter.ServerId.
If the row exists, update the row of the ADM_DhcpFiltersTable with the properties of the filter specified in the UpdateDhcpFilterParameters.Filter.
If the row does not exist, create a new row in ADM_DhcpFiltersTable and initialize it with the FilterId and ServerId and the filter properties from UpdateDhcpFilterParameters.Filter.
Call SetOverallStatus with Success and 100% completion.