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

ip address virtual shows up as a 0.0.0.0/0 IP in eos_facts #148

Closed
ryanmerolle opened this issue Jan 20, 2021 · 1 comment · Fixed by #170
Closed

ip address virtual shows up as a 0.0.0.0/0 IP in eos_facts #148

ryanmerolle opened this issue Jan 20, 2021 · 1 comment · Fixed by #170
Assignees
Milestone

Comments

@ryanmerolle
Copy link

ryanmerolle commented Jan 20, 2021

SUMMARY

show ip interface brief command properly shows the applied ip address virtual command for an interface configured as such, but eos_facts does.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

eos_facts

ANSIBLE VERSION
2.10.5
CONFIGURATION
<empty>
OS / ENVIRONMENT

Arista EOS 4.22.6M, 4.23.5M, & 4.24.3M

interface config:

interface Vlan100
   description test
   ip address virtual 10.0.0.1/16
STEPS TO REPRODUCE
- name: eos_facts
  arista.eos.eos_facts:
    gather_subset: all
    gather_network_resources: all
EXPECTED RESULTS
<omitted output before this>
ansible_net_interfaces:
  Vlan100:
    bandwidth: 0
    description: test
    ipv4:
      address: 10.0.0.1
      masklen: 16
    lineprotocol up
    macaddress: aa:aa:aa:aa:aa:aa
    mtu: 1500
    operstatus: up
    type: routed
ACTUAL RESULTS
<omitted output before this>
ansible_net_interfaces:
  Vlan100:
    bandwidth: 0
    description: test
    ipv4:
      address: 0.0.0.0
      masklen: 0
    lineprotocol up
    macaddress: aa:aa:aa:aa:aa:aa
    mtu: 1500
    operstatus: up
    type: routed
@GomathiselviS GomathiselviS self-assigned this Jan 20, 2021
@GomathiselviS GomathiselviS added this to the February'21 milestone Jan 27, 2021
@ryanmerolle
Copy link
Author

l3_interfaces also just show the ipv4 address as virtual instead of actually showing the IP.

virtual addresses should likely be handled in manner similar to first hop redundancy protocols given many devices share the same IP.

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

Successfully merging a pull request may close this issue.

2 participants