Bug 2151127 - use mac to search interface table got error
Summary: use mac to search interface table got error
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: openvswitch
Version: FDP 22.J
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Timothy Redaelli
QA Contact: mhou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-06 08:20 UTC by mhou
Modified: 2023-07-13 07:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-2531 0 None None None 2022-12-06 08:23:13 UTC

Description mhou 2022-12-06 08:20:24 UTC
Description of problem:
Passing in the mac address as a string returns unexpected ":" parsing set of up to 1 strings

Version-Release number of selected component (if applicable):
5.14.0-204.rt14.205.el9.x86_64
openvswitch2.17-2.17.0-55.el9fdp.x86_64

How reproducible:100%


Steps to Reproduce:
1.# ovs-vsctl --columns=name find interface mac_in_use='ec:0d:9a:2f:b5:63'
ovs-vsctl: ec:0d:9a:2f:b5:63: unexpected ":" parsing set of up to 1 strings
# ovs-vsctl --columns=name find interface mac_in_use='ec\:0d\:9a\:2f\:b5\:63'
name                : ens2f1np1

Actual results:
The mac address is passed in as a string that requires additional escape characters

Expected results:
The mac address is passed in as a string without an escape character

Additional info:


Note You need to log in before you can comment on or make changes to this bug.