b81882e2a8
* vyos_static_route implementation module Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Add vyos_static_route implementation module Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * unit test Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * modify vyos_static_route Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * integration test vyos_static and net_static_route Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * fix typo integration test Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * modify vyos_static_route * modify integration test * vyos_static_route doc build fix * fix integration test data Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * update net_static_route cli test set * minor fix
15 lines
387 B
YAML
15 lines
387 B
YAML
---
|
|
- name: collect all cli test cases
|
|
find:
|
|
paths: "{{ role_path }}/tests/cli"
|
|
patterns: "{{ testcase }}.yaml"
|
|
register: test_cases
|
|
|
|
- name: set test_items
|
|
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
|
|
|
|
- name: run test case
|
|
include: "{{ test_case_to_run }}"
|
|
with_items: "{{ test_items }}"
|
|
loop_control:
|
|
loop_var: test_case_to_run
|