Skip to content

MAC address search bugs out when MAC is not full #11544

@ntnlabs

Description

@ntnlabs

NetBox version

v3.4.2

Python version

3.10

Steps to Reproduce

  1. Have bunch of net devices with IP addresses and MAC addresses
  2. Go to Devices\Interfaces
  3. Click on second tab (Search)
  4. Scroll to MAC
  5. Enter part of MAC
  6. Click on search

Expected Behavior

  1. Click on search
  2. List of interfaces whose MAC addresses start with the searched string

Observed Behavior

  1. Click on search
  2. Error:
<class 'django.core.exceptions.ValidationError'>

['Invalid MAC address format: 00-0C']

Python version: 3.10.6
NetBox version: 3.4.2

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions