Re: [vpp-dev] Load balancer plugin for VPP

2017-10-19 Thread Pierre Pfister (ppfister)
Hello !

Great that you managed to answer your prior questions.
Did you see this little doc: https://docs.fd.io/vpp/16.12/lb_plugin_doc.html 
(Not very thorough, but it should help).

LB does not require specific NIC. The fact that the lb plugin is loaded does 
not interfere with the NICs.
You should look at DPDK's configuration in startup.conf file (uncomment and 
fill the dpdk section).
Also make sure that the DPDK plugin is loaded (I wild guess based on your 
previous question might be that you moved the lb plugin into a different 
folder, and the dpdk plugin is not loaded by VPP).

"lb conf " is required to tell VPP which IPv4 source address 
to use when sending tunnelled packets.
Since there is no return traffic with Maglev, this address does not need to be 
one of VPP's addresses. But it should be properly routable toward VPP to not 
cause drops due to ingress-filtering.

Cheers,

- Pierre





Le 19 oct. 2017 à 04:34, John Wei 
> a écrit :

Hi Pierre,
Sorry for the spam, I made further progress and don't want to waste your time 
answering questions that I already found answer.
- Once I got lb pluging loaded properly, I was able to configure it using vppctl
Remaining questions:
- why I am got just "local0" device from "vppctl show int"? Does VPP LB require 
special NIC? How about DPDK?
-  Do I need to set "vppctl lb conf "? Should that be the IP 
of the host where VPP LB is run?

John


On Wed, Oct 18, 2017 at 6:08 PM, John Wei 
> wrote:
Hi Pierre,
I made further progress.
I did the "rpm -i vpp-plugins-17.07.01-release.x86_64.rpm", and got plugin 
installed.
I updated the /etc/vpp/startup.conf file, and how I can see plugins using 
"vppctl show plugins".
My questions remains are:
- how to configure lb and what is the syntax
- instead of load all the plugins in /usr/lib/vpp_plugins/, how to configure 
and load just one plugin?

John



On Wed, Oct 18, 2017 at 5:35 PM, John Wei 
> wrote:
Hi Pierre,
I was using "yum install vpp and vpp-lib" and there was no plugins.
Now I build the whole vpp source, including plugins, and added
plugin_path 
//vpp/extras/rpm/vpp-17.07.01/build-root/build-vpp-native/vpp/plugins
to /etc/vpp/startup.conf file. Then restarted vpp.service.
Now
- how to do know that VPP lb plugin is loaded
- I still cant find the "lb" command. I guess it is really not a command. But, 
where I need to add these "lb" configuration and what is the syntax?
- In the monitoring section, it mentioned "show lb, show lv vips, .." Are they 
subcommands for vppctl? I tried and it does not work.

John


On Tue, Oct 3, 2017 at 11:19 PM, Pierre Pfister (ppfister) 
> wrote:
Do you start VPP with the 'make run' command ?

It looks like the way you start VPP, it doesn't specify the righ plugins 
directory.
I'd suggest your try with adding "plugin_path " to 
VPP's command-line arguments.

- Pierre


Le 3 oct. 2017 à 20:40, John Wei 
> a écrit :

Pierre,
Thanks for the response.
I follow instructions to install VPP:
https://wiki.fd.io/view/VPP/Installing_VPP_binaries_from_packages
That gives me vpp utility. There is no lb command.
I did a build of vpp by follow the instructions below to build vpp on linux
https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Linux
I found "lb" in the plugins directory.

But, how to bring up vpp with lb plugin? I hoping to see some instructions that 
I can follow to try this VPP lb.

John


On Sun, Oct 1, 2017 at 11:55 PM, Pierre Pfister (ppfister) 
> wrote:
Hello John,

The LB plugin comes with VPP by default (no need for additional download, 
sources are in src/plugins/lb).

As far as instructions are concerned, I am afraid the link you pointed to is 
all there is for now.
But please ask if you feel like something in particular is missing.

- Pierre



Le 30 sept. 2017 à 00:07, John Wei 
> a écrit :

I saw a VPP Load Balancer mentioned in this document:

https://docs.fd.io/vpp/17.07/lb_plugin_doc.html

But, I did not see installation information.
Can someone point me to where I can get download and setup instructions?

Thanks
John

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev







___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] gerrit http authentication

2017-10-19 Thread Gabriel Ganne
Hi,


Unless I'm mistaken, it seems http authentication has been removed from gerrit.

It was useful to me, as I work in a company where any non-http traffic is 
blocked.


Do you think it's possible to restore it ?


Best regards,


--

Gabriel Ganne
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] gerrit http authentication

2017-10-19 Thread Dave Wallace

Gabriel,

Please send an email to helpd...@fd.io for infrastructure related 
issues.  I agree that http authentication should be supported.


Thanks,
-daw-

On 10/19/2017 4:13 AM, Gabriel Ganne wrote:


Hi,


Unless I'm mistaken, it seems http authentication has been removed 
from gerrit.


It was useful to me, as I work in a company where any non-http traffic 
is blocked.



Do you think it's possible to restore it ?


Best regards,


--

Gabriel Ganne



___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev


___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] memif container test crash

2017-10-19 Thread Fabien Thomas
Hello,

I’m currently testing container communication using memif.
My configuration is using single thread with the attached configuration.
Most of the time in the next few second host vpp crash with the back trace
below.
Very infrequently it works until restarted but I cannot find out why at the
moment.

Any ideas ?

Fabien

Program received signal SIGSEGV, Segmentation fault.
0x7fffb47c43aa in common_ring_mc_dequeue ()
   from
/home/fabient/vpp.git/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/dpdk_plugin.so
(gdb) bt
#0  0x7fffb47c43aa in common_ring_mc_dequeue ()
   from
/home/fabient/vpp.git/build-root/install-vpp_debug-native/vpp/lib64/vpp_plugins/dpdk_plugin.so
#1  0x7fffb4511e3d in rte_mempool_ops_dequeue_bulk (mp=0x7ffeae00a1c0,
obj_table=0x7fffb5e4a52c, n=1024)
at /usr/include/dpdk/rte_mempool.h:474
#2  0x7fffb451aa13 in __mempool_generic_get (cache=0x7ffeae01c400,
n=1024, obj_table=0x7fffb5e4a52c, mp=0x7ffeae00a1c0)
at /usr/include/dpdk/rte_mempool.h:1218
#3  rte_mempool_generic_get (flags=16, cache=0x7ffeae01c400, n=1024,
obj_table=0x7fffb5e4a52c, mp=0x7ffeae00a1c0)
at /usr/include/dpdk/rte_mempool.h:1256
#4  rte_mempool_get_bulk (n=1024, obj_table=0x7fffb5e4a52c,
mp=0x7ffeae00a1c0) at /usr/include/dpdk/rte_mempool.h:1289
#5  fill_free_list (vm=0x77b9e400 ,
fl=0x7fffb5d29100, min_free_buffers=1024)
at /home/fabient/vpp.git/build-data/../src/plugins/dpdk/buffer.c:193
#6  0x7fffb451b25f in alloc_from_free_list (vm=0x77b9e400
, free_list=0x7fffb5d29100,
alloc_buffers=0x7fffb5e4d7e0, n_alloc_buffers=1024) at
/home/fabient/vpp.git/build-data/../src/plugins/dpdk/buffer.c:277
#7  0x7fffb451b48b in dpdk_buffer_alloc (vm=0x77b9e400
, buffers=0x7fffb5e4d7e0, n_buffers=1024)
at /home/fabient/vpp.git/build-data/../src/plugins/dpdk/buffer.c:300
#8  0x7fffb30e569d in vlib_buffer_alloc (vm=0x77b9e400
, buffers=0x7fffb5e4d7e0, n_buffers=1024)
at /home/fabient/vpp.git/build-data/../src/vlib/buffer_funcs.h:260
#9  0x7fffb30e75a1 in memif_device_input_inline (vm=0x77b9e400
, node=0x7fffb5a237c0, frame=0x0,
mif=0x7fffb5e1c3b4, type=MEMIF_RING_S2M, qid=0,
mode=MEMIF_INTERFACE_MODE_ETHERNET)
at /home/fabient/vpp.git/build-data/../src/plugins/memif/node.c:263
#10 0x7fffb30e8489 in memif_input_fn (vm=0x77b9e400
, node=0x7fffb5a237c0, frame=0x0)
at /home/fabient/vpp.git/build-data/../src/plugins/memif/node.c:501
#11 0x778fd7a4 in dispatch_node (vm=0x77b9e400
, node=0x7fffb5a237c0, type=VLIB_NODE_TYPE_INPUT,
dispatch_state=VLIB_NODE_STATE_POLLING, frame=0x0,
last_time_stamp=1606590769588456)
at /home/fabient/vpp.git/build-data/../src/vlib/main.c:1011
#12 0x778ff521 in vlib_main_or_worker_loop (vm=0x77b9e400
, is_main=1)
at /home/fabient/vpp.git/build-data/../src/vlib/main.c:1519
#13 0x778fff85 in vlib_main_loop (vm=0x77b9e400
)
at /home/fabient/vpp.git/build-data/../src/vlib/main.c:1641
#14 0x779006a8 in vlib_main (vm=0x77b9e400 ,
input=0x7fffb5a20fb0)
at /home/fabient/vpp.git/build-data/../src/vlib/main.c:1793
#15 0x77966f76 in thread0 (arg=140737349542912) at
/home/fabient/vpp.git/build-data/../src/vlib/unix/main.c:568
#16 0x76177568 in clib_calljmp () at
/home/fabient/vpp.git/build-data/../src/vppinfra/longjmp.S:110
#17 0x7fffce90 in ?? ()
#18 0x779673c9 in vlib_unix_main (argc=52, argv=0x7fffe0e8)
at /home/fabient/vpp.git/build-data/../src/vlib/unix/main.c:631
#19 0x004080ea in main (argc=52, argv=0x7fffe0e8) at
/home/fabient/vpp.git/build-data/../src/vpp/vnet/main.c:207
(gdb)


