mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 12:03:58 -07:00
nxos integration fix part 1 (#27069)
* Assorted Python 3 fixes * Fix `testcase` definition in integration tests * Fix nxos_acl_interface * clean up nxapi after nxos_nxapi
This commit is contained in:
parent
b8337ee9d3
commit
56a0b988a9
12 changed files with 29 additions and 11 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- debug: msg="START cli/lesstahnorequal.yaml"
|
||||
- debug: msg="START cli/lessthanorequal.yaml"
|
||||
|
||||
- name: test le operator
|
||||
nxos_command:
|
||||
|
@ -29,4 +29,4 @@
|
|||
that:
|
||||
- "result.changed == false"
|
||||
|
||||
- debug: msg="END cli/lesstahnorequal.yaml"
|
||||
- debug: msg="END cli/lessthanorequal.yaml"
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
testcase: "*"
|
2
test/integration/targets/nxos_feature/defaults/main.yaml
Normal file
2
test/integration/targets/nxos_feature/defaults/main.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
testcase: "*"
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
testcase: "*"
|
2
test/integration/targets/nxos_mtu/defaults/main.yaml
Normal file
2
test/integration/targets/nxos_mtu/defaults/main.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
testcase: "*"
|
|
@ -13,3 +13,9 @@
|
|||
with_items: "{{ test_items }}"
|
||||
loop_control:
|
||||
loop_var: test_case_to_run
|
||||
|
||||
- name: disable nxapi
|
||||
nxos_config:
|
||||
lines:
|
||||
- no feature nxapi
|
||||
provider: "{{ cli }}"
|
||||
|
|
2
test/integration/targets/nxos_system/defaults/main.yaml
Normal file
2
test/integration/targets/nxos_system/defaults/main.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
testcase: "*"
|
Loading…
Add table
Add a link
Reference in a new issue