iosxr tests to work with 2.3 (#21998)
This commit is contained in:
parent
9c72d478ec
commit
9f49d4b8f4
3 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
- hosts: iosxr
|
- hosts: iosxr
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
connection: local
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
limit_to: "*"
|
limit_to: "*"
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
iosxr_command:
|
iosxr_command:
|
||||||
commands:
|
commands:
|
||||||
- show version
|
- show version
|
||||||
- show interfaces GigabitEthernet0/0/0/1
|
- show interfaces Loopback 888
|
||||||
wait_for:
|
wait_for:
|
||||||
- "result[0] contains 6.0.0"
|
- "result[0] contains 'Cisco IOS XR Software'"
|
||||||
- "result[1] contains GigabitEthernet0/0/0/1"
|
- "result[1] contains 'Hardware is Loopback interface'"
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
- assert:
|
- assert:
|
||||||
that:
|
that:
|
||||||
- "result.changed == true"
|
- "result.changed == true"
|
||||||
- "'hostname foo' in result.updates"
|
- "'hostname foo' in result.commands"
|
||||||
|
|
||||||
- name: configure top level command idempotent check
|
- name: configure top level command idempotent check
|
||||||
iosxr_config:
|
iosxr_config:
|
||||||
|
|
Loading…
Reference in a new issue