nxos: merge nxapi/cli tests - system, user, vlan, vrf (#28241)

* refactor nxos_system

* refactor nxos_user

* refactor nxos_vlan

* refactor nxos_vrf
This commit is contained in:
David Newswanger 2017-08-17 04:18:00 -04:00 committed by Trishna Guha
commit f2c34d51f2
19 changed files with 137 additions and 241 deletions

View file

@ -0,0 +1,15 @@
---
- debug: msg="START TRANSPORT:{{ connection.transport }} nxos_vrf sanity test"
- name: Ensure ntc VRF exists on switch
nxos_vrf:
vrf: ntc
provider: "{{ connection }}"
- name: Ensure ntc VRF does not exist on switch
nxos_vrf:
vrf: ntc
state: absent
provider: "{{ connection }}"
- debug: msg="END TRANSPORT:{{ connection.transport }} nxos_vrf sanity test"