mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 20:13:59 -07:00
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:
parent
ffe51bed96
commit
f2c34d51f2
19 changed files with 137 additions and 241 deletions
15
test/integration/targets/nxos_vrf/tests/common/sanity.yaml
Normal file
15
test/integration/targets/nxos_vrf/tests/common/sanity.yaml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue