diff options
author | Trishna Guha <trishnaguha17@gmail.com> | 2018-01-16 13:53:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-16 13:53:58 +0100 |
commit | a727930f075d1f9c2b493766da9afd6a7f6fd192 (patch) | |
tree | a35c31336673f4f2df51a27292cf0ae1c9996a0a /test/integration/targets/nxos_system | |
parent | ce_engine: Refactor check_ip_addr (#34126) (diff) | |
download | ansible-a727930f075d1f9c2b493766da9afd6a7f6fd192.tar.xz ansible-a727930f075d1f9c2b493766da9afd6a7f6fd192.zip |
Remove deprecated params from module argspec nxos modules (#34911)
* Remove deprecated param from module argspec nxos modules
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix nxos_vrrp syntaxerror
* Add choices for version _nxos_ip_interface
* remove check_args function
* remove include_defaults
Diffstat (limited to 'test/integration/targets/nxos_system')
-rw-r--r-- | test/integration/targets/nxos_system/tests/common/set_lookup_source.yaml-not-on-nxos | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/test/integration/targets/nxos_system/tests/common/set_lookup_source.yaml-not-on-nxos b/test/integration/targets/nxos_system/tests/common/set_lookup_source.yaml-not-on-nxos deleted file mode 100644 index 087209245d..0000000000 --- a/test/integration/targets/nxos_system/tests/common/set_lookup_source.yaml-not-on-nxos +++ /dev/null @@ -1,68 +0,0 @@ ---- -- debug: msg="START {{ connection.transport }}/set_lookup_source.yaml" - -- name: setup - nxos_config: - lines: - - no ip domain lookup source-interface - - vrf definition ansible - match: none - provider: "{{ connection }}" - -- name: configure lookup_source - nxos_system: - lookup_source: Management1 - provider: "{{ connection }}" - register: result - -- assert: - that: - - result.changed == true - - "'ip domain lookup source-interface Management1' in result.commands" - -- name: verify lookup_source - nxos_system: - lookup_source: Management1 - provider: "{{ connection }}" - register: result - -- assert: - that: - - result.changed == false - -- name: change to vrf - nxos_system: - lookup_source: - - interface: Management1 - vrf: ansible - provider: "{{ connection }}" - register: result - -- assert: - that: - - result.changed == true - - "'no ip domain lookup source-interface Management1' in result.commands" - - "'ip domain lookup vrf ansible source-interface Management1' in result.commands" - - result.commands|length == 2 - -- name: verify change to vrf - nxos_system: - lookup_source: - - interface: Management1 - vrf: ansible - provider: "{{ connection }}" - register: result - -- assert: - that: - - result.changed == false - -- name: teardown - nxos_config: - lines: - - no ip domain lookup source-interface - - no vrf definition ansible - match: none - provider: "{{ connection }}" - -- debug: msg="END {{ connection.transport }}/set_lookup_source.yaml" |