summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_lldp
diff options
context:
space:
mode:
authornkshrishail <42039941+nkshrishail@users.noreply.github.com>2020-01-08 03:13:23 -0500
committerNilashish Chakraborty <nilashishchakraborty8@gmail.com>2020-01-08 13:43:23 +0530
commit01e4c41be4de5217fd10ab6e43322602c22eb357 (patch)
tree441cb33d5b65d4983b94b3ab652f9d7bb8baf6ab /test/integration/targets/nxos_lldp
parent45713aa38f7b4ca09f95f231c2914a53b7005d08 (diff)
downloadansible-01e4c41be4de5217fd10ab6e43322602c22eb357.tar.gz
nxos: Removing local-nxapi plugin and related parameters' usage from the integration tests. (#65068)
* nxos_integration_tests: Removing obsolete provider parameter * nxos: removing support for local-nxapi plugin * nxos: removing LocalNxapi plugin implementation * nxos_nxapi: removing local plugin usage * REVERT - nxos: removing LocalNxapi plugin implementation * Addressing yamllint issues * Removing the condition on the debug messages * Restoring changes done to nxos_nxapi* tests * Retaining timeout of 500 on nxos_smoke test * Some cleanup * Addressing latest comments * Restoring the nxos_smoke and removing timeout from nxos_config and nxos_rollback
Diffstat (limited to 'test/integration/targets/nxos_lldp')
-rw-r--r--test/integration/targets/nxos_lldp/tasks/nxapi.yaml6
-rw-r--r--test/integration/targets/nxos_lldp/tests/cli/sanity.yaml2
-rw-r--r--test/integration/targets/nxos_lldp/tests/nxapi/sanity.yaml7
3 files changed, 0 insertions, 15 deletions
diff --git a/test/integration/targets/nxos_lldp/tasks/nxapi.yaml b/test/integration/targets/nxos_lldp/tasks/nxapi.yaml
index 04c99602e6..cbf41b9294 100644
--- a/test/integration/targets/nxos_lldp/tasks/nxapi.yaml
+++ b/test/integration/targets/nxos_lldp/tasks/nxapi.yaml
@@ -25,9 +25,3 @@
with_items: "{{ test_items }}"
loop_control:
loop_var: test_case_to_run
-
-- name: run test cases (connection=local)
- include: "{{ test_case_to_run }} ansible_connection=local connection={{ nxapi }}"
- with_items: "{{ test_items }}"
- loop_control:
- loop_var: test_case_to_run
diff --git a/test/integration/targets/nxos_lldp/tests/cli/sanity.yaml b/test/integration/targets/nxos_lldp/tests/cli/sanity.yaml
index 98c4c9e5a5..5871928c52 100644
--- a/test/integration/targets/nxos_lldp/tests/cli/sanity.yaml
+++ b/test/integration/targets/nxos_lldp/tests/cli/sanity.yaml
@@ -1,7 +1,5 @@
---
- debug: msg="START TRANSPORT:CLI nxos_lldp sanity test"
-- debug: msg="Using provider={{ connection.transport }}"
- when: ansible_connection == "local"
- name: Make sure LLDP is not running before tests
nxos_feature:
diff --git a/test/integration/targets/nxos_lldp/tests/nxapi/sanity.yaml b/test/integration/targets/nxos_lldp/tests/nxapi/sanity.yaml
index ec5bf8b444..d8abc1caa8 100644
--- a/test/integration/targets/nxos_lldp/tests/nxapi/sanity.yaml
+++ b/test/integration/targets/nxos_lldp/tests/nxapi/sanity.yaml
@@ -1,17 +1,13 @@
---
- debug: msg="START TRANSPORT:NXAPI nxos_lldp sanity test"
-- debug: msg="Using provider={{ connection.transport }}"
- when: ansible_connection == "local"
- name: Make sure LLDP is not running before tests
nxos_feature:
feature: lldp
- provider: "{{ connection }}"
state: disabled
- name: Enable LLDP service
nxos_lldp:
- provider: "{{ connection }}"
state: present
register: result
@@ -22,7 +18,6 @@
- name: Enable LLDP service again (idempotent)
nxos_lldp:
- provider: "{{ connection }}"
state: present
register: result
@@ -32,7 +27,6 @@
- name: Disable LLDP service
nxos_lldp:
- provider: "{{ connection }}"
state: absent
register: result
@@ -43,7 +37,6 @@
- name: Disable LLDP service (idempotent)
nxos_lldp:
- provider: "{{ connection }}"
state: absent
register: result