Using Configlet Node in Runbook for Golden Config Checks
The Configlet node is designed to simplify how golden configurations and parsers are used in a Runbook. It enables you to package specific golden configs and their associated config parsers into a single node, offering a focused and actionable context for network diagnostics.
By embedding relevant golden configlets in a Runbook, the Configlet Node eliminates the need for users to manually search through different views or interpret dispersed data. This structured approach aligns with how network engineers typically work: using CLI commands and configuration files for hands-on analysis.
Use Case
A power user defines a Runbook Template with a Configlet Node that includes only the golden configs and parser variables relevant to a specific issue.
Example: For troubleshooting BGP-related problems, the Configlet Node may contain:
-
BGP golden configuration rules
-
BGP config parser variables
An end user can then instantiate the Runbook from this template and directly view the BGP-related configlets, streamlining the analysis and resolution process, eliminating the need for manual navigation or interpretation.
Basic Workflow
You can add a Configlet Node to a Runbook in either of the following ways:
- Create a Configlet Node from Scratch:
- Add a new Configlet Node to the Runbook.
- Select target devices: choose devices from the map or include others associated with golden configs.
- Choose the Golden Config Rules and variables in Config Parser .
- Run the Configlet Node and view parsed configlet derived from the golden config and parser logic.
Use a Configlet Node from a Runbook Template:
- Open a predefined Runbook Template with a Configlet Node.
- Assign values to template variables (such as target devices, config rules, and parser variables).
- Create a Runbook from the template.
- (Optional) Modify the target devices, golden config rules and config parser variables.
- Run the Configlet Node to display the parsed configuration data for targeted analysis.