R12.1-2025July30
Templatize Intent Node
You can templatize certain settings when saving an intent node as part of a Runbook Template, and make the template reusable across different scenarios:
-
From the menu (☰), select Save as Template from the drop-down to open the template editor mode.
-
Select the Network Intent node and Select Items to Templatize section will appear at the bottom. The following components can be configured as template variables:
-
Target Device: This attribute is included in most Runbook node templates and is used during instantiation of a runbook from the template.
-
Add Additional Intent (Optional): When enabled, you can select a template variable for dynamically searching additional intents by keyword (intent name or tag) within a specific intent type.
-
Build Dashboard: Allows defining a dashboard as part of the template. You can use template variables to set Dashboard Name and Chart Name.
Note: The intent scope cannot be defined here. During runbook instantiation, all intents will be included in the dashboard. To exclude certain intents, manually edit the dashboard post-instantiation. -
Macro Variable Setting: $intentName: This setting appears automatically and is selected by default when the Auto Intent or NIT includes macro variables.
- It cannot be deselected.
- You can define how values are assigned using template variables in a pop-up dialog.
-
Task Variable Setting: This option appears automatically and is selected by default when the intent includes task variables.
- It cannot be deselected.
- You can assign variable values using a selected template variable.
-
Target Device: This attribute is included in most Runbook node templates and is used during instantiation of a runbook from the template.
Content Saved in Runbook Template based on Intent Type
The table below lists the content saved in the template for different intent types.
Intent Type | Description |
Common Intent | Saves the specific intent to the template. |
Golden Intent | Save the Golden Intent to the template, not the cloned version of a specific device. |
ADT Intent | Save the ADT intent column setting to the template. |
Auto Intent |
|
NIT | Same as Auto Intent. |