Skip to content

Commit 40e46e9

Browse files
committed
remove unnecesarry changes
1 parent c1a7326 commit 40e46e9

File tree

16 files changed

+2
-69
lines changed

16 files changed

+2
-69
lines changed

tests/integration/labs/inventory.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ ansible_ssh_port={{ ansible_ssh_port }}
1212
ansible_httpapi_port={{ ansible_http_port }}
1313
ansible_become={{ ansible_become | default(true) }}
1414
ansible_become_password={{ ansible_become_password | default('cisco') }}
15+
ansible_command_timeout={{ ansible_command_timeout | default(90) }}
16+
ansible_httpapi_con_timeout={{ ansible_httpapi_con_timeout | default(90) }}

tests/integration/targets/nxos_aaa_server/tasks/nxapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@
2929
loop_var: test_case_to_run
3030
vars:
3131
ansible_connection: ansible.netcommon.httpapi
32-
ansible_command_timeout: 90

tests/integration/targets/nxos_acl_interfaces/tests/common/populate_config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22
- name: Adding base configuration
33
cisco.nxos.nxos_config:
44
src: populate_config.cfg
5-
retries: 5
6-
delay: 25

tests/integration/targets/nxos_acl_interfaces/tests/common/remove_config.yaml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
- "interface Ethernet1/2"
1111
- " no ipv6 traffic-filter ACL1v6 in"
1212
ignore_errors: true
13-
register: remove_config_1
14-
15-
- name: Wait for 25 seconds if removal was successful
16-
ansible.builtin.wait_for:
17-
timeout: 25
18-
when: not remove_config_1.failed
1913

2014
- name: Remove configuration - 2
2115
cisco.nxos.nxos_config:
@@ -24,12 +18,6 @@
2418
- no ipv6 traffic-filter ACL1v6 in
2519
parents: interface Ethernet1/5
2620
ignore_errors: true
27-
register: remove_config_2
28-
29-
- name: Wait for 25 seconds if removal was successful
30-
ansible.builtin.wait_for:
31-
timeout: 25
32-
when: not remove_config_2.failed
3321

3422
- name: Remove configuration - 3
3523
cisco.nxos.nxos_config:
@@ -38,25 +26,13 @@
3826
- no ip access-group ACL1v4 out
3927
parents: interface Ethernet1/3
4028
ignore_errors: true
41-
register: remove_config_3
42-
43-
- name: Wait for 25 seconds if removal was successful
44-
ansible.builtin.wait_for:
45-
timeout: 25
46-
when: not remove_config_3.failed
4729

4830
- name: Remove configuration - 4
4931
cisco.nxos.nxos_config:
5032
lines:
5133
- no ip access-group NewACLv4 out
5234
parents: interface Ethernet1/4
5335
ignore_errors: true
54-
register: remove_config_4
55-
56-
- name: Wait for 25 seconds if removal was successful
57-
ansible.builtin.wait_for:
58-
timeout: 25
59-
when: not remove_config_4.failed
6036

6137
- name: Remove configuration - 5
6238
cisco.nxos.nxos_config:
@@ -66,20 +42,8 @@
6642
- no ip port access-group PortACL in
6743
parents: interface Ethernet1/6
6844
ignore_errors: true
69-
register: remove_config_5
70-
71-
- name: Wait for 25 seconds if removal was successful
72-
ansible.builtin.wait_for:
73-
timeout: 25
74-
when: not remove_config_5.failed
7545

7646
- name: Remove configuration - 6
7747
cisco.nxos.nxos_config:
7848
lines: no interface loopback1
7949
ignore_errors: true
80-
register: remove_config_6
81-
82-
- name: Wait for 25 seconds if removal was successful
83-
ansible.builtin.wait_for:
84-
timeout: 25
85-
when: not remove_config_6.failed

tests/integration/targets/nxos_bfd_interfaces/tests/common/deleted.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333
bfd: "{{ bfd_disable|default(omit)}}"
3434
echo: disable
3535
state: merged
36-
vars:
37-
ansible_command_timeout: 90
3836

3937
- name: Gather bfd_interfaces facts
4038
cisco.nxos.nxos_facts:

tests/integration/targets/nxos_bfd_interfaces/tests/common/overridden.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
- "no feature bfd"
2323
- "default interface {{ test_int1 }}"
2424
- "default interface {{ test_int2 }}"
25-
vars:
26-
ansible_command_timeout: 90
2725

2826
- block:
2927
- name: Setup2

tests/integration/targets/nxos_bgp_global/tasks/main.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
- name: Enable fabric forwarding
99
cisco.nxos.nxos_config:
1010
lines: feature fabric forwarding
11-
vars:
12-
ansible_connection: ansible.netcommon.network_cli
1311

1412
- name: Run the CLI and NX-API tests
1513
block:
@@ -28,11 +26,7 @@
2826
cisco.nxos.nxos_feature:
2927
feature: bgp
3028
state: disabled
31-
vars:
32-
ansible_connection: ansible.netcommon.network_cli
3329

3430
- name: Disable fabric forwarding
3531
cisco.nxos.nxos_config:
3632
lines: no feature fabric forwarding
37-
vars:
38-
ansible_connection: ansible.netcommon.network_cli

tests/integration/targets/nxos_bgp_global/tests/common/replaced_af.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
- " low-memory exempt"
2525
- "neighbor 192.0.2.1"
2626
- " remote-as 65537"
27-
vars:
28-
ansible_connection: ansible.netcommon.network_cli
2927

3028
- block:
3129
- name: Remove a neighbor having AF configurations (should fail)

tests/integration/targets/nxos_config/tasks/main.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,3 @@
2525
lines:
2626
- hostname {{ inventory_hostname_short }}
2727
match: none
28-
vars:
29-
ansible_connection: ansible.netcommon.network_cli

tests/integration/targets/nxos_devicealias/tasks/main.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
register: result
44
cisco.nxos.nxos_command:
55
commands: show version | grep MDS
6-
vars:
7-
ansible_connection: ansible.netcommon.network_cli
86

97
- name: Set skip_test flag to false
108
ansible.builtin.set_fact:

0 commit comments

Comments
 (0)