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:
Kedar Kekan 2018-01-24 19:46:27 +05:30 committed by GitHub
parent f49a782099
commit 56eeaf1b2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 548 additions and 499 deletions

View file

@ -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 }}"

View file

@ -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 }}"

View file

@ -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