diff options
Diffstat (limited to 'test')
8 files changed, 17 insertions, 17 deletions
diff --git a/test/integration/targets/junos_command/tests/netconf_xml/bad_operator.yaml b/test/integration/targets/junos_command/tests/netconf_xml/bad_operator.yaml index bc97b14d37..e8ca7c96d9 100644 --- a/test/integration/targets/junos_command/tests/netconf_xml/bad_operator.yaml +++ b/test/integration/targets/junos_command/tests/netconf_xml/bad_operator.yaml @@ -7,7 +7,7 @@ - show version - show interfaces fxp0 wait_for: - - "result[1].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 fxp0" format: xml provider: "{{ netconf }}" register: result diff --git a/test/integration/targets/junos_command/tests/netconf_xml/contains.yaml b/test/integration/targets/junos_command/tests/netconf_xml/contains.yaml index a111d57955..6a507cafc2 100644 --- a/test/integration/targets/junos_command/tests/netconf_xml/contains.yaml +++ b/test/integration/targets/junos_command/tests/netconf_xml/contains.yaml @@ -8,8 +8,8 @@ - show interfaces fxp0 format: xml wait_for: - - "result[0].software-information.host-name contains {{ inventory_hostname_short }}" - - "result[1].interface-information.physical-interface.name contains fxp0" + - "result[0].rpc-reply.software-information.host-name contains {{ inventory_hostname_short }}" + - "result[1].rpc-reply.interface-information.physical-interface.name contains fxp0" provider: "{{ netconf }}" register: result diff --git a/test/integration/targets/junos_command/tests/netconf_xml/equal.yaml b/test/integration/targets/junos_command/tests/netconf_xml/equal.yaml index 9afdf36c4c..f9cec1b09c 100644 --- a/test/integration/targets/junos_command/tests/netconf_xml/equal.yaml +++ b/test/integration/targets/junos_command/tests/netconf_xml/equal.yaml @@ -7,8 +7,8 @@ - show version - show interfaces fxp0 wait_for: - - "result[0].software-information.host-name == {{ inventory_hostname_short }}" - - "result[1].interface-information.physical-interface.name == fxp0" + - "result[0].rpc-reply.software-information.host-name == {{ inventory_hostname_short }}" + - "result[1].rpc-reply.interface-information.physical-interface.name == fxp0" format: xml provider: "{{ netconf }}" register: result @@ -25,8 +25,8 @@ - show version - show interfaces fxp0 wait_for: - - "result[0].software-information.host-name eq {{ inventory_hostname_short }}" - - "result[1].interface-information.physical-interface.name eq fxp0" + - "result[0].rpc-reply.software-information.host-name eq {{ inventory_hostname_short }}" + - "result[1].rpc-reply.interface-information.physical-interface.name eq fxp0" format: xml provider: "{{ netconf }}" register: result diff --git a/test/integration/targets/junos_command/tests/netconf_xml/greaterthan.yaml b/test/integration/targets/junos_command/tests/netconf_xml/greaterthan.yaml index 65c306429b..6e02dad288 100644 --- a/test/integration/targets/junos_command/tests/netconf_xml/greaterthan.yaml +++ b/test/integration/targets/junos_command/tests/netconf_xml/greaterthan.yaml @@ -8,7 +8,7 @@ - show interfaces fxp0 format: xml wait_for: - - "result[1].interface-information.physical-interface.mtu gt 1500" + - "result[1].rpc-reply.interface-information.physical-interface.mtu gt 1500" provider: "{{ netconf }}" register: result @@ -25,7 +25,7 @@ - show interfaces fxp0 format: xml wait_for: - - "result[1].interface-information.physical-interface.mtu > 1500" + - "result[1].rpc-reply.interface-information.physical-interface.mtu > 1500" provider: "{{ netconf }}" register: result diff --git a/test/integration/targets/junos_command/tests/netconf_xml/greaterthanorequal.yaml b/test/integration/targets/junos_command/tests/netconf_xml/greaterthanorequal.yaml index d6a2ae7102..11e537c705 100644 --- a/test/integration/targets/junos_command/tests/netconf_xml/greaterthanorequal.yaml +++ b/test/integration/targets/junos_command/tests/netconf_xml/greaterthanorequal.yaml @@ -8,7 +8,7 @@ - show interfaces fxp0 format: xml wait_for: - - "result[1].interface-information.physical-interface.mtu ge 1514" + - "result[1].rpc-reply.interface-information.physical-interface.mtu ge 1514" provider: "{{ netconf }}" register: result @@ -25,7 +25,7 @@ - show interfaces fxp0 format: xml wait_for: - - "result[1].interface-information.physical-interface.mtu >= 1514" + - "result[1].rpc-reply.interface-information.physical-interface.mtu >= 1514" provider: "{{ netconf }}" register: result diff --git a/test/integration/targets/junos_command/tests/netconf_xml/lessthan.yaml b/test/integration/targets/junos_command/tests/netconf_xml/lessthan.yaml index f487c2b3ab..beea3882ff 100644 --- a/test/integration/targets/junos_command/tests/netconf_xml/lessthan.yaml +++ b/test/integration/targets/junos_command/tests/netconf_xml/lessthan.yaml @@ -8,7 +8,7 @@ - show interfaces fxp0 format: xml wait_for: - - "result[1].interface-information.physical-interface.mtu lt 9000" + - "result[1].rpc-reply.interface-information.physical-interface.mtu lt 9000" provider: "{{ netconf }}" register: result @@ -25,7 +25,7 @@ - show interfaces fxp0 format: xml wait_for: - - "result[1].interface-information.physical-interface.mtu lt 9000" + - "result[1].rpc-reply.interface-information.physical-interface.mtu lt 9000" provider: "{{ netconf }}" register: result diff --git a/test/integration/targets/junos_command/tests/netconf_xml/lessthanorequal.yaml b/test/integration/targets/junos_command/tests/netconf_xml/lessthanorequal.yaml index d3c571e90b..973f59203e 100644 --- a/test/integration/targets/junos_command/tests/netconf_xml/lessthanorequal.yaml +++ b/test/integration/targets/junos_command/tests/netconf_xml/lessthanorequal.yaml @@ -8,7 +8,7 @@ - show interfaces fxp0 format: xml wait_for: - - "result[1].interface-information.physical-interface.mtu le 1514" + - "result[1].rpc-reply.interface-information.physical-interface.mtu le 1514" provider: "{{ netconf }}" register: result @@ -25,7 +25,7 @@ - show interfaces fxp0 format: xml wait_for: - - "result[1].interface-information.physical-interface.mtu <= 1514" + - "result[1].rpc-reply.interface-information.physical-interface.mtu <= 1514" provider: "{{ netconf }}" register: result diff --git a/test/integration/targets/junos_command/tests/netconf_xml/notequal.yaml b/test/integration/targets/junos_command/tests/netconf_xml/notequal.yaml index 191161d4a3..b97b656fd2 100644 --- a/test/integration/targets/junos_command/tests/netconf_xml/notequal.yaml +++ b/test/integration/targets/junos_command/tests/netconf_xml/notequal.yaml @@ -8,7 +8,7 @@ - show interfaces fxp0 format: xml wait_for: - - "result[0].software-information.host-name neq localhost" + - "result[0].rpc-reply.software-information.host-name neq localhost" provider: "{{ netconf }}" register: result @@ -25,7 +25,7 @@ - show interfaces fxp0 format: xml wait_for: - - "result[0].software-information.host-name != localhost" + - "result[0].rpc-reply.software-information.host-name != localhost" provider: "{{ netconf }}" register: result |