Re: [vpp-dev] Requirement on Load Balancer plugin for VPP

2017-04-25 Thread Pierre Pfister (ppfister)
Hello all, As mentioned by Ed, introducing return traffic would dramatically reduce the performance of the solution. -> Return traffic typically consists of data packets, whereas forward traffic mostly consists of ACKs. So you will have to have significantly more LB boxes if you want to support

Re: [vpp-dev] Requirement on Load Balancer plugin for VPP

2017-04-25 Thread Ni, Hongjun
Hi Pierre, For LB distribution case, I think we could assign a node IP for each LB box. When received packets from client, LB will do both SNAT and DNAT. i.e. source IP -> LB’s Node IP, destination IP -> AS’s IP. When returned packets from AS, LB also do both DNAT and SNAT. i.e. source IP -> AS’

Re: [vpp-dev] five tuple nat

2017-04-25 Thread otroan
Ewan, > Do we have any plan to surpport five tuple nat like linux kernel? That should already be supported in the SNAT plugin. https://wiki.fd.io/view/VPP/SNAT Best regards, Ole signature.asc Description: Message signed with OpenPGP ___ vpp-dev mail

Re: [vpp-dev] Requirement on Load Balancer plugin for VPP

2017-04-25 Thread Pierre Pfister (ppfister)
Le 25 avr. 2017 à 09:52, Ni, Hongjun mailto:hongjun...@intel.com>> a écrit : Hi Pierre, For LB distribution case, I think we could assign a node IP for each LB box. When received packets from client, LB will do both SNAT and DNAT. i.e. source IP -> LB’s Node IP, destination IP -> AS’s IP. When

Re: [vpp-dev] How can I get API messages IDs?

2017-04-25 Thread otroan
Hi, > Every API message has a ID number, where can I get the specific number? The API client gets the message dictionary on connect. The message ID numbers depend on the plugins loaded and so on. There is an API where you can map name to ID. vppapiclient.h: int vac_get_msg_index(unsigned char

Re: [vpp-dev] Requirement on Load Balancer plugin for VPP

2017-04-25 Thread Zhou, Danny
Thanks Pierre, comments inline. From: Pierre Pfister (ppfister) [mailto:ppfis...@cisco.com] Sent: Tuesday, April 25, 2017 4:11 PM To: Ni, Hongjun Cc: Zhou, Danny ; Ed Warnicke ; Li, Johnson ; vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Requirement on Load Balancer plugin for VPP Le 25 avr. 2017

Re: [vpp-dev] vpp_papi: No such message type or failed CRC checksum

2017-04-25 Thread otroan
Hi, This means that you give the Python API a JSON definition for an API message not available on the running VPP instance. That might be caused by a plugin not loaded, version mismatch... Best regards, Ole > When I try to connect vpp using python api, it shows the debug messages. > > My codes

Re: [vpp-dev] How can I get API messages IDs?

2017-04-25 Thread Weitao Han
Thank you! I'm using Python binding for the VPP API. I want to receive some asynchronous messages and use the register_event_callback to register a papi_event_handler, just like wiki Python Language Binding does. But I dont know how to distinguish what kin

Re: [vpp-dev] How can I get API messages IDs?

2017-04-25 Thread otroan
Weitao, > I'm using Python binding for the VPP API. I want to receive some asynchronous > messages and use the register_event_callback to register a > papi_event_handler, just like wiki Python Language Binding does. > > But I dont know how to distinguish what kind of messages I received > asyn

Re: [vpp-dev] An issue about SNAT when using different in and out interfaces

2017-04-25 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
Hi Hongjun, What is your full vpp config? There should be route or something like this, so vpp knows where to destine 10.10.23.46 packets. I've tried some older versions and without "ip route add 10.10.23.0/24 via GigabitEthernet0/a/0" it doesn't work too. Regards, Matus From: Ni, Hongjun [mai

Re: [vpp-dev] vpp_papi: No such message type or failed CRC checksum

2017-04-25 Thread Weitao Han
Hi, I installed vpp 17.04 release in a new clean ubuntu 16.04 server, except that, I did nothing. When I first connect vpp using python api, the terminal show those DEBUG messages. Is this phenomenon right? Best regards, Weitao Han 2017-04-25 16:47 GMT+08:00 : > Hi, > > This means that you g

[vpp-dev] vpp gerrit 6387 virl sim start failure

2017-04-25 Thread Dave Barach (dbarach)
Please see https://gerrit.fd.io/r/#/c/6387. Any idea why this happened? 13:06:41 + VIRL_SID[${index}]='ERROR: Simulation started OK but devices never changed to ACTIVE state 13:06:41 Last VIRL response: 13:06:41 {u'\''session-OYbjfr'\'': {u'\''~mgmt-lxc'\'': {u'\''vnc-console'\'': False, u'\''s

Re: [vpp-dev] Requirement on Load Balancer plugin for VPP

2017-04-25 Thread Li, Johnson
Hi Ed, The main concern from my point is that the challenge for the application server and the Management system, too. For Maglev, the backend AS doesn’t only need to de-capsulate the GRE tunneling header, It also need to handle the VIP. Adding the GRE tunneling decreases the performance absolut

Re: [vpp-dev] Requirement on Load Balancer plugin for VPP

2017-04-25 Thread Thomas F Herbert
On 04/25/2017 04:45 AM, Zhou, Danny wrote: Thanks Pierre, comments inline. *From:*Pierre Pfister (ppfister) [mailto:ppfis...@cisco.com] *Sent:* Tuesday, April 25, 2017 4:11 PM *To:* Ni, Hongjun *Cc:* Zhou, Danny ; Ed Warnicke ; Li, Johnson ; vpp-dev@lists.fd.io *Subject:* Re: [vpp-dev] Re

Re: [vpp-dev] Requirement on Load Balancer plugin for VPP

2017-04-25 Thread Zhou, Danny
From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Thomas F Herbert Sent: Tuesday, April 25, 2017 10:01 PM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Requirement on Load Balancer plugin for VPP On 04/25/2017 04:45 AM, Zhou, Danny wrote: Thanks Pierre, com

Re: [vpp-dev] some problem about sub-interface

2017-04-25 Thread Damjan Marion
> On 24 Apr 2017, at 12:43, 薛欣颖 wrote: > > Hi guys, > I created a host-interface and a sub-interface, when I created bridge on > sub-interface, the two sub-interface can not communicate. Another L3 ARP can > not be normal learning. > > Any else seeing this problem? > > Do vpp support this f

Re: [vpp-dev] Requirement on Load Balancer plugin for VPP

2017-04-25 Thread Ed Warnicke
Hongjun, Thinking it through a bit, there are *many* different approaches to load balancers. I would suggest if you want to support a different one, then starting a new plugin for it may be a good move :) Ed On Mon, Apr 24, 2017 at 8:04 PM, Ni, Hongjun wrote: > Hi Ed, > > > > Thanks for your

[vpp-dev] VPP and VXLAN tunnels

2017-04-25 Thread Patricio Latini
Hi, First of all i would like to apologize if this is not the right forum to post this question, and if so if you could please redirect me to the right one. I have been working in my lab to test Opendaylight+honeycomb+vpp as a sopporting network infrastructure for Openstack. I have got

[vpp-dev] OpenStack networking-vpp 17.04 released

2017-04-25 Thread Jerome Tollet (jtollet)
Dear FD.io community, The new version of networking-vpp, the OpenStack Neutron ML2 driver for VPP 17.04 has been released today. This version contains significant evolutions including: -VXLAN-GPE support to setup overlay -Layer 3 (Neutron routers) with full support of ipv6, floating ip and SNAT. -

Re: [vpp-dev] VPP and VXLAN tunnels

2017-04-25 Thread Patricio Latini
Well doing a REST on honeycomb of the interfaces list it seems that the problem is related to get the interface list as there seems to be a problem with vpp reusing the indexes (1 in this case) for all the interfaces. looking in jira i found a resolved bug https://jira.fd.io/browse/HONEYCOMB-220

Re: [vpp-dev] Requirement on Load Balancer plugin for VPP

2017-04-25 Thread Ni, Hongjun
Hi Pierre, Thank you for giving some helpful choices. For newly created network, the first choice is a good one, because it is flexible and scalable. For legacy AS case, we intend to adopt the second solution. Thanks a lot, Hongjun From: Pierre Pfister (ppfister) [mailto:ppfis...@cisco.com] Se

Re: [vpp-dev] Requirement on Load Balancer plugin for VPP

2017-04-25 Thread Ni, Hongjun
Hi Ed, Good idea. We will give it a try. Thanks, Hongjun From: Ed Warnicke [mailto:hagb...@gmail.com] Sent: Wednesday, April 26, 2017 12:04 AM To: Ni, Hongjun Cc: vpp-dev@lists.fd.io; Li, Johnson Subject: Re: [vpp-dev] Requirement on Load Balancer plugin for VPP Hongjun, Thinking it through

Re: [vpp-dev] An issue about SNAT when using different in and out interfaces

2017-04-25 Thread Ni, Hongjun
Hi Matus, Yes. You are right. The root cause is the lack of IP address in nsh_tunnel1. When I configured ip address for nsh_tunnel1, it works well. DBGvpp# sh ip fib ipv4-VRF:0, fib_index 0, flow hash: src dst sport dport proto 10.0.35.2/32 unicast-ip4-chain [@0]: dpo-load-balance: [index:16

Re: [vpp-dev] VPP and VXLAN tunnels

2017-04-25 Thread Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)
Hi, not sure if vbd master/carbon works with honeycomb 17.01. Please try it with vpp 17.04 and honeycomb 17.04-RC2. In case of issues please attach full honeycomb log. Moving thread to hc2vpp-dev. Regards, Marek From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On

[vpp-dev] build on ubuntu 14.04.1 failed

2017-04-25 Thread yug...@telincn.com
Hey, Here is my compile errors, any guides? root@ubuntu:/usr/vpp/vpp# git checkout v17.04 root@ubuntu:/usr/vpp/vpp# make install-dep Fetched 4,223 kB in 1min 20s (52.8 kB/s) W: Failed to fetch bzip2:/var/lib/apt/lists/partial/ppa.launchpad.net_openjdk-r_ppa_ubuntu_dists_trusty_main_binary-amd64_