SuggestPropertyValues

Syntax

sub SuggestPropertyValues

Back to top

Description

This function is used to suggest new values for any of the extra 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

$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.

$propertyName

The name of the property to suggest. One or more of the following:

  • SecurityProfileGroup
  • LogForwardingProfile
  • Tags
  • QualityOfService
  • IntrusionPolicy
  • ServiceGraph
$trafficLineNumber

The current traffic line in the change request.

$currentValues

The current values of all extra properties, reference to hash.

Back to top

Return Values

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

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

Back to top