diff options
author | Rohit Thakur <rohitthakur2590@outlook.com> | 2020-05-08 18:53:03 +0530 |
---|---|---|
committer | Rohit Thakur <rohitthakur2590@outlook.com> | 2020-05-08 18:53:03 +0530 |
commit | e584c5ce7db0adbdcced3427411bbd82c6dc1b68 (patch) | |
tree | ad568efa32cd42d4f17f59a30ce57af18a7c4b72 /tests/integration/targets/vyos_ospfv3/tasks/cli.yaml | |
parent | 6726b46caabe79f27485e5b33f7f1e324ded6dd1 (diff) | |
download | vyos.vyos-e584c5ce7db0adbdcced3427411bbd82c6dc1b68.tar.gz vyos.vyos-e584c5ce7db0adbdcced3427411bbd82c6dc1b68.zip |
ospfv3 test cases updated
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
Diffstat (limited to 'tests/integration/targets/vyos_ospfv3/tasks/cli.yaml')
-rw-r--r-- | tests/integration/targets/vyos_ospfv3/tasks/cli.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/integration/targets/vyos_ospfv3/tasks/cli.yaml b/tests/integration/targets/vyos_ospfv3/tasks/cli.yaml new file mode 100644 index 0000000..93eb2fe --- /dev/null +++ b/tests/integration/targets/vyos_ospfv3/tasks/cli.yaml @@ -0,0 +1,19 @@ +--- +- name: Collect all cli test cases + find: + paths: '{{ role_path }}/tests/cli' + patterns: '{{ testcase }}.yaml' + use_regex: true + register: test_cases + delegate_to: localhost + +- name: Set test_items + set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" + +- name: Run test case (connection=ansible.netcommon.network_cli) + include: '{{ test_case_to_run }}' + vars: + ansible_connection: ansible.netcommon.network_cli + with_items: '{{ test_items }}' + loop_control: + loop_var: test_case_to_run |