FilterInitialPlanResults

Syntax

sub FilterInitialPlanResults

Back to top

Description

This function is called for every change request, after FireFlow performs initial planning. It enables the removal of devices from the initial planning results. It receives the change request results from the AFA initial planning query, and the policy names of each device in the query results. It returns a list of devices removed from the initial query results. In the case when the hook removes all devices in the results, it will be ignored, and a warning will be issued.

Back to top

Input Parameters

$ticket

A Perl hash reference containing a single key called flatTicket, which points to the flat ticket representation of the change request.

For details, see Flat Ticket Examples.

$firewallGroupQueryResult

A Perl hash reference containing results from the AFA initial planning query.

$firewallsHash

A Perl hash reference containing the policy name of each device in the query results.

Back to top

Return Values

A Perl array reference containing an array of device names which were removed from the initial planning results.

Back to top