From a1971259540ccc1be3df811252f5b832e7af2d87 Mon Sep 17 00:00:00 2001 From: Nathaniel Case Date: Mon, 2 Jul 2018 09:43:51 -0400 Subject: Nxos restore provider to nxapi tests (#41818) * Quick and dirty sed to add provider * Manually verify the rest of the cases * Add missing provider --- test/integration/targets/nxos_feature/tests/common/configure.yaml | 6 ++++++ test/integration/targets/nxos_feature/tests/common/invalid.yaml | 1 + 2 files changed, 7 insertions(+) (limited to 'test/integration/targets/nxos_feature') diff --git a/test/integration/targets/nxos_feature/tests/common/configure.yaml b/test/integration/targets/nxos_feature/tests/common/configure.yaml index 2c02bea4c8..220def42d1 100644 --- a/test/integration/targets/nxos_feature/tests/common/configure.yaml +++ b/test/integration/targets/nxos_feature/tests/common/configure.yaml @@ -5,10 +5,12 @@ nxos_config: lines: no feature bgp match: none + provider: "{{ connection }}" - name: enable bgp nxos_feature: feature: bgp + provider: "{{ connection }}" state: enabled register: result @@ -19,6 +21,7 @@ - name: verify bgp nxos_feature: feature: bgp + provider: "{{ connection }}" state: enabled register: result @@ -29,6 +32,7 @@ - name: disable bgp nxos_feature: feature: bgp + provider: "{{ connection }}" state: disabled register: result @@ -39,6 +43,7 @@ - name: verify bgp nxos_feature: feature: bgp + provider: "{{ connection }}" state: disabled register: result @@ -50,5 +55,6 @@ nxos_config: lines: no feature bgp match: none + provider: "{{ connection }}" - debug: msg="END connection={{ ansible_connection }}/configure.yaml" diff --git a/test/integration/targets/nxos_feature/tests/common/invalid.yaml b/test/integration/targets/nxos_feature/tests/common/invalid.yaml index 477eaf6416..8d0baf6b2c 100644 --- a/test/integration/targets/nxos_feature/tests/common/invalid.yaml +++ b/test/integration/targets/nxos_feature/tests/common/invalid.yaml @@ -4,6 +4,7 @@ - name: configure invalid feature name nxos_feature: feature: invalid + provider: "{{ connection }}" register: result ignore_errors: yes -- cgit v1.2.3