Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

get_interfaces_ip fails when multiple ipv6 addresses configured #127

Closed
ktbyers opened this issue Aug 29, 2017 · 2 comments · May be fixed by #135
Closed

get_interfaces_ip fails when multiple ipv6 addresses configured #127

ktbyers opened this issue Aug 29, 2017 · 2 comments · May be fixed by #135

Comments

@ktbyers
Copy link
Contributor

ktbyers commented Aug 29, 2017

This was configured:

interface Ethernet2/4
  no switchport
  mac-address 2cc2.607d.5725
  ipv6 address 2001:db8:800:200c::2/64
  ipv6 address 2001:db8:800:200d::2/64
  no shutdown

Ansible playbook had the following:

    - name: NAPALM get interface config
      napalm_get_facts: 
        provider: "{{ creds_napalm }}"
        filter: "interfaces_ip"

Would get this error message back:

    "msg": "[interfaces_ip] cannot retrieve device data: 'list' object has no attribute 'split'"

Using NX-API

@ktbyers
Copy link
Contributor Author

ktbyers commented Aug 29, 2017

Playbook would work fine if I removed one of the ipv6 addresses from the interface.

@mirceaulinic
Copy link
Member

Moved to napalm-automation/napalm#442

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants