Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netconf_config on iosxr #19

Open
geordish opened this issue Apr 14, 2020 · 1 comment
Open

netconf_config on iosxr #19

geordish opened this issue Apr 14, 2020 · 1 comment
Assignees
Labels
needs_info This issue requires further information. Please answer any outstanding questions.

Comments

@geordish
Copy link

SUMMARY

I'm trying to create a simple playbook using iosxr and netconf, and I'm experiencing issues. Ansible errors out when trying to log into the netconf SSH session.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

netconf_config

ANSIBLE VERSION
ansible 2.9.6
  config file = None
  configured module search path = [u'/home/dave/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /home/dave/.local/lib/python2.7/site-packages/ansible
  executable location = /home/dave/.local/bin/ansible
  python version = 2.7.17 (default, Nov  7 2019, 10:07:09) [GCC 7.4.0]
CONFIGURATION
Nothing
OS / ENVIRONMENT

Cisco IOS XR Software, Version 6.6.3

STEPS TO REPRODUCE
---
- name: Configure Hostname on IOS XR
  hosts: all
  connection: netconf

  tasks:
    - name: Configure IS-IS
      netconf_config:
        content: |
          <host-names xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-cfg">
            <host-name>Test</host-name>
          </host-names>
EXPECTED RESULTS

The device being logged into and configured.

ACTUAL RESULTS

https://gist.github.com/geordish/c6d4d9c39f556861b7ad97a6ebb79c3e
https://gist.github.com/geordish/533c58158a4a17156b18adebd044583b

@rohitthakur2590 rohitthakur2590 self-assigned this Apr 22, 2020
@rohitthakur2590 rohitthakur2590 added this to the March'21 milestone Mar 10, 2021
@KB-perByte KB-perByte removed this from the March'21 milestone Feb 28, 2024
@NilashishC
Copy link
Contributor

@geordish There have been significant changes in ansible-core, netcommon and our netconf connection since this issue was opened. Does this issue still persist with the latest versions of ansible-core and ansible.netcommon?

@NilashishC NilashishC added the needs_info This issue requires further information. Please answer any outstanding questions. label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_info This issue requires further information. Please answer any outstanding questions.
Projects
None yet
Development

No branches or pull requests

4 participants