30f992f260
* Add netconf_get module Implements part-1 of proposal #104 https://github.com/ansible/proposals/issues/104 * Add netconf_get module * Refactor `get`, `get_config`, `lock`, `unlock` and `discard_changes` netconf plugin api's * Add netconf module_utils file which netconf module related common functions * Refactor junos and iosxr netconf plugins * Fix source option handling * Fix review comments * Update botmeta file * Update review comments and add support for lock * Lock update fix * Fix CI issue * Add integration test and minor fixes * Fix review comments * Fix CI failure * Fix CI issues * Fix CI issues * Fix review comments and update integration test * Fix review comments * Fix review comments * Fix review comments Fix reveiw comments
16 lines
434 B
YAML
16 lines
434 B
YAML
---
|
|
- name: collect all netconf test cases
|
|
find:
|
|
paths: "{{ role_path }}/tests/iosxr"
|
|
patterns: "{{ testcase }}.yaml"
|
|
register: test_cases
|
|
connection: local
|
|
|
|
- name: set test_items
|
|
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
|
|
|
|
- name: run test case (connection=netconf)
|
|
include: "{{ test_case_to_run }}"
|
|
with_items: "{{ test_items }}"
|
|
loop_control:
|
|
loop_var: test_case_to_run
|