Hey Paul,
Thanks very much, I got it, I have a misunderstanding about this API, for
this api return all the interface's info which include the param of name_filter.
Maybe it's a False patch. Thank you again:-??
---
Best Regards
Joe
------------------ ???????? ------------------
??????: "Paul Vinciguerra"<pvi...@vinciconsulting.com>;
????????: 2019??3??14??(??????) ????6:45
??????: "vpp-dev"<vpp-dev@lists.fd.io>;
????: Re: [vpp-dev] is sw_interface_dump api bug?
4) sw_interface_dump return loop10's info instead of loop1
I tested without your patch, and sw_interface_dump returns both interfaces that
match the filter of 'loop1'.
Name Idx State MTU (L3/IP4/IP6/MPLS)
Counter Count
local0 0 down 0/0/0/0
loop0 1 down 9000/0/0/0
loop10 3 down 9000/0/0/0
loop1 2 down 9000/0/0/0
dump: ['loop1', 'loop10']
Paul
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12531): https://lists.fd.io/g/vpp-dev/message/12531
Mute This Topic: https://lists.fd.io/mt/30426855/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-