f87b156423
* Testing commands over various nxapi levels of cipher and ssl strengths. * Reworked nxos nxapi ssl/tlv transport testing * Added additional nxos nxapi httpapi local transport test suite * Added meta: end_play to nxos nxapi transports task to prevent execution unless nxos_ssl is defined. * Refactored nxos nxapi tls and cipher options testing * Removed blank line * Renamed variable ssl to the more appropriate ciphers * After each transport perumation test reset nxapi on the switch to ensure no previous configuration is still present on the next test. * 43651: Removed unnecessary changes to nxos_nxapi & removed hard-coded nxapi port numbers.
24 lines
713 B
YAML
24 lines
713 B
YAML
---
|
|
|
|
- block:
|
|
|
|
- set_fact:
|
|
tls:
|
|
- [ yes, no, no ]
|
|
- [ no, yes, no ]
|
|
- [ no, no, yes ]
|
|
- set_fact:
|
|
ciphers:
|
|
- yes
|
|
- no
|
|
|
|
- name: NXAPI various transport tests with different TLS and ciphers
|
|
vars:
|
|
tlsv1_2: "{{ item[0][0] }}"
|
|
tlsv1_1: "{{ item[0][1] }}"
|
|
tlsv1_0: "{{ item[0][2] }}"
|
|
ssl_strong_ciphers: "{{ item[1] }}"
|
|
include: targets/nxos_nxapi_transports/tests/nxapi/assert_test.yaml
|
|
loop: "{{ tls | product(ciphers) | list }}"
|
|
|
|
when: (platform is match("N9K") or platform is match("N3K") or platform is match("N9K-F") or platform is match("N35") or platform is match("N3L")) and major_version is version('9.2', '>=')
|