mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Changes to enable network_cli and netconf on iosxr integration tests. (#35269)
* * Changes to enable network_cli and netconf on modules. * limits connection local for single TC per playbook. * * adds a note on why only 1 TC is executed with connection: local
This commit is contained in:
parent
f49a782099
commit
56eeaf1b2f
25 changed files with 548 additions and 499 deletions
|
@ -15,6 +15,8 @@
|
|||
loop_control:
|
||||
loop_var: test_case_to_run
|
||||
|
||||
# Only one of the Testcase would be run to check if `connection: local`
|
||||
# is established. Full suite is run with `connection:network_cli` or `connection:netconf`
|
||||
- name: run test case (connection=local)
|
||||
include: "{{ test_case_to_run }} ansible_connection=local"
|
||||
with_first_found: "{{ test_items }}"
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
loop_control:
|
||||
loop_var: test_case_to_run
|
||||
|
||||
# Only one of the Testcase would be run to check if `connection: local`
|
||||
# is established. Full suite is run with `connection:network_cli` or `connection:netconf`
|
||||
- name: run test case (connection=local)
|
||||
include: "{{ test_case_to_run }} ansible_connection=local"
|
||||
with_items: "{{ test_items }}"
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
|
||||
- name: Setup interface
|
||||
iosxr_interface:
|
||||
name: GigabitEthernet0/0/0/1
|
||||
aggregate:
|
||||
- name: GigabitEthernet0/0/0/0
|
||||
- name: GigabitEthernet0/0/0/1
|
||||
state: absent
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue