|
|
|
@ -31,12 +31,12 @@
|
|
|
|
|
- assert:
|
|
|
|
|
that:
|
|
|
|
|
- "result.changed == true"
|
|
|
|
|
- "'ipv4 access-list test' in result.updates"
|
|
|
|
|
- "'10 permit ipv4 host 1.1.1.1 any log' in result.updates"
|
|
|
|
|
- "'20 permit ipv4 host 2.2.2.2 any log' in result.updates"
|
|
|
|
|
- "'30 permit ipv4 host 3.3.3.3 any log' in result.updates"
|
|
|
|
|
- "'40 permit ipv4 host 4.4.4.4 any log' in result.updates"
|
|
|
|
|
- "'50 permit ipv4 host 5.5.5.5 any log' not in result.updates"
|
|
|
|
|
- "'ipv4 access-list test' in result.commands"
|
|
|
|
|
- "'10 permit ipv4 host 1.1.1.1 any log' in result.commands"
|
|
|
|
|
- "'20 permit ipv4 host 2.2.2.2 any log' in result.commands"
|
|
|
|
|
- "'30 permit ipv4 host 3.3.3.3 any log' in result.commands"
|
|
|
|
|
- "'40 permit ipv4 host 4.4.4.4 any log' in result.commands"
|
|
|
|
|
- "'50 permit ipv4 host 5.5.5.5 any log' not in result.commands"
|
|
|
|
|
|
|
|
|
|
- name: check sub level command using strict match
|
|
|
|
|
iosxr_config:
|
|
|
|
|