diff --git a/tests/integration/targets/iosxr_config/templates/basic/configuration.j2 b/tests/integration/targets/iosxr_config/templates/basic/configuration.j2 new file mode 100644 index 000000000..73c98879b --- /dev/null +++ b/tests/integration/targets/iosxr_config/templates/basic/configuration.j2 @@ -0,0 +1,3 @@ +interface Loopback888 + description test for ansible automation + shutdown diff --git a/tests/integration/targets/iosxr_config/tests/redirection/shortname.yaml b/tests/integration/targets/iosxr_config/tests/redirection/shortname.yaml index 337140aef..b862e51d0 100644 --- a/tests/integration/targets/iosxr_config/tests/redirection/shortname.yaml +++ b/tests/integration/targets/iosxr_config/tests/redirection/shortname.yaml @@ -4,7 +4,7 @@ - name: Use src with module alias register: result cisco.iosxr.config: - src: basic/config.j2 + src: basic/configuration.j2 - assert: that: diff --git a/tests/integration/targets/iosxr_logging/tests/cli/net_logging.yaml b/tests/integration/targets/iosxr_logging/tests/cli/net_logging.yaml index 85ea66c1d..94d057b49 100644 --- a/tests/integration/targets/iosxr_logging/tests/cli/net_logging.yaml +++ b/tests/integration/targets/iosxr_logging/tests/cli/net_logging.yaml @@ -20,7 +20,7 @@ - assert: that: - result.changed == true - - '"logging 172.16.0.1 vrf default severity info" in result.commands' + - '"logging 172.16.0.1 vrf default severity debugging" in result.commands' - name: Remove host logging - teardown ansible.netcommon.net_logging: diff --git a/tests/integration/targets/iosxr_logging/tests/netconf/basic.yaml b/tests/integration/targets/iosxr_logging/tests/netconf/basic.yaml index d90933f4b..57bc6de9b 100644 --- a/tests/integration/targets/iosxr_logging/tests/netconf/basic.yaml +++ b/tests/integration/targets/iosxr_logging/tests/netconf/basic.yaml @@ -222,6 +222,6 @@ - '"notice" in result.xml[2]' - '"alert" in result.xml[3]' - '"4700000" in result.xml[4]' - - '"info" in result.xml[5]' + - '"debug" in result.xml[5]' - '"local3" in result.xml[6]' - '"host3" in result.xml[7]'