Fix iosxr integration tests (#34663)

* Handle non-XML errors

* Move iosxr_netconf tuning to prepare

* Apply provider warning to netconf as well

* Update netconf task files
This commit is contained in:
Nathaniel Case 2018-01-10 11:40:54 -05:00 committed by GitHub
commit accf79f406
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 59 additions and 59 deletions

View file

@ -1,10 +1,17 @@
---
- name: Ensure we have loopback 888 for testing
iosxr_config:
src: config.j2
connection: network_cli
- name: Enable Netconf service
iosxr_netconf:
netconf_port: 830
netconf_vrf: 'default'
state: present
connection: network_cli
tags: netconf
# Some AWS hostnames can be longer than those allowed by the system we are testing
# Truncate the hostname
# http://jinja.pocoo.org/docs/2.9/templates/#truncate