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].rpc-reply.interface-information[0].physical-interface[0].name[0].data foo fxp0"
- "result[1].rpc-reply.interface-information[0].physical-interface[0].name[0].data foo lo0"
format: xml
provider: "{{ netconf }}"
register: result

View file

@ -5,10 +5,10 @@
junos_command:
commands:
- show version
- show interfaces fxp0
- show interfaces lo0
format: xml
wait_for:
- "result[1].rpc-reply.interface-information.physical-interface.mtu gt 1500"
- "result[1].rpc-reply.interface-information.physical-interface.local-index gt 5"
provider: "{{ netconf }}"
register: result
@ -22,10 +22,10 @@
junos_command:
commands:
- show version
- show interfaces fxp0
- show interfaces lo0
format: xml
wait_for:
- "result[1].rpc-reply.interface-information.physical-interface.mtu > 1500"
- "result[1].rpc-reply.interface-information.physical-interface.local-index > 5"
provider: "{{ netconf }}"
register: result

View file

@ -5,10 +5,10 @@
junos_command:
commands:
- show version
- show interfaces fxp0
- show interfaces lo0
format: xml
wait_for:
- "result[1].rpc-reply.interface-information.physical-interface.mtu ge 1514"
- "result[1].rpc-reply.interface-information.physical-interface.local-index ge 6"
provider: "{{ netconf }}"
register: result
@ -22,10 +22,10 @@
junos_command:
commands:
- show version
- show interfaces fxp0
- show interfaces lo0
format: xml
wait_for:
- "result[1].rpc-reply.interface-information.physical-interface.mtu >= 1514"
- "result[1].rpc-reply.interface-information.physical-interface.local-index >= 6"
provider: "{{ netconf }}"
register: result

View file

@ -5,10 +5,10 @@
junos_command:
commands:
- show version
- show interfaces fxp0
- show interfaces lo0
format: xml
wait_for:
- "result[1].rpc-reply.interface-information.physical-interface.mtu lt 9000"
- "result[1].rpc-reply.interface-information.physical-interface.local-index lt 7"
provider: "{{ netconf }}"
register: result
@ -22,10 +22,10 @@
junos_command:
commands:
- show version
- show interfaces fxp0
- show interfaces lo0
format: xml
wait_for:
- "result[1].rpc-reply.interface-information.physical-interface.mtu lt 9000"
- "result[1].rpc-reply.interface-information.physical-interface.mtu lt 7"
provider: "{{ netconf }}"
register: result

View file

@ -5,10 +5,10 @@
junos_command:
commands:
- show version
- show interfaces fxp0
- show interfaces lo0
format: xml
wait_for:
- "result[1].rpc-reply.interface-information.physical-interface.mtu le 1514"
- "result[1].rpc-reply.interface-information.physical-interface.local-index le 6"
provider: "{{ netconf }}"
register: result
@ -22,10 +22,10 @@
junos_command:
commands:
- show version
- show interfaces fxp0
- show interfaces lo0
format: xml
wait_for:
- "result[1].rpc-reply.interface-information.physical-interface.mtu <= 1514"
- "result[1].rpc-reply.interface-information.physical-interface.local-index <= 6"
provider: "{{ netconf }}"
register: result