Re: [vpp-dev] Update to iOAM using latest IETF draft #vpp

2020-08-04 Thread Justin Iurman
p-to-date with drafts). Justin [1] https://github.com/CiscoDevNet/iOAM/tree/master/M-Anycast [2] https://www.mail-archive.com/netdev@vger.kernel.org/msg333936.html > Mauricio > > -Original Message- > From: Justin Iurman > Sent: maandag 3 augustus 2020 17:11 > To:

Re: [vpp-dev] Update to iOAM using latest IETF draft #vpp

2020-08-03 Thread Justin Iurman
semester (or trimester hopefully). Out of curiosity, what are you working on with IOAM so that you want to refresh the VPP implem? Justin > Mauricio > > -Original Message----- > From: Justin Iurman > Sent: woensdag 29 juli 2020 14:26 > To: Solis JR, M. (Mauricio) >

Re: [vpp-dev] Update to iOAM using latest IETF draft #vpp

2020-07-29 Thread Justin Iurman
Hi Mauricio, CC'ing Shwetha, she implemented the IOAM plugin. Last time I checked, IOAM namespaces were not included, so it is probably based on the -03 version of draft-ietf-ippm-ioam-data. Actually, just to let you know, there is already someone that is going to rebase the implementation on

Re: [vpp-dev] P4 INT( Inband Network Telemetry)

2019-09-17 Thread Justin Iurman
Davi, The introduction of IOAM namespaces was the big addition and came with version 4 of the draft. Since then, some other (small) modifications were also added here and there. Last time I talked to Shwetha during IETF, she told me it was planned to update vpp/ioam to a more recent version

Re: Re : [vpp-dev] Maintainer router plugin

2018-12-10 Thread Justin Iurman
Hi Jerome, > Regarding multi instance, have you considered running multiple instances of > VPP > in different containers? I did, however this is not an option as I'd like to keep my "entire topology running on the same machine" philosophy. Also, I think this could be a plus for the router

Re: [vpp-dev] Maintainer router plugin

2018-12-08 Thread Justin Iurman
Hi Hongjun, > There is no plan to use memif at present. Welcome your contribution if you > will. Of course, if I find some free time. Anyone interested in working on this ? > In router plugin, we inject links, routes, etc. from different namespace in > Kernel into different VRFs In VPP. > Not

Re: [vpp-dev] Maintainer router plugin

2018-12-07 Thread Justin Iurman
Guys, Any plan to use memif interfaces for router plugin ? Also, is there a plan to implement a multi-instance mode ? Because, for now, "enable tap-inject" only works for one router, and not others, when I run multiples VPP instances on a same machine. Thanks, Justin > Hi Jan, > > A VPP

[vpp-dev] vpp with router plugin + FRRouting

2018-12-07 Thread Justin Iurman
[Re-sending with attachment .sh -> .txt to avoid being blocked] Hi folks, I'm working with multiple VPP instances on a same (virtual) machine, in order to simulate a topology. Now, I'd like to simulate a topology between ASes with BGP. For that, I followed the process described on this page

[vpp-dev] vpp with router plugin + FRRouting

2018-12-07 Thread Justin Iurman
Hi folks, I'm working with multiple VPP instances on a same (virtual) machine, in order to simulate a topology. Now, I'd like to simulate a topology between ASes with BGP. For that, I followed the process described on this page [1], which is for one single VPP instance running on the virtual

Re: [vpp-dev] vpp_api_test via socket file

2018-05-11 Thread Justin Iurman
Peter, > …however, are there any other options to full control 2+ instances of VPP via > API (not vppctl)? PythonAPI for example [1]. Ole’s answer to the same question: > r = vpp.connect('vpp1', chroot_prefix='name of shared address segment') Cheers, Justin

Re: [vpp-dev] Python API for specific VPP instance

2018-05-05 Thread Justin Iurman
Ole, > Yes. Set chroot_prefix. > r = vpp.connect('vpp1', chroot_prefix='name of shared address segment') My bad, I didn't thought about looking at the python code of the "connect" method. Thanks a million ! Another related question (see https://lists.fd.io/g/vpp-dev/message/9001 as a

[vpp-dev] Python API for specific VPP instance

2018-05-02 Thread Justin Iurman
Hi guys, How can I "connect" to a specific instance of VPP through the python API ? Each instance (together, they form a topology) is run as follow: sudo vpp unix { log /tmp/vpp1.log cli-listen /run/vpp/cli-vpp1.sock } api-segment { prefix vpp1 } plugins { plugin dpdk_plugin.so { disable } }

[vpp-dev] Plugin API grammar

2018-04-19 Thread Justin Iurman
Hi folks, After having developed a new plugin, I'm now implementing its API in order to use it from a GUI. Is there an official documentation of the API grammar (other than inside vppapigen) ? By looking at the code, I already found that it's possible to include a structure in a

Re: [vpp-dev] vppctl exec file (containing own plugin commands)

2017-12-28 Thread Justin Iurman
My bad. After hours of debugging, I figured it out. One of our plugin unformat function was checking for end-of-input, which was not the case when using "exec" command. Indeed, "exec" reads each line of the parsed file and put them next to each other in the (input) buffer. That's why it was

[vpp-dev] vppctl exec file (containing own plugin commands)

2017-12-21 Thread Justin Iurman
Hi everyone, Just noticed that my file was not executed with "vppctl exec ". Actually, it *is* executed, as long as a line doesn't contain a command for my plugin. Is "exec" only for some vpp "core" commands, such as "set" ? I already tried the alternative solution by calling "vppctl " for

Re: [vpp-dev] Measure plugin performances

2017-12-14 Thread Justin Iurman
Hi Ray, > Suggest adding vpphost and iperfvpp to different network namespaces. > All that is happening at the moment is the kernel is recognizing it owns > both IPs and bypassing everything. > You also need to add vppiperf and vppout to a bridge domain in VPP. Indeed, I thought that could be

Re: [vpp-dev] Measure plugin performances

2017-12-11 Thread Justin Iurman
Oh and by the way, when I say "Pings work" I mean "pings on vpp interfaces" and that's the only way I can see packets in VPP (which is normal after all). But still, pings to 10.10.2.2 work but no trace in VPP (same as iperf packets). Just wanted to clarify this, because it was a bit unclear.

[vpp-dev] Measure plugin performances

2017-12-11 Thread Justin Iurman
Hi everyone, Just wanted to know if there is already something inside VPP to measure some metrics when testing performances of our own plugin ? I know there are some useful info with "vppctl show ..." but is it enough/all ? Actually, based on this link (

Re: [vpp-dev] TCP Options: tcp_header_t and tcp_options_t

2017-11-22 Thread Justin Iurman
Florin, > For discarding options you’ll probably need to write your own function that > first recomputes them and then moves the payload closer to the header. Yep, that's what I had in mind. > tcp_buffer_discard_bytes just chops off payload bytes, as in moves the > buffer’s > current_data

Re: [vpp-dev] TCP Options: tcp_header_t and tcp_options_t

2017-11-20 Thread Justin Iurman
uct for outputting the > results so no need for a tcp_connection_t. Now, if you need your special > function to both read, match and update in place the options, then I recommend > you write your own options parser. > > Hope this helps, > Florin > >> On Nov 14, 2017, at 5:13 AM,

Re: [vpp-dev] TCP Options: tcp_header_t and tcp_options_t

2017-11-14 Thread Justin Iurman
Hi Dave, Thanks (again) for your reply. > Brief commercial: hopefully you added your node to the ip4 unicast feature > arc, > configured to grab pkts, pre-ip4/6-lookup. Indeed, I added my node to the ip4-unicast feature arc. > In feature-arc land, the following one-liner sets next0 so pkts

[vpp-dev] TCP Options: tcp_header_t and tcp_options_t

2017-11-13 Thread Justin Iurman
Guys, My node is located right before ip4_lookup. What's the fastest/cleanest way to get options related to a TCP packet, having access to a tcp_header_t structure (which is not directly linked to its options) ? Actually, I'd like to modify or remove some options on the fly. Do I have to

[vpp-dev] Packet Generator for TCP traffic

2017-11-13 Thread Justin Iurman
Guys, I'm facing the same problem as explained by someone else in this thread ( https://lists.fd.io/pipermail/vpp-dev/2016-June/001445.html ) which is not solved. Actually, I'm just trying to generate some TCP traffic and it "works" by removing "TCP: sport -> dport" and "SYN" lines. Well...

Re: [vpp-dev] vlib_validate_buffer_enqueue

2017-11-13 Thread Justin Iurman
y performance to also provide > a > dual loop. The dual-loop code will run at most one time; there's no chance of > fixed overhead amortization. > > Thanks… Dave > > -Original Message- > From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On > Be

[vpp-dev] vlib_validate_buffer_enqueue

2017-11-13 Thread Justin Iurman
Hey guys, In buffer_node.h, there are the following macros: - vlib_validate_buffer_enqueue_x1 - vlib_validate_buffer_enqueue_x2 - vlib_validate_buffer_enqueue_x4 In a node, I was just wondering what was the use idea behind that ? Is it for a reason of speed ? I mean, you're obviously faster if

Re: [vpp-dev] bug/issue notification

2017-10-17 Thread Justin Iurman
s actually what is executed with the now-deprecated install.sh. What should I do ? Justin - Mail original - De: "Dave Wallace" <dwallac...@gmail.com> À: "Justin Iurman" <justin.iur...@ulg.ac.be>, "vpp-dev" <vpp-dev@lists.fd.io> Envoyé: Lundi 1

[vpp-dev] bug/issue notification

2017-10-16 Thread Justin Iurman
Hey guys, Here are two issues I faced while installing/running VPP. It would be great to fix them. 1) Install not executed (at least, it seems that it's the case...) - tested with current version 18.01 (cloned today) but it's the same with previous versions too. git clone

Re: [vpp-dev] Build/Install new plugin without rebuilding everything

2017-10-11 Thread Justin Iurman
Thank you very much Damjan, it works like a charm. Justin - Mail original - De: "Damjan Marion" <dmarion.li...@gmail.com> À: "Justin Iurman" <justin.iur...@ulg.ac.be> Cc: "vpp-dev" <vpp-dev@lists.fd.io> Envoyé: Mardi 10 Octobre 2017 18:36:

[vpp-dev] Build/Install new plugin without rebuilding everything

2017-10-10 Thread Justin Iurman
Hi folks, I was just wondering how I could build my own plugin without rebuilding everything from scratch in vpp ? I mean, here are two ways I found to build a plugin: - First technique (long, rebuilds everything): https://docs.fd.io/vpp/17.07/sample_plugin_doc.html - Second technique (fast,

Re: [vpp-dev] Running multiple instances of VPP as it was allowed with VPP-lite

2017-10-06 Thread Justin Iurman
Ed, Thanks for the update and your good advice. I appreciate it. Justin - Mail original - De: "Ed Warnicke" <hagb...@gmail.com> À: "Justin Iurman" <justin.iur...@ulg.ac.be> Cc: "vpp-dev" <vpp-dev@lists.fd.io> Envoyé: Jeudi 5 Octobre 201

Re: [vpp-dev] Running multiple instances of VPP as it was allowed with VPP-lite

2017-10-05 Thread Justin Iurman
> That looks about right. The other option would be to use telnet. So instead > of > “cli-listen /run/vpp/cli.vpp1.sock” do something like “cli-listen > localhost:5002” and then telnet 0 5002 > > Florin > >> On Oct 5, 2017, at 1:18 AM, Justin Iurman <justin.iur...@ul

Re: [vpp-dev] Running multiple instances of VPP as it was allowed with VPP-lite

2017-10-05 Thread Justin Iurman
there be anything better suited ? Justin - Mail original - De: "Florin Coras" <fcoras.li...@gmail.com> À: "Justin Iurman" <justin.iur...@ulg.ac.be> Cc: vpp-dev@lists.fd.io Envoyé: Mercredi 4 Octobre 2017 18:32:27 Objet: Re: [vpp-dev] Running multiple in

[vpp-dev] Running multiple instances of VPP as it was allowed with VPP-lite

2017-10-04 Thread Justin Iurman
Hi all, Is it still possible to run multiple instances of VPP, just like it was done with VPP-lite (see here: https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial) before merging it ? Actually, my problem is the following. I need to run several instances of VPP (eg. vpp1, vpp2, vpp3, etc) to