Re: [vpp-dev] containers interconnect via memif

2018-05-27 Thread Milan Lenco
.fd.io Predmet: Re: [vpp-dev] containers interconnect via memif OK, just to be clear, memif lets you pass L2 or L3 packets... but it does not provide a TCP stack (if you need a TCP stack, we have one of those too :) ). Ed On Sun, May 27, 2018 at 2:02 AM Sara Gittlin <sara.gitt...@

Re: [vpp-dev] containers interconnect via memif

2018-05-27 Thread Sara Gittlin
Thank you Damjan see setup of 2 containers one act as a master the other slave - here: https://docs.fd.io/vpp/17.10/libmemif_example_setup_doc.html but this works only with the specific image 'libmemif-sample-service' Regards -Sara On Sun, May 27, 2018 at 12:48 PM, Damjan Marion

Re: [vpp-dev] containers interconnect via memif

2018-05-27 Thread Damjan Marion
Sara, libmemif currently can act only as memif slave, but there is no reason for not being master, somebody just needs to extend the lib. Thanks, -- Damjan > On 27 May 2018, at 09:02, Sara Gittlin wrote: > > Ed, > there are some use-cases , for example: > - 2 work

Re: [vpp-dev] containers interconnect via memif

2018-05-27 Thread Sara Gittlin
Ed, there are some use-cases , for example: - 2 work loads under same tenant - need to exchange info - CNF's implementing SFC Thank you -Sara On Thu, May 24, 2018 at 7:12 PM, Ed Warnicke wrote: > Sara, > > A couple question: > > What are you wanting to connect via memif in

Re: [vpp-dev] containers interconnect via memif

2018-05-24 Thread Edward Warnicke
Sara, A couple question: What are you wanting to connect via memif in your containers? Is it a CNF (Cloud-native Network Function... ie something meant to process packets) or a traditional app (think webserver, databace, etc)? Ed On Thu, May 24, 2018 at 3:37 AM Sara Gittlin

[vpp-dev] containers interconnect via memif

2018-05-24 Thread Sara Gittlin
Hello All, I've followed the example as per https://docs.fd.io/vpp/17.10/libmemif_doc.html . everything works fine. My question is how to connect 2 containers where the container image is a common image [not necessarily libmemif-sample-service] ? what to install ? how to create the memif