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 2017 23:53:17
Objet: Re: [vpp-dev] Running multiple instances of VPP as it was allowed with 
VPP-lite

If you want to take it to the next level, and do a great service to your
fellow man, I would encourage you to update the tutorial to use:

https://docs.fd.io/vpp/17.10/clicmd_src_plugins_memif.html

to interconnect the various vpp instances :)

Ed

On Thu, Oct 5, 2017 at 2:50 PM, Ed Warnicke <hagb...@gmail.com> wrote:

> Justin,
>
> I've fixed the tutorial in this area:
>
> https://wiki.fd.io/view/VPP/Progressive_VPP_Tutorial
>
> Here's the net net.  Damjan improved the vppctl, rewriting it in C, and
> having it talk over a file socket to vpp.  This is goodness.  It does mean
> you do the multi-vpp instance thing a bit differently though:
>
> sudo vpp unix {cli-listen /run/vpp/cli-vpp1.sock} api-segment { prefix
> vpp1 }
>
> sudo vppctl -s /run/vpp/cli-vpp1.sock
>
> Thanks for asking, it prompted me to fix the tutorial :)
>
> Ed
>
> On Wed, Oct 4, 2017 at 9:23 AM, Justin Iurman <justin.iur...@ulg.ac.be>
> wrote:
>
>> 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/Pr
>> ogressive_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 simulate a topology. But, for some
>> reason, I'm not able to make it work as expected. I've already disabled
>> DPDK plugin to run in "lite" mode. Could it be a configuration issue ? VPP
>> startup.conf:
>>
>> unix {
>>   nodaemon
>>   log /tmp/vpp.log
>>   full-coredump
>>   cli-listen /run/vpp/cli.sock
>>   gid vpp
>> }
>>
>> api-trace {
>>   on
>> }
>>
>> api-segment {
>>   gid vpp
>> }
>>
>> plugins {
>>   plugin dpdk_plugin.so { disable }
>> }
>>
>> I tried to compare both VPP and VPP-lite. A first observation showed that
>> VPP is installed as a service, which is not the case for VPP-lite. I've
>> also compared both config files. Here is VPP-lite startup.conf:
>>
>> unix {
>>   nodaemon
>>   log /tmp/vpp.log
>>   full-coredump
>> }
>>
>> api-trace {
>>   on
>> }
>>
>> api-segment {
>>   gid vpp
>> }
>>
>> Currently, here is how I try to mimic VPP-lite behavior with VPP:
>>
>> sudo vpp api-segment { prefix vpp1 } unix { cli-listen
>> /run/vpp/cli.vpp1.sock }
>> sudo vppctl -s /run/vpp/cli.vpp1.sock
>>
>> It works for one instance, but not for more, even if it does not throw
>> any error. Do you have any idea on how to proceed or what is wrong here ?
>>
>> Thanks !
>>
>> Justin
>> _______________________________________________
>> vpp-dev mailing list
>> vpp-dev@lists.fd.io
>> https://lists.fd.io/mailman/listinfo/vpp-dev
>>
>
>
-- 
Justin Iurman
Université de Liège (ULg)
Bât. B28  Algorithmique des Grands Systèmes
Quartier Polytech 1
Allée de la Découverte 10
4000 Liège
Phone: +32 4 366 28 09
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to