[vpp-dev] Interface name to sw-if-index

2018-03-15 Thread Sara Gittlin
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 inte

[vpp-dev] Interface name to sw-if-index

2018-03-15 Thread Sara Gittlin
Hello i have a config file being read during init , one of its fileds is if-name. I need to have sw-if-index given the if-name. John already answered how to do that - but i fill lost with the cli buffers i only need a function get-if-index-by-if-name that receives if-name and returns if-index