diff --git a/test/integration/targets/iosxr_config/tests/cli/sublevel.yaml b/test/integration/targets/iosxr_config/tests/cli/sublevel.yaml index 47416b32e4d..750c49d459c 100644 --- a/test/integration/targets/iosxr_config/tests/cli/sublevel.yaml +++ b/test/integration/targets/iosxr_config/tests/cli/sublevel.yaml @@ -16,8 +16,8 @@ - assert: that: - "result.changed == true" - - "'ipv4 access-list test' in result.updates" - - "'10 permit ipv4 any any log' in result.updates" + - "'ipv4 access-list test' in result.commands" + - "'10 permit ipv4 any any log' in result.commands" - name: configure sub level command idempotent check iosxr_config: diff --git a/test/integration/targets/iosxr_config/tests/cli/sublevel_block.yaml b/test/integration/targets/iosxr_config/tests/cli/sublevel_block.yaml index cbac65dc2e1..d4d7fc6add0 100644 --- a/test/integration/targets/iosxr_config/tests/cli/sublevel_block.yaml +++ b/test/integration/targets/iosxr_config/tests/cli/sublevel_block.yaml @@ -27,11 +27,11 @@ - assert: that: - "result.changed == true" - - "'ipv4 access-list test' in result.updates" - - "'10 permit ipv4 host 1.1.1.1 any log' in result.updates" - - "'20 permit ipv4 host 2.2.2.2 any log' in result.updates" - - "'30 permit ipv4 host 3.3.3.3 any log' in result.updates" - - "'40 permit ipv4 host 4.4.4.4 any log' in result.updates" + - "'ipv4 access-list test' in result.commands" + - "'10 permit ipv4 host 1.1.1.1 any log' in result.commands" + - "'20 permit ipv4 host 2.2.2.2 any log' in result.commands" + - "'30 permit ipv4 host 3.3.3.3 any log' in result.commands" + - "'40 permit ipv4 host 4.4.4.4 any log' in result.commands" - name: check sub level command using block replace iosxr_config: diff --git a/test/integration/targets/iosxr_config/tests/cli/sublevel_exact.yaml b/test/integration/targets/iosxr_config/tests/cli/sublevel_exact.yaml index 2fa24a8ae87..d2b4121aec0 100644 --- a/test/integration/targets/iosxr_config/tests/cli/sublevel_exact.yaml +++ b/test/integration/targets/iosxr_config/tests/cli/sublevel_exact.yaml @@ -29,12 +29,12 @@ - assert: that: - "result.changed == true" - - "'ipv4 access-list test' in result.updates" - - "'10 permit ipv4 host 1.1.1.1 any log' in result.updates" - - "'20 permit ipv4 host 2.2.2.2 any log' in result.updates" - - "'30 permit ipv4 host 3.3.3.3 any log' in result.updates" - - "'40 permit ipv4 host 4.4.4.4 any log' in result.updates" - - "'50 permit ipv4 host 5.5.5.5 any log' not in result.updates" + - "'ipv4 access-list test' in result.commands" + - "'10 permit ipv4 host 1.1.1.1 any log' in result.commands" + - "'20 permit ipv4 host 2.2.2.2 any log' in result.commands" + - "'30 permit ipv4 host 3.3.3.3 any log' in result.commands" + - "'40 permit ipv4 host 4.4.4.4 any log' in result.commands" + - "'50 permit ipv4 host 5.5.5.5 any log' not in result.commands" - name: check sub level command using exact match iosxr_config: diff --git a/test/integration/targets/iosxr_config/tests/cli/sublevel_strict.yaml b/test/integration/targets/iosxr_config/tests/cli/sublevel_strict.yaml index 3ec26501885..9d752f409a7 100644 --- a/test/integration/targets/iosxr_config/tests/cli/sublevel_strict.yaml +++ b/test/integration/targets/iosxr_config/tests/cli/sublevel_strict.yaml @@ -31,12 +31,12 @@ - assert: that: - "result.changed == true" - - "'ipv4 access-list test' in result.updates" - - "'10 permit ipv4 host 1.1.1.1 any log' in result.updates" - - "'20 permit ipv4 host 2.2.2.2 any log' in result.updates" - - "'30 permit ipv4 host 3.3.3.3 any log' in result.updates" - - "'40 permit ipv4 host 4.4.4.4 any log' in result.updates" - - "'50 permit ipv4 host 5.5.5.5 any log' not in result.updates" + - "'ipv4 access-list test' in result.commands" + - "'10 permit ipv4 host 1.1.1.1 any log' in result.commands" + - "'20 permit ipv4 host 2.2.2.2 any log' in result.commands" + - "'30 permit ipv4 host 3.3.3.3 any log' in result.commands" + - "'40 permit ipv4 host 4.4.4.4 any log' in result.commands" + - "'50 permit ipv4 host 5.5.5.5 any log' not in result.commands" - name: check sub level command using strict match iosxr_config: diff --git a/test/integration/targets/iosxr_config/tests/cli/toplevel.yaml b/test/integration/targets/iosxr_config/tests/cli/toplevel.yaml index a2e4c24612f..6e880c2b939 100644 --- a/test/integration/targets/iosxr_config/tests/cli/toplevel.yaml +++ b/test/integration/targets/iosxr_config/tests/cli/toplevel.yaml @@ -14,7 +14,7 @@ - assert: that: - "result.changed == true" - - "'hostname foo' in result.updates" + - "'hostname foo' in result.commands" - name: configure top level command idempotent check iosxr_config: diff --git a/test/integration/targets/iosxr_config/tests/cli/toplevel_after.yaml b/test/integration/targets/iosxr_config/tests/cli/toplevel_after.yaml index a4bedb77548..0c8b676ec1a 100644 --- a/test/integration/targets/iosxr_config/tests/cli/toplevel_after.yaml +++ b/test/integration/targets/iosxr_config/tests/cli/toplevel_after.yaml @@ -17,8 +17,8 @@ - assert: that: - "result.changed == true" - - "'hostname foo' in result.updates" - - "'cdp' in result.updates" + - "'hostname foo' in result.commands" + - "'cdp' in result.commands" - name: configure top level command with before idempotent check iosxr_config: diff --git a/test/integration/targets/iosxr_config/tests/cli/toplevel_before.yaml b/test/integration/targets/iosxr_config/tests/cli/toplevel_before.yaml index 7fe40a9581d..7d7fb411711 100644 --- a/test/integration/targets/iosxr_config/tests/cli/toplevel_before.yaml +++ b/test/integration/targets/iosxr_config/tests/cli/toplevel_before.yaml @@ -17,8 +17,8 @@ - assert: that: - "result.changed == true" - - "'hostname foo' in result.updates" - - "'cdp' in result.updates" + - "'hostname foo' in result.commands" + - "'cdp' in result.commands" - name: configure top level command with before idempotent check iosxr_config: