summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_portchannel
diff options
context:
space:
mode:
authorNathaniel Case <this.is@nathanielca.se>2018-07-02 09:43:51 -0400
committerGitHub <noreply@github.com>2018-07-02 09:43:51 -0400
commita1971259540ccc1be3df811252f5b832e7af2d87 (patch)
treedeac7c985fecc5fd1567f604308d211df68e7db2 /test/integration/targets/nxos_portchannel
parent1659951710a7a8468a65e76e31006dc972b4468a (diff)
downloadansible-a1971259540ccc1be3df811252f5b832e7af2d87.tar.gz
Nxos restore provider to nxapi tests (#41818)
* Quick and dirty sed to add provider * Manually verify the rest of the cases * Add missing provider
Diffstat (limited to 'test/integration/targets/nxos_portchannel')
-rw-r--r--test/integration/targets/nxos_portchannel/tests/common/sanity.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/targets/nxos_portchannel/tests/common/sanity.yaml b/test/integration/targets/nxos_portchannel/tests/common/sanity.yaml
index 5941f8b979..0a70c9cdde 100644
--- a/test/integration/targets/nxos_portchannel/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_portchannel/tests/common/sanity.yaml
@@ -9,6 +9,7 @@
- name: "Enable feature LACP"
nxos_feature:
feature: lacp
+ provider: "{{ connection }}"
state: enabled
ignore_errors: yes
@@ -16,12 +17,14 @@
nxos_config: &intdefault1
lines:
- "default interface {{ testint1 }}"
+ provider: "{{ connection }}"
ignore_errors: yes
- name: "Put interface {{testint2}} into default state"
nxos_config: &intdefault2
lines:
- "default interface {{ testint2 }}"
+ provider: "{{ connection }}"
ignore_errors: yes
- name: Remove possibly configured port-channel 99
@@ -29,6 +32,7 @@
group: 99
members: ["{{ testint1 }}", "{{ testint2 }}"]
force: 'true'
+ provider: "{{ connection }}"
state: absent
timeout: 60
@@ -39,6 +43,7 @@
members: ["{{ testint1 }}", "{{ testint2 }}"]
mode: active
force: 'true'
+ provider: "{{ connection }}"
state: present
timeout: 60
register: result
@@ -61,6 +66,7 @@
members: ["{{ testint1 }}", "{{ testint2 }}"]
mode: passive
force: 'true'
+ provider: "{{ connection }}"
state: present
timeout: 60
register: result
@@ -83,6 +89,7 @@
- name: "Disable feature LACP"
nxos_feature:
feature: lacp
+ provider: "{{ connection }}"
state: disabled
timeout: 60