Docker communication.pdf
Description: Binary data
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] gerrit http authentication

2017-10-19 Thread Luke, Chris
Just to be unambiguous for the archives, you mean HTTP authentication when 
pushing patches to Gerrit with Git, and not interactive browsing of the UI?

Chris.

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Gabriel Ganne
Sent: Thursday, October 19, 2017 4:13
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] gerrit http authentication


Hi,



Unless I'm mistaken, it seems http authentication has been removed from gerrit.

It was useful to me, as I work in a company where any non-http traffic is 
blocked.



Do you think it's possible to restore it ?



Best regards,



--

Gabriel Ganne
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] [FD.io Helpdesk #47101] No joy: ping6 gerrit.fd.io

2017-10-19 Thread Vanessa Valderrama via RT


$ ssh -6 -v -p29418 gerrit.fd.io
OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g  1 Mar 2016
debug1: Reading configuration data /users/dbarach/.ssh/config
debug1: /users/dbarach/.ssh/config line 5: Applying options for gerrit.fd.io
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to gerrit.fd.io [2604:e100:1:0:f816:3eff:fe7e:8731] port 
29418.
debug1: Connection established.
debug1: identity file /users/dbarach/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /users/dbarach/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /users/dbarach/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /users/dbarach/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /users/dbarach/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /users/dbarach/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /users/dbarach/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /users/dbarach/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.2
debug1: Remote protocol version 2.0, remote software version 
GerritCodeReview_2.14.4 (SSHD-CORE-1.4.0)
debug1: no match: GerritCodeReview_2.14.4 (SSHD-CORE-1.4.0)
debug1: Authenticating to gerrit.fd.io:29418 as 'dbarach'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: ecdh-sha2-nistp256
debug1: kex: host key algorithm: ssh-rsa
debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: 
none
debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: 
none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY


$ nc -6 -nv 2604:e100:1:0:f816:3eff:fe7e:8731 29418
Connection to 2604:e100:1:0:f816:3eff:fe7e:8731 29418 port [tcp/*] succeeded!
SSH-2.0-GerritCodeReview_2.14.4 (SSHD-CORE-1.4.0)


$ traceroute6 gerrit.fd.io
traceroute to dev.fd.io (2604:e100:1:0:f816:3eff:fe7e:8731) from 
2001:420:2c50:2014:66f6:9dff:fe7a:118, 30 hops max, 24 byte packets
 1  2001:420:2c50:2014::1 (2001:420:2c50:2014::1)  0.732 ms  0.351 ms  0.305 ms
 2  2001:420:2c50:2000::1 (2001:420:2c50:2000::1)  0.95 ms  0.573 ms  0.46 ms
 3  bxb22-cibb-gw1-ten1-5.cisco.com (2001:420:2c40:f::)  0.897 ms  0.813 ms  
0.747 ms
 4  bxb23-sbb-gw1-ten1-7.cisco.com (2001:420:2c40:33::)  0.881 ms  0.847 ms  
0.708 ms
 5  bxb22-rbb-gw1-ten1-7.cisco.com (2001:420:2c40:b::1)  0.832 ms  0.754 ms  
0.707 ms
 6  2001:420:c000:454:: (2001:420:c000:454::)  0.56 ms  0.577 ms  0.526 ms
 7  capnet-rtp10-bxb25-10ge.cisco.com (2001:420:c000:135::1)  21.136 ms  21.182 
ms  21.061 ms
 8  rtp10-cd-rbb-gw1-por20.cisco.com (2001:420:c000:401::1)  21.016 ms  21.026 
ms  20.999 ms
 9  rpt10-corp-gw1-ten0-1-0.cisco.com (2001:420:2001:11e::)  21.107 ms  21.109 
ms  21.051 ms
10  rtp10-cd-dmzbb-gw1-vla777.cisco.com (2001:420:2040:d::6)  21.575 ms  21.331 
ms  21.244 ms
11  rtp10-cd-isp-gw1-ten0-0-0.cisco.com (2001:420:2040:5::)  66.238 ms  47.285 
ms  48.875 ms
12  2001:1890:c00:7401::ee6e:5239 (2001:1890:c00:7401::ee6e:5239)  22.615 ms  
22.196 ms  22.176 ms
13  rlgnc22crs.ipv6.att.net (2001:1890:ff::12:123:138:162)  33.943 ms  
34.681 ms  31.996 ms
14  wswdc21crs.ipv6.att.net (2001:1890:ff::12:122:2:190)  34.221 ms  31.865 
ms  31.968 ms
15  wswdc401igs.ipv6.att.net (2001:1890:ff::12:122:113:37)  32.893 ms  
34.639 ms  31.971 ms
16  att-gw.wswdc.tinet.net (2001:1890:1fff:20f:192:205:37:194)  30.417 ms  
32.166 ms  30.514 ms
17  xe-7-3-0.cr0-mtl1.ip6.gtt.net (2001:668:0:2::1:4452)  48.912 ms  48.865 ms  
48.824 ms
18  2001:668:0:3::0:adcd:2f2e (2001:668:0:3::0:adcd:2f2e)  48.897 ms  
48.851 ms  48.757 ms
19  2605:9000:0:f3f::3 (2605:9000:0:f3f::3)  48.861 ms  51.709 ms  48.73 ms
20  2605:9000:0:100::1 (2605:9000:0:100::1)  50.773 ms  48.931 ms  51.24 ms
21  2605:9000:400:107::c (2605:9000:400:107::c)  48.992 ms  48.933 ms  48.864 ms
22  * * *
^C

Thanks… Dave

-Original Message-
From: Vanessa Valderrama [mailto:vvalderr...@linuxfoundation.org] 
Sent: Thursday, October 19, 2017 1:37 PM
To: Dave Barach (dbarach) 
Subject: Re: TSC meeting

Dave can you please try the following and send the output?

ssh -6 -v -p29418 gerrit.fd.io
nc -6 -nv 2604:e100:1:0:f816:3eff:fe7e:8731 29418
traceroute6 gerrit.fd.io


On 10/19/2017 10:38 AM, Dave Barach (dbarach) wrote:
> $ git clone ssh://gerrit.fd.io:29418/vpp foo
> Cloning into 'foo'...
> 
>
> ssh never connects. Sshd is probably not listening on AF_INET6, port 22. 
> Suggest "netstat -ln" or similar...
>
> Ip6 connectivity is OK: 
>
> $ ping6 gerrit.fd.io
> PING 

Re: [vpp-dev] gerrit http authentication

2017-10-19 Thread John Lo (loj)
Yes, I can confirm using LF password does work while https password failed.  
-John

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Andrew Yourtchenko
Sent: Thursday, October 19, 2017 1:29 PM
To: Luke, Chris 
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] gerrit http authentication

I got a reply from Vanessa on my ticket - apparently after upgrade the Linux 
foundation password should work... I will test tomorrow but sending mail here 
in case anyone else is interested to try before that.
--a

On 19 Oct 2017, at 16:14, Luke, Chris 
> wrote:
…and certainly not on port != 22.

Chris.

From: Andrew Yourtchenko [mailto:ayour...@gmail.com]
Sent: Thursday, October 19, 2017 9:16
To: Gabriel Ganne >
Cc: Luke, Chris 
>; 
vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] gerrit http authentication

I sent the mail to help desk, which opened the ticket 47239. Not sure if there 
is a way to “pile up” a “me too” it’s pretty much a showstopper for me, 
since same as Gabriel - not all of the environments allow SSH...
--a

On 19 Oct 2017, at 13:56, Gabriel Ganne 
> wrote:

Yes, I do.

Pulling works fine, only the review action is an issue.



This is what shoud correspond to (previously) "HTTP Password" in the gerrit 
settings menu.

The gerrit link seems to be still active : 
https://gerrit.fd.io/r/#/settings/http-password

However, the functionnality itself is deactivated



--

Gabriel Ganne


From: Luke, Chris >
Sent: Thursday, October 19, 2017 1:50:30 PM
To: Gabriel Ganne; vpp-dev@lists.fd.io
Subject: RE: gerrit http authentication

Just to be unambiguous for the archives, you mean HTTP authentication when 
pushing patches to Gerrit with Git, and not interactive browsing of the UI?

Chris.

From: vpp-dev-boun...@lists.fd.io 
[mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Gabriel Ganne
Sent: Thursday, October 19, 2017 4:13
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] gerrit http authentication


Hi,



Unless I'm mistaken, it seems http authentication has been removed from gerrit.

It was useful to me, as I work in a company where any non-http traffic is 
blocked.



Do you think it's possible to restore it ?



Best regards,



--

Gabriel Ganne
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] gerrit http authentication

2017-10-19 Thread Andrew Yourtchenko
I sent the mail to help desk, which opened the ticket 47239. Not sure if there 
is a way to “pile up” a “me too” it’s pretty much a showstopper for me, 
since same as Gabriel - not all of the environments allow SSH...

--a

> On 19 Oct 2017, at 13:56, Gabriel Ganne  wrote:
> 
> Yes, I do.
> 
> Pulling works fine, only the review action is an issue.
> 
> This is what shoud correspond to (previously) "HTTP Password" in the gerrit 
> settings menu.
> 
> The gerrit link seems to be still active : 
> https://gerrit.fd.io/r/#/settings/http-password
> 
> However, the functionnality itself is deactivated
> 
> --
> Gabriel Ganne
> From: Luke, Chris 
> Sent: Thursday, October 19, 2017 1:50:30 PM
> To: Gabriel Ganne; vpp-dev@lists.fd.io
> Subject: RE: gerrit http authentication
>  
> Just to be unambiguous for the archives, you mean HTTP authentication when 
> pushing patches to Gerrit with Git, and not interactive browsing of the UI?
>  
> Chris.
>  
> From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
> Behalf Of Gabriel Ganne
> Sent: Thursday, October 19, 2017 4:13
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] gerrit http authentication
>  
> Hi,
> 
>  
> 
> Unless I'm mistaken, it seems http authentication has been removed from 
> gerrit.
> 
> It was useful to me, as I work in a company where any non-http traffic is 
> blocked.
> 
>  
> 
> Do you think it's possible to restore it ?
> 
>  
> 
> Best regards,
> 
>  
> 
> --
> 
> Gabriel Ganne
> 
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Load balancer plugin for VPP

2017-10-19 Thread John Wei
Hi Pierre,
Thanks for the info, I was able to bring up the VPP LB node, with 3 backend
servers. I used ping and telnet to verify that backend servers can be
reached using telnet or ping on the VPP LB node. I'll deal with DPDK later.
Then I tried to do the same thing on a client, VPP LB node got the request,
but did not perform the forwarding to backend server.
Below are the relevant information, let me know if you can see where did I
do wrong.

VIP is on 10.99.99.0/24 network

VPP LB Client:
 10.145.207.151
  I have setup route to reach VIP subnet through VPP LB node
ip route add ${VIP}/24 dev eth0
  eth0 is on 10.145.207.0 (both client, VPP LB, and backend servers are
all on this subnet)
VPP LB
10.145.207.166
 lb conf ip4-src-address 10.145.207.1 timeout 10

 # configure VIP
 lb vip ${VIP}/24 encap gre4 new_len 1024

 # 3 backend servers
 lb as ${VIP}/24 10.145.207.141
 lb as ${VIP}/24 10.145.207.142
 lb as ${VIP}/24 10.145.207.168

On backend servers (141, 142, 168)
In addition to its own host IP. I have one of the VIP (10.99.99.101)
configured on dummy device.

As mentioned, on VPP LB node, I can telnet or ping 10.99.99.101. But, I was
not able to do that on the client node.
On the VPP LB node, I used "tcpdump -n -i eth0 port 23" and can see the
income request from 10.145.207.151, wanting to reach 10.99.99.101.
But. no further response.
I wonder why VPP LB is not doing the forwarding from request coming from
the outside the node?

John









On Wed, Oct 18, 2017 at 11:40 PM, Pierre Pfister (ppfister) <
ppfis...@cisco.com> wrote:

> Hello !
>
> Great that you managed to answer your prior questions.
> Did you see this little doc: https://docs.fd.io/vpp/
> 16.12/lb_plugin_doc.html (Not very thorough, but it should help).
>
> LB does not require specific NIC. The fact that the lb plugin is loaded
> does not interfere with the NICs.
> You should look at DPDK's configuration in startup.conf file (uncomment
> and fill the dpdk section).
> Also make sure that the DPDK plugin is loaded (I wild guess based on your
> previous question might be that you moved the lb plugin into a different
> folder, and the dpdk plugin is not loaded by VPP).
>
> "lb conf " is required to tell VPP which IPv4 source
> address to use when sending tunnelled packets.
> Since there is no return traffic with Maglev, this address does not need
> to be one of VPP's addresses. But it should be properly routable toward VPP
> to not cause drops due to ingress-filtering.
>
> Cheers,
>
> - Pierre
>
>
>
>
>
> Le 19 oct. 2017 à 04:34, John Wei  a écrit :
>
> Hi Pierre,
> Sorry for the spam, I made further progress and don't want to waste your
> time answering questions that I already found answer.
> - Once I got lb pluging loaded properly, I was able to configure it using
> vppctl
> Remaining questions:
> - why I am got just "local0" device from "vppctl show int"? Does VPP LB
> require special NIC? How about DPDK?
> -  Do I need to set "vppctl lb conf "? Should that be the
> IP of the host where VPP LB is run?
>
> John
>
>
> On Wed, Oct 18, 2017 at 6:08 PM, John Wei  wrote:
>
>> Hi Pierre,
>> I made further progress.
>> I did the "rpm -i vpp-plugins-17.07.01-release.x86_64.rpm", and got
>> plugin installed.
>> I updated the /etc/vpp/startup.conf file, and how I can see plugins using
>> "vppctl show plugins".
>> My questions remains are:
>> - how to configure lb and what is the syntax
>> - instead of load all the plugins in /usr/lib/vpp_plugins/, how to
>> configure and load just one plugin?
>>
>> John
>>
>>
>>
>> On Wed, Oct 18, 2017 at 5:35 PM, John Wei  wrote:
>>
>>> Hi Pierre,
>>> I was using "yum install vpp and vpp-lib" and there was no plugins.
>>> Now I build the whole vpp source, including plugins, and added
>>> plugin_path //vpp/extras/rpm/vpp-17.07.01/build-root/build-vpp
>>> -native/vpp/plugins
>>> to /etc/vpp/startup.conf file. Then restarted vpp.service.
>>> Now
>>> - how to do know that VPP lb plugin is loaded
>>> - I still cant find the "lb" command. I guess it is really not a
>>> command. But, where I need to add these "lb" configuration and what is the
>>> syntax?
>>> - In the monitoring section, it mentioned "show lb, show lv vips, .."
>>> Are they subcommands for vppctl? I tried and it does not work.
>>>
>>> John
>>>
>>>
>>> On Tue, Oct 3, 2017 at 11:19 PM, Pierre Pfister (ppfister) <
>>> ppfis...@cisco.com> wrote:
>>>
 Do you start VPP with the 'make run' command ?

 It looks like the way you start VPP, it doesn't specify the righ
 plugins directory.
 I'd suggest your try with adding "plugin_path
 " to VPP's command-line arguments.

 - Pierre


 Le 3 oct. 2017 à 20:40, John Wei  a écrit :

 Pierre,
 Thanks for the response.
 I follow instructions to install VPP:
 

Re: [vpp-dev] gerrit http authentication

2017-10-19 Thread Andrew Yourtchenko
I got a reply from Vanessa on my ticket - apparently after upgrade the Linux 
foundation password should work... I will test tomorrow but sending mail here 
in case anyone else is interested to try before that.

--a

> On 19 Oct 2017, at 16:14, Luke, Chris  wrote:
> 
> …and certainly not on port != 22.
>  
> Chris.
>  
> From: Andrew Yourtchenko [mailto:ayour...@gmail.com] 
> Sent: Thursday, October 19, 2017 9:16
> To: Gabriel Ganne 
> Cc: Luke, Chris ; vpp-dev@lists.fd.io
> Subject: Re: [vpp-dev] gerrit http authentication
>  
> I sent the mail to help desk, which opened the ticket 47239. Not sure if 
> there is a way to “pile up” a “me too” it’s pretty much a showstopper for 
> me, since same as Gabriel - not all of the environments allow SSH...
> 
> --a
> 
> On 19 Oct 2017, at 13:56, Gabriel Ganne  wrote:
> 
> Yes, I do.
> 
> Pulling works fine, only the review action is an issue.
> 
>  
> 
> This is what shoud correspond to (previously) "HTTP Password" in the gerrit 
> settings menu.
> 
> The gerrit link seems to be still active : 
> https://gerrit.fd.io/r/#/settings/http-password
> 
> However, the functionnality itself is deactivated
> 
>  
> 
> --
> 
> Gabriel Ganne
> 
> From: Luke, Chris 
> Sent: Thursday, October 19, 2017 1:50:30 PM
> To: Gabriel Ganne; vpp-dev@lists.fd.io
> Subject: RE: gerrit http authentication
>  
> Just to be unambiguous for the archives, you mean HTTP authentication when 
> pushing patches to Gerrit with Git, and not interactive browsing of the UI?
>  
> Chris.
>  
> From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
> Behalf Of Gabriel Ganne
> Sent: Thursday, October 19, 2017 4:13
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] gerrit http authentication
>  
> Hi,
> 
>  
> 
> Unless I'm mistaken, it seems http authentication has been removed from 
> gerrit.
> 
> It was useful to me, as I work in a company where any non-http traffic is 
> blocked.
> 
>  
> 
> Do you think it's possible to restore it ?
> 
>  
> 
> Best regards,
> 
>  
> 
> --
> 
> Gabriel Ganne
> 
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev