SuggestPropertyValues

Syntax

sub SuggestPropertyValues

Back to top

Description

This function is used to suggest new values for any of the properties of the traffic line of the current change request.
It returns a hash of all suggested values for the currently supported properties:

  • SecurityProfileGroup (for Panorama and Fortimanager)

  • LogForwardingProfile (for Panorama)

  • Tags (for Panorama)

  • QualityOfService (for Panorama)

  • IntrusionPolicy (for Cisco Firepower)

  • ServiceGraph (for Cisco ACI)

Back to top

Input Parameters

$context

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.

$trafficLineNumber

The current traffic line in the change request.

$currentValues

The current values of all properties, reference to hash.

Back to top

Return Values

Returns the new values of the properties as key/value pairs.

For example: { "IntrusionPolicy" => ["Maximum Detection"] }

Back to top