2023-Nov-03-R11.1a

Types of Diagnosis Settings

When you add a diagnosis to a NI, you can define various diagnosis logic to make the NI more flexible and verify the network design more accurately.

Table/Paragraph/Collector Variable

A variable can be a single variable such as $state or a table (paragraph, collector). For the table/paragraph/collector variable, you can select the Loop Table Rows for the system to loop through each table's row. Take the OSPF neighbor table as an example. There are four lines of neighbor information in the CLI result (the blue rows on the left). The diagnosis execution will determine whether the state contains full line by line (four lines in total).

Different Variable Types

Different types of variables have various operations such as Equals, Does not equal, Contains, etc. Compound variables and compound tables can be used in diagnosis definition as well.

Variable TypeExample
String
Int/Float 

Different Data Source

For each variable defined in the diagnosis, you can select its data sources:
 

  • Current: the value of this execution result of the NI .
  • Baseline: the baseline data.
  • Last: the NI will be executed twice and compare the current data with the last data.

The following diagnosis compares the current class_map_name with the baseline class_map_name:

Check Device Pair

You can compare the variables from the different devices. The following compares network from two neighbor devices.

Use Compound Condition

You can have multiple simple conditions and combine them into a Boolean expression (and/or).