summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_interface_ospf/tests
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_interface_ospf/tests
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_interface_ospf/tests')
-rw-r--r--test/integration/targets/nxos_interface_ospf/tests/common/sanity.yaml20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/integration/targets/nxos_interface_ospf/tests/common/sanity.yaml b/test/integration/targets/nxos_interface_ospf/tests/common/sanity.yaml
index d4faa84fd9..de9f7209f9 100644
--- a/test/integration/targets/nxos_interface_ospf/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_interface_ospf/tests/common/sanity.yaml
@@ -1,14 +1,11 @@
---
- debug: msg="START connection={{ ansible_connection }} nxos_interface_ospf sanity test"
-- debug: msg="Using provider={{ connection.transport }}"
- when: ansible_connection == "local"
- set_fact: testint="{{ nxos_int1 }}"
- name: Setup - Disable features
nxos_feature:
feature: "{{ item }}"
- provider: "{{ connection }}"
state: disabled
loop: ['ospf', 'bfd']
ignore_errors: yes
@@ -16,7 +13,6 @@
- name: Setup - Enable features
nxos_feature:
feature: "{{ item }}"
- provider: "{{ connection }}"
state: enabled
loop: ['ospf', 'bfd']
@@ -24,7 +20,6 @@
nxos_config: &intdefault
lines:
- "default interface {{ testint }}"
- provider: "{{ connection }}"
ignore_errors: yes
- name: "Remove switchport config"
@@ -33,7 +28,6 @@
- no switchport
parents:
- "interface {{ testint }}"
- provider: "{{ connection }}"
ignore_errors: yes
- name: "Remove possibly existing port-channel and loopback ints"
@@ -43,7 +37,6 @@
- no interface port-channel11
- no interface loopback55
- no interface loopback77
- provider: "{{ connection }}"
ignore_errors: yes
- block:
@@ -58,7 +51,6 @@
hello_interval: 15
dead_interval: 75
network: point-to-point
- provider: "{{ connection }}"
state: present
register: result
@@ -84,7 +76,6 @@
hello_interval: 17
dead_interval: 70
network: broadcast
- provider: "{{ connection }}"
state: present
register: result
@@ -105,7 +96,6 @@
cost: default
hello_interval: 10
dead_interval: default
- provider: "{{ connection }}"
state: present
register: result
@@ -127,7 +117,6 @@
message_digest_algorithm_type: md5
message_digest_encryption_type: 3des
message_digest_password: b69f7bc54725b1bfd1ea93afa7b09400
- provider: "{{ connection }}"
state: present
register: result
@@ -149,7 +138,6 @@
message_digest_algorithm_type: default
message_digest_encryption_type: default
message_digest_password: default
- provider: "{{ connection }}"
state: present
register: result
@@ -169,7 +157,6 @@
- interface loopback55
- interface loopback77
match: none
- provider: "{{ connection }}"
- name: "Ensure port-channels are layer3"
nxos_config:
@@ -177,7 +164,6 @@
- no switchport
parents:
- "interface {{ item }}"
- provider: "{{ connection }}"
with_items:
- port-channel10
- port-channel11
@@ -191,7 +177,6 @@
passive_interface: true
hello_interval: 15
dead_interval: 75
- provider: "{{ connection }}"
state: present
register: result
@@ -212,7 +197,6 @@
passive_interface: true
hello_interval: 15
dead_interval: 75
- provider: "{{ connection }}"
state: present
register: result
@@ -232,7 +216,6 @@
cost: 55
hello_interval: 15
dead_interval: 75
- provider: "{{ connection }}"
state: present
register: result
@@ -252,7 +235,6 @@
cost: 77
hello_interval: 45
dead_interval: 75
- provider: "{{ connection }}"
state: present
register: result
@@ -274,7 +256,6 @@
passive_interface: true
hello_interval: 15
dead_interval: 75
- provider: "{{ connection }}"
state: absent
register: result
@@ -290,7 +271,6 @@
- name: Disable features
nxos_feature:
feature: "{{ item }}"
- provider: "{{ connection }}"
state: disabled
loop: ['ospf', 'bfd']
ignore_errors: yes