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 | ||
|---|---|---|
| ||
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 | ||
|---|---|---|
| ||
description LAN hostname R1 |
Result: Condition successful
...
Example Input 2:
| Code Block | ||
|---|---|---|
| ||
ip address 10.0.0.1/24 interface Ethernet1 |
Result: Condition failed
...