I send this again  - hope someone can help

Hello
I need to get sw-if-index from if-name
(the if-index that is shown in the :"show interface" in the Idx column)

John already answered  how to do that - but i fill lost with the cli
buffers ....

John's answer:
"The functions in the area you are interested may be the unformat
functions unformat_vnet_sw_interface(), unformat_vnet_hw_interface()
in src/vnet/interface_format.c used by VPP CLI to get sw_if_index or
hw_if_index from user specified interface name.    -John"

Thank you
-Sara



-=-=-=-=-=-=-=-=-=-=-=-
Links:

You receive all messages sent to this group.

View/Reply Online (#8554): https://lists.fd.io/g/vpp-dev/message/8554
View All Messages In Topic (2): https://lists.fd.io/g/vpp-dev/topic/14787612
Mute This Topic: https://lists.fd.io/mt/14787612/21656
New Topic: https://lists.fd.io/g/vpp-dev/post

Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656
Group Home: https://lists.fd.io/g/vpp-dev
Contact Group Owner: vpp-dev+ow...@lists.fd.io
Terms of Service: https://lists.fd.io/static/tos
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to