btw - is there (like in linux) a vpp function helper "interface-name-to-if-index" - which its input is interface-name and output is vpp-if-index ?
Thank you -Sara On Mon, Mar 12, 2018 at 5:16 PM, Sara Gittlin <sara.gitt...@gmail.com> wrote: > Thank you Jon > This indeed very helpful ! > Cheers > -Sara > > On Mon, Mar 12, 2018 at 5:01 PM, Jon Loeliger <j...@netgate.com> wrote: >> >> >> On Mon, Mar 12, 2018 at 3:57 AM, Sara Gittlin <sara.gitt...@gmail.com> >> wrote: >>> >>> Dear Florin, >>> >>> When using the command " create tap rx-ring-size 4096 tx-ring-size 4096 " >>> VPP create the devices with default names tap0, tap1, ..tapn. >>> >>> Is it possible for the user to set the name in the 'create' command line ? >>> >>> Thank you in advance >>> -Sara >> >> >> Hi Sara, >> >> Welcome to my battle! >> >> Luckily, there is a way to do as you wish! If you set the "instance" >> value <n> during the tap_create API call, or use "id <n>" during the >> "create tap ..." CLI command, you will create an interface of the >> name "tap<n>". You may not use a different prefix than "tap", but >> at least you can know what the name will be when it is created. >> >> HTH, >> jdl >> >> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8505): https://lists.fd.io/g/vpp-dev/message/8505 View All Messages In Topic (13): https://lists.fd.io/g/vpp-dev/topic/14091118 Mute This Topic: https://lists.fd.io/mt/14091118/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 -=-=-=-=-=-=-=-=-=-=-=-