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

get_arp_table() - failed to detect EUI version: 'Incomplete' #14

Open
vojtulan opened this issue Apr 2, 2022 · 0 comments
Open

get_arp_table() - failed to detect EUI version: 'Incomplete' #14

vojtulan opened this issue Apr 2, 2022 · 0 comments

Comments

@vojtulan
Copy link

vojtulan commented Apr 2, 2022

When trying to get_arp_table on CE switch:

'192.168.0.1' generated an exception: failed to detect EUI version: 'Incomplete'
Traceback (most recent call last):
  File "test.py", line 260, in <module>
    data = future.result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result
    return self.__get_result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "test.py", line 84, in DeviceInfoFetchPipeline
    "arpTable" : connection.get_arp_table(),
  File "/home/altepro/.local/lib/python3.8/site-packages/napalm_ce/ce.py", line 678, in get_arp_table
    'mac': napalm.base.helpers.mac(arp[1]),
  File "/home/altepro/.local/lib/python3.8/site-packages/napalm/base/helpers.py", line 339, in mac
    return str(EUI(raw, dialect=_MACFormat))
  File "/home/altepro/.local/lib/python3.8/site-packages/netaddr/eui/__init__.py", line 389, in __init__
    self.value = addr
  File "/home/altepro/.local/lib/python3.8/site-packages/netaddr/eui/__init__.py", line 438, in _set_value
    raise AddrFormatError('failed to detect EUI version: %r'
netaddr.core.AddrFormatError: failed to detect EUI version: 'Incomplete'

On the switch:

<ce_switch>display arp
ARP Entry Types: D - Dynamic, S - Static, I - Interface, O - OpenFlow, RD - Redirect
EXP: Expire-time VLAN: VLAN or Bridge Domain

IP ADDRESS      MAC ADDRESS    EXP(M) TYPE/VLAN       INTERFACE        VPN-INSTANCE
----------------------------------------------------------------------------------------
172.21.21.220   3ce8-246b-f3a4        I               Vlanif100
172.21.21.254   3ce8-246b-f3a4        I               Vlanif100
172.21.21.15    2834-a2d3-0fd1    9   D/100           Eth-Trunk50
172.21.21.20    3ce8-2482-4fc4   18   D/100           Eth-Trunk50
172.21.21.50    2894-0f11-b341   13   D/100           10GE1/0/2
172.21.21.60    548a-ba54-db41   12   D/100           Eth-Trunk9
172.21.21.105   001d-e5c5-edc1   18   D/100           Eth-Trunk50
172.21.21.110   30fb-b88f-753b   19   D/100           Eth-Trunk6
172.21.21.180   c800-848f-ddba   17   D/100           Eth-Trunk50
172.21.21.181   c4b9-cd3e-da9a   19   D/100           10GE1/0/17
172.21.21.182   c4b9-cd3e-dc4d   20   D/100           10GE2/0/17
172.21.21.183   c4b9-cd3e-e4cc   16   D/100           Eth-Trunk6
172.21.21.184   0076-86b7-3d0d   18   D/100           Eth-Trunk9
172.21.21.200   0c68-0368-abd1   13   D/100           Eth-Trunk47
172.21.8.10     3ce8-246b-f3a3        I               Vlanif1
172.21.8.253    3ce8-246b-f3a3        I               Vlanif1
172.21.8.15     001d-a1d5-d640    6   D/1             Eth-Trunk47
172.21.8.16     2c3e-cfbf-aec0   14   D/1             Eth-Trunk47
172.21.8.30     000a-5900-c7a4   16   D/1             Eth-Trunk50
172.21.8.31     000a-5900-c79f   16   D/1             Eth-Trunk47
172.21.8.40     0005-336e-f6e4   18   D/1             Eth-Trunk50
172.21.8.43     00c0-ffdb-40de    8   D/1             Eth-Trunk50
172.21.8.44     00c0-ffd8-ef70    8   D/1             Eth-Trunk50
172.21.8.47     0027-f8c2-8f17   20   D/1             Eth-Trunk50
172.21.8.64     f8b1-56d5-e2ca   20   D/1             Eth-Trunk47
172.21.8.71     f01f-afd9-e81c    5   D/1             Eth-Trunk50
172.21.8.72     c81f-66c0-bf18    5   D/1             Eth-Trunk50
172.21.8.76     Incomplete        1   D               Vlanif1
.
.
.
172.21.7.245    Incomplete        1   D               Vlanif432
172.21.7.246    Incomplete        1   D               Vlanif432
172.21.7.247    Incomplete        1   D               Vlanif432
172.21.7.248    Incomplete        1   D               Vlanif432
172.21.7.249    Incomplete        1   D               Vlanif432
172.21.7.250    Incomplete        1   D               Vlanif432
172.21.7.251    Incomplete        1   D               Vlanif432
172.21.7.252    Incomplete        1   D               Vlanif432
172.21.7.253    Incomplete        1   D               Vlanif432
172.21.7.254    Incomplete        1   D               Vlanif432
172.25.26.250   3ce8-246b-f3aa        I               Vlanif526
172.25.26.253   40ce-2438-0db7    1   D/526           10GE1/0/14
172.25.26.254   0000-0c07-ac42   20   D/526           10GE1/0/14
172.19.16.254   3ce8-246b-f3aa        I               Vlanif568
172.19.16.1     0000-0c9f-f238    2   D/568           Eth-Trunk3
172.19.16.2     8c60-4f85-ed01    8   D/568           Eth-Trunk3
172.19.16.3     8c60-4f85-ed7c    5   D/568           Eth-Trunk3
172.19.15.14    3ce8-246b-f3ab        I               Vlanif569
----------------------------------------------------------------------------------------
Total:703         Dynamic:688       Static:0    Interface:15    OpenFlow:0
Redirect:0

Tried googling the problem but there was nothing.
Any one knows what this exception means ?

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

No branches or pull requests

1 participant