diff options
author | Ansible Core Team <info@ansible.com> | 2020-03-09 09:40:35 +0000 |
---|---|---|
committer | Ansible Core Team <info@ansible.com> | 2020-03-09 09:40:35 +0000 |
commit | ecd1907190ce9d7d744548227a47d3827ce3ab65 (patch) | |
tree | 71f94fa4ed330319cf9152971d49841d8aeb9b4c /test/integration/targets/nxos_lldp/tests/nxapi/sanity.yaml | |
parent | e39b1dec45fe86210b669d6b1b117753b5b2c9f9 (diff) | |
download | ansible-ecd1907190ce9d7d744548227a47d3827ce3ab65.tar.gz |
Migrated to cisco.nxos
Diffstat (limited to 'test/integration/targets/nxos_lldp/tests/nxapi/sanity.yaml')
-rw-r--r-- | test/integration/targets/nxos_lldp/tests/nxapi/sanity.yaml | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/test/integration/targets/nxos_lldp/tests/nxapi/sanity.yaml b/test/integration/targets/nxos_lldp/tests/nxapi/sanity.yaml deleted file mode 100644 index d8abc1caa8..0000000000 --- a/test/integration/targets/nxos_lldp/tests/nxapi/sanity.yaml +++ /dev/null @@ -1,47 +0,0 @@ ---- -- debug: msg="START TRANSPORT:NXAPI nxos_lldp sanity test" - -- name: Make sure LLDP is not running before tests - nxos_feature: - feature: lldp - state: disabled - -- name: Enable LLDP service - nxos_lldp: - state: present - register: result - -- assert: - that: - - 'result.changed == true' - - '"feature lldp" in result.commands' - -- name: Enable LLDP service again (idempotent) - nxos_lldp: - state: present - register: result - -- assert: - that: - - 'result.changed == false' - -- name: Disable LLDP service - nxos_lldp: - state: absent - register: result - -- assert: - that: - - 'result.changed == true' - - '"no feature lldp" in result.commands' - -- name: Disable LLDP service (idempotent) - nxos_lldp: - state: absent - register: result - -- assert: - that: - - 'result.changed == false' - -- debug: msg="END TRANSPORT:NXAPI nxos_lldp sanity test" |