Test system (#22420)

* ios_system

* tests for ios_system

* tests for *_system

* working ios_system on cli

* Typo

* Loopback10 (single word, upeprcase)

* Revert docs changes

* Working iosxr_system tests

* eos, not nxos

* nxos_system
This commit is contained in:
John R Barker 2017-03-08 19:21:45 +00:00 committed by Chris Alfonso
commit 41f5648c44
36 changed files with 1573 additions and 10 deletions

View file

@ -6,7 +6,7 @@
register: test_cases
- name: set test_items
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" #"
- name: run test case
include: "{{ test_case_to_run }}"

View file

@ -6,13 +6,14 @@
register: test_cases
- name: set test_items
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" #"
- name: enable eapi
nxos_config:
lines:
- feature eapi
- eapi http port 80
eos_eapi:
enable_http: yes
enable_https: yes
enable_local_http: yes
enable_socket: yes
provider: "{{ cli }}"
- name: run test case
@ -22,7 +23,9 @@
loop_var: test_case_to_run
- name: disable eapi
nxos_config:
lines:
- no feature eapi
eos_eapi:
enable_http: no
enable_https: no
enable_local_http: no
enable_socket: no
provider: "{{ cli }}"