Make junos integration test checks platform independent (#27768)

This commit is contained in:
Ganesh Nalawade 2017-08-04 20:48:57 +05:30 committed by Ricardo Carrillo Cruz
commit 0f261964f7
15 changed files with 48 additions and 51 deletions

View file

@ -5,9 +5,9 @@
junos_command:
commands:
- show version
- show interfaces fxp0
- show interfaces lo0
wait_for:
- "result[1].interface-information[0].physical-interface[0].name[0].data foo fxp0"
- "result[1].interface-information[0].physical-interface[0].name[0].data foo lo0"
encoding: text
provider: "{{ netconf }}"
register: result

View file

@ -5,11 +5,11 @@
junos_command:
commands:
- show version
- show interfaces fxp0
- show interfaces lo0
display: text
wait_for:
- "result[0] contains {{ inventory_hostname_short }}"
- "result[1] contains fxp0"
- "result[1] contains lo0"
provider: "{{ netconf }}"
register: result