Important

   

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

Using substitution parameters in rules

You can include substitution parameters in line/lines and pattern/patterns. TrueSight Network Automation substitutes these values when performing the compliance check.

To insert substitution parameters

  1. While you are on the Grammar tab during rule configuration, select Substitution Parameters in the menu.
  2. Select the category above the list of parameters — Global, Device, Template, Agent, Function, or Device Attribute Label.
    For description and usage of each of these categories of substitution parameters, see About substitution parameters.
  3. Use your mouse to highlight the text in the Name column. Press Ctrl+C to copy it to your clipboard.
  4. Place your cursor in the line or pattern field where you want to insert the parameter, and then press Ctrl+V.

    In the following example, the rule substitutes function output (${eval functionName}) and trigger values (strings extracted from the line that matched the Trigger criteria).

Related topic

See Updating device passwords for an example of using substitution parameters and rules to update the password for a device.

Was this page helpful? Yes No Submitting... Thank you

Comments