Analytic templates
Analytic templates evaluate pairs of command responses — labeled Pre and Post — against a set of rules. Unlike command templates, they do not run commands on devices at execution time. Instead, they consume responses already collected at earlier stages of the automation and compare the Pre and Post outputs against each other.
See Command templates for information on how Pre and Post responses are collected.
Prerequisites
- A working NSO instance with at least one device using a live-status capable NED. Netsim devices may not work.
- The
itential_toolsNSO package pre-loaded.
Create an analytic template

Define an analytic template

Global command pass
Controls pass logic at the template level.

Rules

Regex operators

Severity
Severity applies only when a rule has failed. The default is error.

Flags
Flags apply to matches and !matches rules. Each command may have one or more rules bound by a boolean pass flag:
- Pass flag
true(on) — AND logic: all rules must pass. - Pass flag
false(off) — OR logic: at least one rule must pass.
Global rules pass
Controls pass logic at the command level.
