Nxos restore provider to nxapi tests (#41818)

* Quick and dirty sed to add provider

* Manually verify the rest of the cases

* Add missing provider
This commit is contained in:
Nathaniel Case 2018-07-02 09:43:51 -04:00 committed by GitHub
parent 1659951710
commit a197125954
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
127 changed files with 713 additions and 0 deletions

View file

@ -14,11 +14,13 @@
parents:
- "interface {{ intname }}"
match: none
provider: "{{ connection }}"
- name: Ensure vrf ntc exists on interface
nxos_vrf_interface: &configure
vrf: ntc
interface: "{{ intname }}"
provider: "{{ connection }}"
state: present
register: result
@ -38,6 +40,7 @@
nxos_vrf_interface: &remove
vrf: ntc
interface: "{{ intname }}"
provider: "{{ connection }}"
state: absent
register: result
@ -54,6 +57,7 @@
nxos_config:
lines: "default interface {{ intname }}"
match: none
provider: "{{ connection }}"
ignore_errors: yes
- debug: msg="END connection={{ ansible_connection }} nxos_vrf_interface sanity test"