mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Make junos integration test checks platform independent (#27768)
This commit is contained in:
parent
000f8dcc8f
commit
0f261964f7
15 changed files with 48 additions and 51 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue