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

Error running device.get_mac_address_table() #34

Open
AskskwBv8T2nrm4Qnj opened this issue Apr 12, 2024 · 0 comments
Open

Error running device.get_mac_address_table() #34

AskskwBv8T2nrm4Qnj opened this issue Apr 12, 2024 · 0 comments

Comments

@AskskwBv8T2nrm4Qnj
Copy link

Hi,

Thank you for the update last week.

When I use the following function, I receive a stack trace:

device.get_mac_address_table()

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/netbox-3.7.4/venv/lib/python3.11/site-packages/napalm_huawei_vrp/huawei_vrp.py", line 978, in get_mac_address_table
    "mac": mac(mac_info[0]),
           ^^^^^^^^^^^^^^^^
  File "/opt/netbox-3.7.4/venv/lib/python3.11/site-packages/napalm/base/helpers.py", line 521, in mac
    return str(EUI(raw, dialect=_MACFormat))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox-3.7.4/venv/lib/python3.11/site-packages/netaddr/eui/__init__.py", line 374, in __init__
    self.value = addr
    ^^^^^^^^^^
  File "/opt/netbox-3.7.4/venv/lib/python3.11/site-packages/netaddr/eui/__init__.py", line 422, in _set_value
    raise AddrFormatError('failed to detect EUI version: %r' % (value,))
netaddr.core.AddrFormatError: failed to detect EUI version: 'seconds'

Device: Cloudengine 6855
OS: VRP (R) software, Version 8.180

pip list:
...
netmiko 4.3.0
napalm 4.1.0
napalm-huawei-vrp 1.2.0
netbox_napalm_plugin 0.1.7

Using a switch that has been factory reset and only the basics of SSH configured.
I can run all other 'Get info' commands succesfully.

Seems very related to: napalm-automation-community/napalm-ftos#2

Please do let me know if I can help troubleshoot further.

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