Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Note: This feature is currently in beta and is available only to early adopters.

 

All All  Compliance condition types support three match modes:

...

Code Block
languagetext
hostname R1
 
 interface Ethernet1
  description Uplink
  ip address 10.0.0.1/24
 
 interface Ethernet2
  description LAN
  ip address 192.168.1.1/24
 
 router ospf
  network 10.0.0.0/24 area 0

...

Match mode

Condition Status

Explanation

Loose

Successful

Both lines exist in the source.

Sequential

Successful

The lines appear in the correct order.

Strict

Failed

The "description Uplink" line appears between them.

...

Example Input 1:

Code Block
languagetext
 description LAN
 hostname R1

Result: Condition successful

...

Example Input 2:

Code Block
languagetext
 ip address 10.0.0.1/24
 interface Ethernet1

Result: Condition failed

...