mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
nxos: merge nxapi/cli tests - config, bgp_neighbor, command, bgp_af (#28235)
* refactor nxos_bgp_af * refactor nxos_bgp_neighbor * refactor nxos_command * refactor nxos_config * removed accidental file
This commit is contained in:
parent
d4e7b045b7
commit
5df02dc288
27 changed files with 169 additions and 678 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- debug: msg="START cli/negative.yaml"
|
||||
- debug: msg="START {{ connection.transport }}/negative.yaml"
|
||||
|
||||
- name: run 11 commands
|
||||
nxos_command:
|
||||
|
@ -15,7 +15,7 @@
|
|||
- show version
|
||||
- show version
|
||||
- show version
|
||||
provier: "{{ cli }}"
|
||||
provier: "{{ connection }}"
|
||||
ignore_errors: yes
|
||||
register: result
|
||||
|
||||
|
@ -24,4 +24,4 @@
|
|||
- result.failed
|
||||
|
||||
|
||||
- debug: msg="END cli/negative.yaml"
|
||||
- debug: msg="END {{ connection.transport }}/negative.yaml"
|
|
@ -1,27 +0,0 @@
|
|||
---
|
||||
- debug: msg="START nxapi/negative.yaml"
|
||||
|
||||
- name: run 11 commands
|
||||
nxos_command:
|
||||
commands:
|
||||
- show version
|
||||
- show version
|
||||
- show version
|
||||
- show version
|
||||
- show version
|
||||
- show version
|
||||
- show version
|
||||
- show version
|
||||
- show version
|
||||
- show version
|
||||
- show version
|
||||
provier: "{{ nxapi }}"
|
||||
ignore_errors: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- result.failed
|
||||
|
||||
|
||||
- debug: msg="END nxapi/negative.yaml"
|
Loading…
Add table
Add a link
Reference in a new issue