3.1.1.1.48.2.2 GetFiltersForServer
The GetFiltersForServer procedure is used to retrieve all DhcpFilter instances from ADM_DhcpFilterTable that are related to a specific DhcpServer instance.
The following input parameter is used in this procedure.
Param_serverId: This is a signed 64-bit integer that represents a RecordId for type DhcpServerV4.
The following is the output parameter from this procedure.
Result_Filters: This is a collection of type DhcpFilter and represents all the DhcpFilter instances that are related to a specific DhcpServerV4 instance.
The following are the processing steps involved:
Look up all the rows in ADM_DhcpFilterTable with a ServerId value of Param_serverId.
If no such rows are found, initialize Result_Filters as NULL and return from the procedure.
Initialize Result_Filters as a collection of type DhcpFilter.
Call the procedure GetFilterById of ADM_DhcpFilterTable by passing FilterId as Param_filterId.
Process the output from the procedure Result_filter and if it is not NULL, add it to Result_Filters collection.
Return Result_Filters as the output of the procedure.