summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_snmp_host
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/nxos_snmp_host')
-rw-r--r--test/integration/targets/nxos_snmp_host/tasks/nxapi.yaml6
-rw-r--r--test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v1_trap.yaml7
-rw-r--r--test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_inform.yaml7
-rw-r--r--test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml7
-rw-r--r--test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_trap.yaml7
5 files changed, 0 insertions, 34 deletions
diff --git a/test/integration/targets/nxos_snmp_host/tasks/nxapi.yaml b/test/integration/targets/nxos_snmp_host/tasks/nxapi.yaml
index 04c99602e6..cbf41b9294 100644
--- a/test/integration/targets/nxos_snmp_host/tasks/nxapi.yaml
+++ b/test/integration/targets/nxos_snmp_host/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_snmp_host/tests/common/sanity_snmp_v1_trap.yaml b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v1_trap.yaml
index db1952fc22..dd50e0719d 100644
--- a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v1_trap.yaml
+++ b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v1_trap.yaml
@@ -3,8 +3,6 @@
- set_fact: snmp_version="v1"
- debug: msg="START connection={{ ansible_connection }} nxos_snmp_host {{ snmp_type }} {{ snmp_version }} sanity test"
-- debug: msg="Using provider={{ connection.transport }}"
- when: ansible_connection == "local"
# Select interface for test
- set_fact: intname="{{ nxos_int1 }}"
@@ -21,7 +19,6 @@
vrf_filter: management
src_intf: "{{ intname|default(omit) }}"
udp: 222
- provider: "{{ connection }}"
state: absent
ignore_errors: yes
@@ -37,7 +34,6 @@
vrf_filter: management
src_intf: "{{ intname|default(omit) }}"
udp: 222
- provider: "{{ connection }}"
state: present
register: result
@@ -59,7 +55,6 @@
snmp_host: 192.0.2.3
vrf_filter: default
udp: 222
- provider: "{{ connection }}"
state: present
register: result
@@ -79,7 +74,6 @@
src_intf: "{{ intname|default(omit) }}"
vrf: management
vrf_filter: management
- provider: "{{ connection }}"
state: absent
register: result
@@ -97,7 +91,6 @@
snmp_host: 192.0.2.3
udp: 222
vrf_filter: default
- provider: "{{ connection }}"
state: absent
register: result
diff --git a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_inform.yaml b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_inform.yaml
index bf8b64e090..e3b9fa7faf 100644
--- a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_inform.yaml
+++ b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_inform.yaml
@@ -3,8 +3,6 @@
- set_fact: snmp_version="v2c"
- debug: msg="START connection={{ ansible_connection }} nxos_snmp_host {{ snmp_type }} {{ snmp_version }} sanity test"
-- debug: msg="Using provider={{ connection.transport }}"
- when: ansible_connection == "local"
# Select interface for test
- set_fact: intname="{{ nxos_int1 }}"
@@ -20,7 +18,6 @@
vrf_filter: management
src_intf: "{{ intname|default(omit) }}"
udp: 222
- provider: "{{ connection }}"
state: absent
ignore_errors: yes
@@ -36,7 +33,6 @@
vrf_filter: management
src_intf: "{{ intname|default(omit) }}"
udp: 222
- provider: "{{ connection }}"
state: present
register: result
@@ -58,7 +54,6 @@
snmp_host: 192.0.2.3
vrf_filter: default
udp: 222
- provider: "{{ connection }}"
state: present
register: result
@@ -78,7 +73,6 @@
src_intf: "{{ intname|default(omit) }}"
vrf: management
vrf_filter: management
- provider: "{{ connection }}"
state: absent
register: result
@@ -96,7 +90,6 @@
snmp_host: 192.0.2.3
udp: 222
vrf_filter: default
- provider: "{{ connection }}"
state: absent
register: result
diff --git a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml
index a6b6402e8a..f41b0176a6 100644
--- a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml
+++ b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml
@@ -4,8 +4,6 @@
- set_fact: snmp_auth="priv"
- debug: msg="START connection={{ ansible_connection }} nxos_snmp_host {{ snmp_type }} {{ snmp_version }} sanity test"
-- debug: msg="Using provider={{ connection.transport }}"
- when: ansible_connection == "local"
# Select interface for test
- set_fact: intname="{{ nxos_int1 }}"
@@ -26,7 +24,6 @@
vrf: management
vrf_filter: management
src_intf: "{{ intname|default(omit) }}"
- provider: "{{ connection }}"
state: absent
ignore_errors: yes
@@ -42,7 +39,6 @@
vrf: management
vrf_filter: management
src_intf: "{{ intname|default(omit) }}"
- provider: "{{ connection }}"
state: present
register: result
@@ -63,7 +59,6 @@
nxos_snmp_host: &config1
snmp_host: 192.0.2.3
vrf_filter: default
- provider: "{{ connection }}"
state: present
register: result
@@ -82,7 +77,6 @@
src_intf: "{{ intname|default(omit) }}"
vrf: management
vrf_filter: management
- provider: "{{ connection }}"
state: absent
register: result
@@ -99,7 +93,6 @@
nxos_snmp_host: &rem2
snmp_host: 192.0.2.3
vrf_filter: default
- provider: "{{ connection }}"
state: absent
register: result
diff --git a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_trap.yaml b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_trap.yaml
index 2bb2d1466e..86895ff2ea 100644
--- a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_trap.yaml
+++ b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_trap.yaml
@@ -4,8 +4,6 @@
- set_fact: snmp_auth="priv"
- debug: msg="START connection={{ ansible_connection }} nxos_snmp_host {{ snmp_type }} {{ snmp_version }} sanity test"
-- debug: msg="Using provider={{ connection.transport }}"
- when: ansible_connection == "local"
# Select interface for test
- set_fact: intname="{{ nxos_int1 }}"
@@ -22,7 +20,6 @@
vrf: management
vrf_filter: management
src_intf: "{{ intname|default(omit) }}"
- provider: "{{ connection }}"
state: absent
ignore_errors: yes
@@ -39,7 +36,6 @@
vrf: management
vrf_filter: management
src_intf: "{{ intname|default(omit) }}"
- provider: "{{ connection }}"
state: present
register: result
@@ -61,7 +57,6 @@
snmp_host: 192.0.2.3
udp: 222
vrf_filter: default
- provider: "{{ connection }}"
state: present
register: result
@@ -81,7 +76,6 @@
src_intf: "{{ intname|default(omit) }}"
vrf: management
vrf_filter: management
- provider: "{{ connection }}"
state: absent
register: result
@@ -99,7 +93,6 @@
snmp_host: 192.0.2.3
udp: 222
vrf_filter: default
- provider: "{{ connection }}"
state: absent
register: result