mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Make junos integration test checks platform independent (#27768)
This commit is contained in:
committed by
Ricardo Carrillo Cruz
parent
000f8dcc8f
commit
0f261964f7
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user