R12.1 Project Publication-2025Dec23

Generate Golden Intent

You can create a golden intent under the assessment rule from three types of methods. Navigate to the Golden Intent Generator tab within the Assessment Rule interface and:

  1. Click +Add to start creating a new intent.
  2. Enter the basic information such as name, description and location.
  3. Select one of the golden intent Type from the drop-down menu:
    1. CLI Command: Define Command Parser to perform the Check.
    2. Seed Intent: Create a golden intent using an existing Seed Intent.
    3. Golden Config Check: Generate the Golden Intent through Golden Config Check.

  4. Turn ON the Auto-create Dashboard.
  5. Click Generate to replicate the created intents to the reference cluster selected as the target device scope. A window will pop up displaying the list of the golden intents defined under the current Golden Rule.
  6. Select the applicable intents to generate them in batch and click OK.
  7. Also, you can directly check the option Run Intent after Generation.

  8. Intent Execution Results: The execution results will be displayed in the table. The following functions are provided at the top of the table:
    1. An Execution log with warnings, errors and information.
    2. Open Dashboard: If the Auto-create Dashboard option is enabled, it will be automatically generated, and a link to access the dashboard will appear.
    3. Open Feature ADT: An ADT for the feature will be generated upon execution.

CLI Command

Each CLI command-based intent can include multiple commands and checks. Add the Command and Golden Check information as follows:

  1. Select the device scope to create Intent on either the Selected Reference Cluster or all devices of the network.
  2. Add a command parser by clicking +Add. You can select either an existing parser from the library or create a new one.

  3. Set the table key in Table Key Manager.
  4. Click Undefined in the Golden Check column to define the diagnosis condition and message.

  5. You can add multiple Golden checks to the diagnosis.
  6. Define the message to display for True and False conditions.
  7. Click OK to save and close the window.

Seed Intent

To replicate an existing intent from the intent manager to target devices, select Seed Intent as the type.

  1. Select the Seed Intent from the intent manager and click OK.
  2. Select the target reference cluster from Create Intent on.

  3. Set Variable: Choose a variable either from the Eigen Table or using Config Parameter Table.
    1. Set Macro Variable using Config Parameter Table: To enable accurate and automated mapping of values into macro variables, you can use the Config Parameter Table.
      1. Click the drop down and select Select Config Parameter Table.
      2. Select a config Rule Template from the drop down list.
      3. Choose the relevant variable as macro variable parameter (e.g., IP address, hostname, interface) from .
      4. The selected parameter will be directly mapped into the corresponding macro variable.

    2. Define Config Parameter Filter: Instead of manually specifying variable values, you can define a filter to let the system auto-map values.
      1. Navigate to the Config Parameter Filter.
      2. Click on Undefined to open the filter configuration window.
      3. Define how macro variables should be mapped by referencing the column names from the Config Parameter Table.
      4. Specify the filter condition for each variable.
      5. Click OK to confirm the filter logic.

Compare with Golden Config

The Compare with Golden Config function will be scheduled to periodically check and display results.

    Information Note: Compare with Golden Config will not be available in the Type menu if a reference cluster is not selected.
  1. Enable Refresh Configuration File before Golden Config Check as needed.
  2. Select a severity in the field Filter Golden Config via Severity.